Page 1 of 1

Uploading files

Posted: Thu Dec 05, 2013 11:53 am
by utsgsec
Hi,
I'm trying to upload files (pdfs) on CMS to my website. When I submit I get logged out of the site and the files are not uploaded. Is there a size limit on file uploads and if so can it be edited. I want to upload files of up to 50MB in size.

Re: Uploading files

Posted: Thu Dec 05, 2013 12:43 pm
by staartmees
Take a look in the System Information, there you'll find upload_max_filesize

Re: Uploading files

Posted: Fri Dec 06, 2013 10:20 am
by utsgsec
Thanks v much, doesn't look like it can be edited

Re: Uploading files

Posted: Fri Dec 06, 2013 6:57 pm
by staartmees
No but there you can find the file upload limit.

Re: Uploading files

Posted: Sat Dec 07, 2013 8:56 am
by JohnnyB
You'll need to know the PHP settings for upload_max_filesize and post_max_size. Depending upon your server and your host company, you can modify the values.

If you have access to the server's php.ini file, it can be modified. Otherwise, you'll need to know if you can add a php.ini file into the same directory that CMSMS is installed or if you have to modify using .htaccess.

Then, something like this in a php.ini file:
upload_max_filesize = 64M
post_max_size = 64M

Or, something like this in .htaccess:
php_value upload_max_filesize 64M
php_value post_max_size 64M


Consult your server documentation and/or host tutorials.