coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: n704fn on December 31, 2004, 02:12:33 AM

Title: Upload file size
Post by: n704fn on December 31, 2004, 02:12:33 AM
PHP max upload set to 8M
CPG max upload set to 8M
Can upload files in the 1-2M range, but when uploading 6.5M, says 0 files uploaded. No errors with XP publishing, but files do not show up.  I speak of video files btw. All file types have previously been uploaded succsesfully.  Any ideas?

Many thanks.

edit:  I believe all sticky suggestions have been taken into account.
Title: Re: Upload file size
Post by: kegobeer on December 31, 2004, 02:25:26 AM
Check your tmp folder - if it's full, empty it.  You can also ask your host if there's a max size that your tmp directory will handle.  You might also want to increase your php max upload a bit more.  Also look at max_execution_time and increase it from 30 to 60.
Title: Re: Upload file size
Post by: n704fn on December 31, 2004, 02:35:20 AM
max_execution_time is at 60. Tmp file is fine. I'm hosting this small site myself for now, so I have full control.  After changing upload size restrictions I can still upload a 2M file, but not the 6.5M.  Have changed the upload size to 150M just to be sure.  Am I missing something obvious? Any other suggestions?

Thanks for the help
Title: Re: Upload file size
Post by: kegobeer on December 31, 2004, 02:45:54 AM
Do you have a htaccess file with LimitRequestBody in it?

EDIT:  Sorry, I meant a httpd/conf.d/php.conf file.
Title: Re: Upload file size
Post by: n704fn on December 31, 2004, 02:52:31 AM
No, I don't.  FWIW, I'm running Win2003 Server with PHP 4.3.9 (haven't upgraded yet).  I was under the impression that htaccess files weren't used in a windows environment.  Is that not true?

EDIT: I am a complete dumbass.  Didn't reboot after changing php.ini.  Thank you VERY much for your help.  Is httpd/conf.d/php.conf file something I need to learn about?  I'm not familiar with it.
Title: Re: Upload file size
Post by: kegobeer on December 31, 2004, 05:54:26 AM
I didn't know what webserver OS you were running, so I assumed Apache.  htaccess and httpd.conf are Apache files.
Title: Re: Upload file size
Post by: Joachim Müller on December 31, 2004, 06:43:45 AM
...in fact .htaccess is a Lunix file ;)

Joachim
Title: Re: Upload file size
Post by: kegobeer on December 31, 2004, 07:58:28 AM
Whoops.   ;D  Hey, give a guy a break, it's really late here!