Can't upload media - I'm getting "http error"

I’ve tried uploading a variety of .jpg files but keep getting an “http error” message.

I’ve tried switching from Pro to X theme and the problem persisted. I’ve also tried disabling all plugins and the problem persisted.

What next?!

Hi there,

Please check this post for some suggestions on how to fix the issue you are getting:

Hope this helps.

Jade, I tried all four suggestions in the linked article but nothing worked. The problem persists.

Hello There,

Would you mind providing us the url of your site with login credentials so we can take a closer look and fix the issue? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password

  • FTP Hostname
  • FTP Username
  • FTP Password

Thank you.

I’ve just sent a secure note with those details.

Hi @ms999k,

I checked and your added configuration isn’t taking effect, I tried it as well. Plus, your current configuration is wrong based on Debug Info plugin. Example,

It should be 520m (as 520 MB) and not 520My.

I recommend contacting your hosting provider to alter this configuration. Been trying and it won’t change, it doesn’t even logs the error so maybe it’s due to cache too.

Thanks!

In which file did you find the line “post_max_size 520My”?

php.ini now shows:

upload_max_filesize = 500M
max_execution_time = 300
memory_limit = 1G
post_max_size = 750M
max_input_time = 600
max_input_vars = 9000

Thanks for your help.

Sorted!

I used the “String locator” plug-in. The line with the bug was located in wp-admin/php.ini Removing the “y” sorted the problem.

How it got there I don’t know!

Thanks for the steer.

We are glad you managed to get this one sorted out! you are welcome :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.