Wordpress Help Needed!

NoHypeNeeded

Power Member
Joined
Dec 30, 2016
Messages
577
Reaction score
320
Hey folks!

So first, I want to say that if this is in the wrong forum, please feel free to move it Mods.

Now, I'm working on a Wordpress website for a client, and it's a relatively small website with not many images. However, as I go to upload an image, I'm getting a 'http error' and that's all. I've tried deactivating my plugins, I've tried compressing the image, I've tried pretty much everything.

I've researched this for the last two days and it's so annoying right now lol. I've legit read and tried at least three different solutions. There has to be a relatively simple solution here though and the bastards at Wordpress Support Forums are no help.

So can anyone help me? Thanks in advance for any and all help and I truly love you guys.
 
try changing permalinks to date then save then go back to post name and save
and try uploading

Nope. Still not working. Lol.

'http error' is very broad. better check more detail error on your server.

Please elaborate, I don't understand. And I've never encountered this error/issue in like 5 years of using Wordpress lol.

Thanks again for any and all help guys.
 
Nope. Still not working. Lol.



Please elaborate, I don't understand. And I've never encountered this error/issue in like 5 years of using Wordpress lol.

Thanks again for any and all help guys.
It's now a common problem recently on WordPress back end. The major issue is compatibility between plugin and the theme installed. I encountered such situation recently but mine was caused by heartbeat control Plugin due to it recent update.

Try to resize the image to fit the recommended theme size maybe it will resolve your issues.
 
Nope. Still not working. Lol.



Please elaborate, I don't understand. And I've never encountered this error/issue in like 5 years of using Wordpress lol.

Thanks again for any and all help guys.

When you say 'http error' during uploading, I could think of several issues that can cause this,. e.g., insufficient storage, folder permission, htaccess misconfiguration, connection timeout, plugins related problem, etc..
Instead of gambling on other people solutions, the error log on your server will show you the real problem.
 
Do you installed"heartbeat control Plugin" on that website?

No, what's that?


Yes, I mentioned that, I went there first and found a few solutions that didn't work.

It's now a common problem recently on WordPress back end. The major issue is compatibility between plugin and the theme installed. I encountered such situation recently but mine was caused by heartbeat control Plugin due to it recent update.

Try to resize the image to fit the recommended theme size maybe it will resolve your issues.

Resized image and still nothing. :/

When you say 'http error' during uploading, I could think of several issues that can cause this,. e.g., insufficient storage, folder permission, htaccess misconfiguration, connection timeout, plugins related problem, etc..
Instead of gambling on other people solutions, the error log on your server will show you the real problem.

When you guys say error log, you mean via my cpanel? Or which error log located where exactly?

And I have sufficient storage, folder permission, and it's not the plugins. Htaccess misconfiguration maybe but how if I haven't touched it and have been able to upload images until now?

The Wordpress website is hosting through iPage and on Cpanel obviously so where exactly would I go to access the error logs?

Thanks again for your help guys. I gotta figure this out ASAP lol.
 
In cPanel Go to Metrics > Errors
Cpanel will display the last 300 errors through the Error log interface.


Locations of Common Log Files on cPanel Servers

liquidweb dot com/kb/locations-of-common-log-files-on-cpanel-servers/
 
In cPanel Go to Metrics > Errors
Cpanel will display the last 300 errors through the Error log interface.


Locations of Common Log Files on cPanel Servers

liquidweb dot com/kb/locations-of-common-log-files-on-cpanel-servers/

Dude I'm in my cPanel and I don't see that at all. :/

I have yet to see http errors without numbers. Can you screenshot it? Paint sensitive data and post it here. Without error number your issue has no solutions.
https://en.m.wikipedia.org/wiki/List_of_HTTP_status_codes

There are no numbers. It legit just says HTTP error. :/
 
5 years working with a CMS and you do client work now and you never had a look at the webserver logs nor do you even know what http status codes are?? dude.. maybe learn some basics too once in a while :)
sorry i know this isn't helping, but seriously RTFM.. so as previously suggested once you find the error logs you can see the status code and then find out what the error is exactly. if you cant upload images via wp, it might be a permission issue. have you been able to previously upload there on the same blog? you could also upload the images directly via sftp.
 
Just type ERROR in search box in your cPanel, there's gotta be an option to view recent errors OR to download error log in text format.
 
Solution No.1
Login your cPanel dashboard.Using the file manager, navigate to your WordPress site's root directory.Locate and open the .htaccess file to edit.Add the following line of code at the top of the file: SetEnv MAGICK_THREAD_LIMIT .
Save the changes to the .htaccess file.
Make sure that you have cleared your browser cache and re-logged into the administrator dashboard.Also, make sure that the command is at the top of the .htaccess file and that you're in the appropriate .htaccess file (there can be more than one).

Solution No. 2
Increase PHP memory
You can also try increasing your memory by adding the following in your .htaccess file. This will only work if your hosting package has that amount of memory. Increase gradually until you are able to upload an image size which is acceptable to you.
define( 'WP_MEMORY_LIMIT', '256M' );

Solution No. 3
Turn on the log errors and find the error.


 
5 years working with a CMS and you do client work now and you never had a look at the webserver logs nor do you even know what http status codes are?? dude.. maybe learn some basics too once in a while :)
sorry i know this isn't helping, but seriously RTFM.. so as previously suggested once you find the error logs you can see the status code and then find out what the error is exactly. if you cant upload images via wp, it might be a permission issue. have you been able to previously upload there on the same blog? you could also upload the images directly via sftp.

I mean yeah, I pretty much just build websites and sell them or build and go other than for my own websites. And I've never experienced this issue ever. I don't know about the http status codes other than that I just keep getting literally 'http error' when I try to upload an image. And RTFM? I've read it and have searched Wordpress Support forums, asked them, asked iPage.. nothing.

Solution No.1
Login your cPanel dashboard.Using the file manager, navigate to your WordPress site's root directory.Locate and open the .htaccess file to edit.Add the following line of code at the top of the file: SetEnv MAGICK_THREAD_LIMIT .
Save the changes to the .htaccess file.
Make sure that you have cleared your browser cache and re-logged into the administrator dashboard.Also, make sure that the command is at the top of the .htaccess file and that you're in the appropriate .htaccess file (there can be more than one).

Solution No. 2
Increase PHP memory
You can also try increasing your memory by adding the following in your .htaccess file. This will only work if your hosting package has that amount of memory. Increase gradually until you are able to upload an image size which is acceptable to you.
define( 'WP_MEMORY_LIMIT', '256M' );

Solution No. 3
Turn on the log errors and find the error.

Solution 1 and 2 didn't work. I even have the fuckers at iPage stumped. They were trying shit for like 2 hours. As for Solution 3, I have the error log but can't convert it to txt file for some reason :/ seriously having the worst luck with this and it's so annoying.
 
did you check if the upload directory has proper write permissions to store the image ?
can you upload other files or is it only that image causing problems ?
 
When I was stuck in an error like that, this is what I might do:
1. Back up wp database dan media files via cpanel
2. Delete wordpress installation
3. Re-install wordpress
4. Restore database and reupload the media files to its folder.
 
Back
Top