Upload file size Upload file size
 

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

Upload file size

Started by n704fn, December 31, 2004, 02:12:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

n704fn

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.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.thechouinards.com%2Fcfetch%2Fcfig_random.php&hash=562ee9e4ceefcfa4cca83d45f784b926a8235733)

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

n704fn

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
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.thechouinards.com%2Fcfetch%2Fcfig_random.php&hash=562ee9e4ceefcfa4cca83d45f784b926a8235733)

kegobeer

Do you have a htaccess file with LimitRequestBody in it?

EDIT:  Sorry, I meant a httpd/conf.d/php.conf file.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

n704fn

#4
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.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.thechouinards.com%2Fcfetch%2Fcfig_random.php&hash=562ee9e4ceefcfa4cca83d45f784b926a8235733)

kegobeer

I didn't know what webserver OS you were running, so I assumed Apache.  htaccess and httpd.conf are Apache files.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

...in fact .htaccess is a Lunix file ;)

Joachim

kegobeer

Whoops.   ;D  Hey, give a guy a break, it's really late here!
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots