Can't Add Files to Coppermine that are over 2.1GB Can't Add Files to Coppermine that are over 2.1GB
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Can't Add Files to Coppermine that are over 2.1GB

Started by Carlos5039, October 05, 2007, 03:26:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Carlos5039

I have a Linux home server, no need for FTP, transferred several movies to host for my entertainment PC.  Using the Batch add process, I can't add any files that are lager than ~2.1GB.  I have changed the setting inside of coppermine for max uploading to 400000000000000000000000000000000000, with no results.  Can Coppermine handle these larger files? So far the largest file coppermine will add to an album is ~2GB.  If coppemine can handle more, how do I make the scripts see the larger files? :'(

Current Configurations:
Coppermine Version 1.4.13
Linux linux 2.6.9-55.0.9.ELsmp #1 SMP Thu Sep 27 18:27:41 EDT 2007 i686
Apache 2.0 Handler 
MySQL 4.1.20

Joachim Müller

Quote from: Carlos5039 on October 05, 2007, 03:26:41 AM
Using the Batch add process, I can't add any files that are lager than ~2.1GB.
Depends on the file type: image or multimedia file? Images are being processed, multimedia files not. I can't imagine that a 2 GB file should make sende.

Quote from: Carlos5039 on October 05, 2007, 03:26:41 AMI have changed the setting inside of coppermine for max uploading to 400000000000000000000000000000000000, with no results.
Don't use nonsense-settings: 4 x 10^38 Bytes equals 4 x 10^29 GB. That's more space than all hard drives on all webservers on the internet have.

Quote from: Carlos5039 on October 05, 2007, 03:26:41 AMCan Coppermine handle these larger files?
Theoretically, there's no limit.
Quote from: Carlos5039 on October 05, 2007, 03:26:41 AMSo far the largest file coppermine will add to an album is ~2GB.
Doesn't make sense at all.

Carlos5039

Actually, I tried several different settings, before I wanted to try maxing it out.  Nothing worked.  Thanks

Joachim Müller

Why do you want to add 2 GB files in the first place?

Carlos5039

I have converted my DVD Collection to Divx, and it is much easier to select from a website, then searching through the files.  Coppermine is perfect for that.  My only problem is some files are 2.1GB and higher.  I am using the batch add process, and it sees the files there,  but it won't allow me to add them at the confirmation screen, it ignores them.

Joachim Müller

So there's not even a checkbox in front of them?

Carlos5039


Joachim Müller

Hm, I don't have files on my Linux testbox that are nearly the size, so I can't check. This is not done by Coppermine though: Coppermine uses PHP's file system functions to loop through the albums dir and list all files that match the scheme (i.e. that have a file extension that coppermine can handle). If it doesn't list the >2GB files, then the file system functions of PHP probably can't handle them. I have no advice what to do except manually adding them to the database (by directly entering them into the database using phpMyAdmin or similar). However, if PHP's file function has issues listing them, I'm not convinced that it will be capable to play them within coppermine.