News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

File size issue

Started by JamesonHsu, July 02, 2004, 09:53:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JamesonHsu

I've set my "Max size for uploaded files (KB)" option to 5120 so that I can theoretically upload files up to 5Mb.  However, when I try to upload any file over 2Mb nothing gets uploaded.  That led me to run the system in debug mode and I noticed the following information:

==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M


Why does the "upload_max_filesize" option say 2M when I've increased it to 5M?

Thanks,

Jameson

Joachim Müller

You set the max filesize in coppermine to 5 MB, but the restrictions on your system apply: the output you saw in debug_mode come from the settings in php.ini!
If you're webhosted, you can't change them. If you're self-hosted, edit your php.ini file accordingly. This is all being described in detail on the sticky thread General Upload Troubleshooting on the very sub-board you posted in, so my advice is: read all stickies before posting, and search the board before actually posting!

GauGau