Uploads

9 posts by 4 authors in: Forums > CMS Builder
Last Post: August 7, 2008   (RSS)

By dunlap - July 29, 2008

I setup a section where mp3 files could be uploaded. I did a test with a few files that were under 6MB.

I then set up something similar for a customer's site. Although I have set the permission to unlimited I cannot seem to upload larger files. I was able to ftp a file that was 45MB but no luck using CMS for a 9MB file. This customer has audio sermons that will be in the 15-40MB range. Can someone help?

Re: [dunlap] Uploads

By Dave - July 29, 2008

Hi dunlap,

Are you running the latest version? If so, can you click on "Show server upload limits" link below: Admin > General Settings > Upload Folder URL

That should show you your web hosts limits that you can ask your host change to allow for larger uploads.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Uploads

By dunlap - July 29, 2008

I'm running version 1.8 for the customer. I only saw a space between

the fields

upload folder url

Help (?) URL

Re: [Dave] Uploads

By dunlap - July 29, 2008

I'm running version 1.13 on my server. I also wanted to not that when it timed out it put the CMS start page in the window where I initially browsed for the upload. It did this in both versions.

Re: [dunlap] Uploads

By Dave - July 29, 2008

That link just displays upload limits. You can also try the phpinfo details with this url: admin.php?menu=admin&action=phpinfo

Or just download a phpinfo script and check these values:

file_uploads
max_input_time
post_max_size
upload_max_filesize

These will often tell you what restrictions you host has put on uploads. Sometimes you can change then by modifying a .htaccess or php.ini file but it depends on the host. Best to check and then ask your host.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Uploads

By gkornbluth - August 7, 2008

Could someone explain the difference between post_max_size and
upload_max_filesize

Thanks,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Uploads

By Dave - August 7, 2008

Hi Jerry,

They're PHP settings. post_max_size limits how much data can be submitted through a form (forms use the method called "GET" or "POST" to submit data). And upload_max_filesize limits the max size of an upload file itself.

They do seem to overlap a bit in functionality. That happens in PHP a fair bit. :) The key thing is to make sure they're both large enough to allow your uploads.

Here's links to the PHP docs:
http://www.php.net/manual/en/ini.core.php#ini.post-max-size
http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Uploads

By gkornbluth - August 7, 2008

Thanks for that Dave.
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php