SnippetMaster Support Forums
Return to main website
 
January 25, 2011, 11:48:27 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 25, 2011, 11:48:27 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: 8MB upload limit - wierd! « previous next »
Pages: [1] Print
Author Topic: 8MB upload limit - wierd!  (Read 838 times)
Artisan

Posts: 24


The World Wide Web needn't cost the earth.


WWW
[-] 8MB upload limit - wierd!
« on: September 02, 2007, 06:48:16 AM »

I'm using SnippetMasterPro v2.2.2 on a client's website, and despite having set up quite a few SMs now, I'm experiencing a persistent problem with this one. I can't get it to upload a file larger than 8MB.

The default server settings are as follows:
FTP file size limit: 100MB
PHP upload limit: 5MB
PHP timeout: 30 seconds

With the default settings above I couldn't upload anything larger than 2MB.

I placed a php.ini file in the public_html root containing the following:
Code:
upload_max_filesize = 20M
max_execution_time 240
(I've also tried a max_filesize of 40MB, but that makes no difference, the actual limit is still 8MB).

I have set " Limit File Size?" in Upload Group in SM to "No" (I also tried setting it to "Yes" and "20480" but it makes no difference).

I can upload a file that's 7.95MB, but not one that's 8.02MB, any idea what else I can try? Is there anything I should ask my hosting tech support? (if I just tell them there's a problem, they're likely to tell me that they don't support third party software!).

Any help would be appreciated.

Malcolm
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2907

SnippetMaster Author


WWW
[-] Re: 8MB upload limit - wierd!
« Reply #1 on: September 02, 2007, 06:51:59 AM »

I think you should contact the hosting provider and ask them to increase the upload limit for your account.  It might be that they have restricted it in some other way then you have tried..

It's not really a question of supporting 3rd party software, as much as it is a question of configuration for PHP on your web server. 

You can tell them that Snippetmaster uses whatever PHP configuration is set up for the upload values in the php.ini file...  (In other words, there is nothing in snippetmaster that sets an upload size limit.)

Report to moderator   Logged
Jenkinhill

Posts: 410



[-] Re: 8MB upload limit - wierd!
« Reply #2 on: September 02, 2007, 01:52:16 PM »

I can upload a file that's 7.95MB, but not one that's 8.02MB, any idea what else I can try? Is there anything I should ask my hosting tech support?
The "standard" php.ini upload setting is for 8MB. If you can edit the server/site php.ini file to accept a larger value then that is the way to go ( you can often do this via the server file manager in ther host control panel). The variable to change is post_max_size.

Otherwise you will need to get the host to change it. Not allowing .htaccess over-ride of php.ini settings is quite commonly used to protect other users of a shared server who could have all their php resources hogged by another user, and also on servers using a jailed php setup.
Report to moderator   Logged

Kelvyn
Artisan

Posts: 24


The World Wide Web needn't cost the earth.


WWW
[-] Re: 8MB upload limit - wierd!
« Reply #3 on: September 02, 2007, 02:04:46 PM »

Thanks for the comments so far - I've got a support ticket running at the moment. So far, they've said "We keep a global php.ini and allow the creation of php.ini in web space on shared server accounts" and also "The logs indicate that the php.ini file isn't being read but a phpinfo() done on the script I've uploaded indicates it is". They're still looking into it.

Malcolm
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: 8MB upload limit - wierd! « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!