Uploading files

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.
Post Reply
utsgsec
New Member
New Member
Posts: 2
Joined: Thu Dec 05, 2013 11:48 am

Uploading files

Post 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.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Uploading files

Post by staartmees »

Take a look in the System Information, there you'll find upload_max_filesize
utsgsec
New Member
New Member
Posts: 2
Joined: Thu Dec 05, 2013 11:48 am

Re: Uploading files

Post by utsgsec »

Thanks v much, doesn't look like it can be edited
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Uploading files

Post by staartmees »

No but there you can find the file upload limit.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Uploading files

Post 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.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Post Reply

Return to “CMSMS Core”