http error wordpress media upload

Posted in: Newspaper
Post count: 7

The latest upload brings in http error while uploading images of any size.

I have tried deactivating all plugins and it still doesn’t work.

Media upload works only when this theme is deactivated which makes me think the fault is definitely within the theme.

It gives me a http error (and after sometimes the image appears to have uploaded without any preview but the required sizes doesn’t seem to be generated.)

Please help

Post count: 4

I also had this same problem.

I was able to get this resolved by creating a php.ini file using Notepad and adding these lines, then upload to the root directory of your WordPress install:

max_input_vars = 5000;
max_execution_time = 300;
post_max_size = 65M;

I’m using GoDaddy Managed WordPress hosting and actually created both a php.ini file and a .user.ini file (make sure dot is in front of ‘user’) per GoDaddy recommendation with the same 3 lines above and uploaded both to the root. I then visited my site from my phone so that the server would update. I went back to my site and tried uploading and it worked.

Also see here about increasing memory limits to 64M in the wp-config file. You’ll need to do that too. There is a thread explaining how to do it but couldn’t find it immediately, just search this forum for it.

BTW – Adding the 3 lines of code to the htaccess file was also recommended on the same thread, but I searched elsewhere and it didn’t work for anyone which is why I ended up creating the new .ini files.

Hope that helps!

Post count: 4

Here’s the other info:

Please increase these parameters here: http://screencast.com/t/ZaAo4DGj using this tutorial: https://forum.tagdiv.com/system-status-parameters-guide/

Post count: 7

Thank you Usawebdedv. That helps!!

Post count: 9544

You can often update the default settings from your hosting panel (e.g., cpanel, plesk, etc) under the php settings for your hosting account.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.