Top Left Text cha

Web & App Development

If you get an error on maximum upload size, it may have nothing to do with the server when using WordPress Multisites.  The first thing I checked was the max_upload_size in PHP on the server and that was fine at 8M.  Even though below the error in WordPress was, "Maximum upload file size: 1MB.".

Searching at provided nothing more than instructions on how to change PHP settings on the server via php.ini.

Go to 'My Sites' >> 'Network Admin'

Then go to 'Settings' >> 'Network Settings'

You'll find the setting, Max upload file size.  Change to whatever you want. 

And.... that increased the maximum upload to 2MB even though I entered 8000KB in the setting for this.

I also added this line to the wp-config.php file:
define('WP_MEMORY_LIMIT' , '8M');

 Once again, still an upload error.

Looks like the problem lies within one of the plugins installed on this clients site, GD bbPress Toolbox. 

REALLY????  I guess they don't think WordPress already has way too many places to define maximum file size.  In my opinion, it shouldn't be up to WordPress at all... should be set on the server. 

Okay, so I found the problem.  It had nothing to do with WordPress, but I don't take back what I said about the extra unnecessary upload settings as they cluttered the issue.

Godaddy now uses .user.ini instead of php.ini to declare settings for the server in cPanel accounts.  Here's the stupid part.  If you upload the settings via php.ini they appear to change when looking at a php info file (where you upload a file containing phpinfo();).  

Thanks again, Godaddy, for the confusion.

Add comment

Security code

  • No comments found

Leave your comments

Post comment as a guest

Your comments are subjected to administrator's moderation.