forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Keeper06 on February 07, 2006, 10:04:10 pm

Title: Large File Upload
Post by: Keeper06 on February 07, 2006, 10:04:10 pm
Hello,

I have been banging my head against the wall trying to figure out why I can't upload a larger file.  PHP keeps reporting a negative integer in the [MAX_FILE_SIZE] => -1819869184 and I have played with all the php.ini settings I can find.

If you have the opportunity take a look, I have the debug turned on:

http://mackenzie.unity-mt.com

user: test
pwd: test

Thanks for any input.
Title: Re: Large File Upload
Post by: Nibbler on February 07, 2006, 10:10:26 pm
What have you set the filesize limit to in config ? You will have problems if you set it absurdly high.
Title: Re: Large File Upload
Post by: Keeper06 on February 07, 2006, 10:12:53 pm
I have it set to 8M

Title: Re: Large File Upload
Post by: Nibbler on February 07, 2006, 10:14:45 pm
You have it set to 15 gigabytes.
Title: Re: Large File Upload
Post by: Keeper06 on February 07, 2006, 10:21:09 pm
Forgive my ignorance all the settings we are talking about are in php.ini correct? If so the only lines I have changed are:

memory_limit = 8M
post_max_size = 6M
upload_max_filesize = 8M

I was trying to follow the FAQ and I have tried so many combinations I may have blown the config to shreds.

Thanks for the quick replies.


Title: Re: Large File Upload
Post by: Nibbler on February 07, 2006, 10:45:59 pm
Look on Coppermine's config page for the setting 'Max size for uploaded files'.
Title: Re: Large File Upload
Post by: Keeper06 on February 07, 2006, 10:55:34 pm
I ended up setting it to 5000000 which fixed the problem, thanks for the help...