coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Carlos5039 on October 05, 2007, 03:26:41 AM

Title: Can't Add Files to Coppermine that are over 2.1GB
Post by: Carlos5039 on October 05, 2007, 03:26:41 AM
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
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Joachim Müller on October 05, 2007, 06:58:31 AM
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.
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Carlos5039 on October 06, 2007, 01:37:56 AM
Actually, I tried several different settings, before I wanted to try maxing it out.  Nothing worked.  Thanks
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Joachim Müller on October 06, 2007, 08:03:32 AM
Why do you want to add 2 GB files in the first place?
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Carlos5039 on October 07, 2007, 02:00:28 AM
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.
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Joachim Müller on October 07, 2007, 09:34:23 AM
So there's not even a checkbox in front of them?
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Carlos5039 on October 10, 2007, 07:32:00 PM
No checkbox, and they are not even listed.
Title: Re: Can't Add Files to Coppermine that are over 2.1GB
Post by: Joachim Müller on October 11, 2007, 07:46:28 AM
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.