File Manager file size issue

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
spoonicus

File Manager file size issue

Post by spoonicus »

I'm having an issue uploading a file using the File Manager. File size is 10.5MB. I have permissions 777 on my upload folder, $config['max_upload_size'] = 50000000; in my config.php, files < 10MB upload fine using File Manager.

Any file over 10MB gives me the error "File could not be uploaded. Permissions problem?". I have plenty of drive space.

Is this some kind of caching problem with config.php not reading the max upload size?
spoonicus

Re: File Manager file size issue

Post by spoonicus »

Problem solved. The value for upload_max_filesize in my host's php.ini was too low. At wishy's suggestion, I used an .htaccess file in doc root to override the php.ini values by adding the following two lines to my .htaccess file:

php_value post_max_size 128M
php_value upload_max_filesize 128M

Once I did this, I was able to upload fine using CMSMS File Manager.

NOTE: calguy1000 told me that his uploads module is also bound by this limitation, so if you run into a similar problem, something like this could help solve it.
Last edited by spoonicus on Mon Sep 19, 2005 6:05 pm, edited 1 time in total.
kishman155
Translator
Translator
Posts: 169
Joined: Sat Mar 12, 2005 12:30 pm

Re: File Manager file size issue

Post by kishman155 »

uploads over 10MB is critical,

Why you don't use ftp?

kishman155
Locked

Return to “CMSMS Core”