500 Error Multiple Sites, Hostgator

Status
Not open for further replies.

BHopkins

Elite Member
Joined
Dec 31, 2010
Messages
2,613
Reaction score
1,748
Website
DiamondLinks.net
I buy my domains through Namecheap and host with Hostgator. The last ~10 domains that I've bought and setup (wordpress) all show a 500 error every couple days. I've chatted with Hostgator a couple times and they're completely useless. I moved an entire site to a different server and it happened again and they blamed it on the site. I deleted everything, and reinstalled a blank WP install, two days later it happened again.

If I log into Wordpress, the site immediately starts working again (refresh and 500 error is gone).

Can you happen to think of what might be going on? It's only the most recent domains, they're hosted on different shared accounts (different IP, nameservers, login info, etc.).

I have verified the "fix" of logging into WP on 6 different sites that were giving me a 500 error. They all run the same plugins, Akismet, IWP, Imagify, W3 Total Cache. Those same plugins are running on all of my sites so I don't think it's a plugin issue.

Thanks for your help!
 

towelfox

Junior Member
Joined
Jan 11, 2012
Messages
193
Reaction score
67
500s are server errors. Check your log files and all will be revealed.
 

sam.hunt0710

Jr. Executive VIP
Jr. VIP
Joined
Jan 8, 2010
Messages
12,735
Reaction score
7,358
Try to remove W3 Total Cache , Remove all the cache file once , Delete advanced-cache.php, db.php, wp-total-cache-config.php, and delete the entire w3tc folder from the Wp-content folder.

I was facing similar issue removing the above plugin made my problem solved.

Their Support Email : [email protected]

Hope it will help.
 

BHopkins

Elite Member
Joined
Dec 31, 2010
Messages
2,613
Reaction score
1,748
Website
DiamondLinks.net
500s are server errors. Check your log files and all will be revealed.

Logs are clean. Last error message was about two months ago. Error was 15 minutes ago, but nothing in the logs.


Hostgator error page isn't much help as I haven't touched my .htaccess file (same as the 200+ other sites). cPanel > Errors (Error Log) is totally empty. Sites are very small and it's not all the sites on the server, just one or two.

Try to remove W3 Total Cache...

I have W3 Total Cache running on 200+ installs and none of them have problems except these last couple of new sites.
 

sam.hunt0710

Jr. Executive VIP
Jr. VIP
Joined
Jan 8, 2010
Messages
12,735
Reaction score
7,358
Deactivate all plugins , then star activating plugins 1 by 1 , the plugin which is creating problem you can catch that one easily and remove that plugin.
 

Bargain Boss

Registered Member
Joined
Apr 6, 2016
Messages
68
Reaction score
26
What type of 500 error is it? 500 Internal Server Error or HTTP Error 500?

Can you post a screenshot of the error page (and block out your domain name)?
 

BHopkins

Elite Member
Joined
Dec 31, 2010
Messages
2,613
Reaction score
1,748
Website
DiamondLinks.net
What type of 500 error is it? 500 Internal Server Error or HTTP Error 500?

Can you post a screenshot of the error page (and block out your domain name)?

Attached!
 

Attachments

  • Screen Shot 2017-06-09 at 1.22.55 PM.png
    Screen Shot 2017-06-09 at 1.22.55 PM.png
    194.5 KB · Views: 434

Bargain Boss

Registered Member
Joined
Apr 6, 2016
Messages
68
Reaction score
26
From your screenshot, that's a 500 Internal Server Error.

Check whether the root directory of your cPanel is correctly entered in the .htaccess, .user.ini, wp-config.php, and the PHP file of your security plugin. If your cache plugin has a PHP file listed on the same page as .htaccess and the other files mentioned above, check whether it has the correct root directory too.

I have not used InfiniteWP so I am not sure if the root directory is required/listed in any of its files. You should take a look.

Look at the readme.html file and delete any suspicious long strings of alphanumeric letters.


Edit: I was on mobile earlier. I just checked my notes on my PC and confirmed that the files you should check for are .htaccess, user.ini, wp-config.php, and the PHP file of your security plugin. Please refer to the image what I meant by root directory.

im1wru1joa.png
 
Last edited:

Couch Monkey Media

Elite Member
Joined
Nov 8, 2009
Messages
2,787
Reaction score
1,145
Website
centexhosting.com
@BHopkins

Are you set up on a shared or VPS plan with Hostgator?

If you want I can set one site up on one of our servers for you. NO COST For this. Just to help figure out what is going on.

I would set up one domain for you and give you logins to load the site up. Then we can track and see if the same thing happens here. If it does then one of our admins can figure out the issue and get it fixed and then we can see if it happens after fix. If not Then you can load your site back over at HG and I will close out the account with us.

Just our way to give back and help out a MOD here.
 

SlickSocials

Jr. VIP
Jr. VIP
Joined
Mar 24, 2017
Messages
790
Reaction score
296
Website
slicksocials.com
Logs are clean. Last error message was about two months ago. Error was 15 minutes ago, but nothing in the logs.



Hostgator error page isn't much help as I haven't touched my .htaccess file (same as the 200+ other sites). cPanel > Errors (Error Log) is totally empty. Sites are very small and it's not all the sites on the server, just one or two.



I have W3 Total Cache running on 200+ installs and none of them have problems except these last couple of new sites.

Check your Plugins if you are using wordpress on them, some of the plugins makes conflicts , with each other > all the caches cleaners > and defenders plugins
 

kmoore

Banned - Selling via PM
Joined
Oct 6, 2009
Messages
112
Reaction score
35
Check your apache error logs - it will reveal whats causing this error.
Only after recognizing whats causing this error - one can provide a solution to it.
As other member stated - you can disable all the plugins and enable them one by one to identify the problem.
 

GoDesain

Regular Member
Joined
Feb 26, 2011
Messages
491
Reaction score
223
i think this from hostgator side.. and you on shared server ?
but much better if you recheck again.. try to check .htacess, permission file and folder and and increase time out..
if i got 500 error.. i try to check my plugin 1 by 1 just make sure everything ok.
 

BHopkins

Elite Member
Joined
Dec 31, 2010
Messages
2,613
Reaction score
1,748
Website
DiamondLinks.net
Thanks for all the feedback. I've checked everything that was suggested and still am having trouble. Frustrating when 10 of my recent sites are constantly down. I have to log into them manually to make them drop the 500 error. Even more frustrating that I have over 200 sites with Hostgator and their support won't actually help.
 

MayaK

Registered Member
Joined
Sep 20, 2013
Messages
55
Reaction score
5
I think in that case its server end issue, if they are not helping move from them, I host my wordpress sites with Webhost.uk.net since 2010 support has been great till date any issues as you have faced support tries to help me all possible way thats the reason I am still with them.
 

BHopkins

Elite Member
Joined
Dec 31, 2010
Messages
2,613
Reaction score
1,748
Website
DiamondLinks.net
Along with Hostgator's third level of tech support, I think I've identified the problem. I have been using W3 Total Cache and using the same configuration file for the last year. At some point W3 updated their settings which caused a problem with my config file. When I disabled W3 on all of the problem sites, they have been working for about 12 hours which is longer than normal. The strange thing is that I disabled W3 on sites and then reenabled it, but it kept the settings which remained broken.
 

Diplomat

Jr. VIP
Jr. VIP
Joined
Oct 25, 2011
Messages
1,391
Reaction score
781
Website
PriorityProspect.com
500 errors are almost always PHP errors. Sometimes they can come from incorrect .htaccess configuration. Easiest thing to do is check error_log files (keep in mind that they can appear in any directory).
Another thing you can check is errors in cPanel errors page.
 
Status
Not open for further replies.
Top