Intermittant 500/503 errors

Status
Not open for further replies.

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
My site is currently giving on and off 500 and 503 errors.

Any ideas why this could be? It's been happening for a while now...
 

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
What type of software are you using on your site?
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
It's been happening to me for a while also. I'm using Wordpress.
 

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
This could be related to the content of the .htaccess file. I've seen some errors generated by Wordpress that are the same as what you are experiencing.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
It seems to have calmed down but it seems random after every 25 pages or something like that.
My site is very mixed, I'm running:
-Joomla
-phpbb3
-OpenCart
-Coppermine
-osTicket

All are interconnected to Joomla via bridges, as Joomla acts as my main site.
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
It would be very hard to troubleshoot, but it is doable :)

I've encountered 500 errors from typos in the .htaccess file and also by trying to change PHP's configuration at runtime for settings that are not configurable at runtime. For example, ini_set('magic_quotes_gpc', 0); will generate a 500 error but no message from PHP. I don't know of any other reasons that PHP generates 500's, but you can check your server logs to see if there is any more information that will help you track this down.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Ahhhh, the error logs. I shall have a look now. I forgot about them :)
cPanel seems to be on a bit of a go-slow though. :(
Edit:
Okay, after scouring the logs I isolated 2 missing files that Joomla was trying to find, from a component I uninstalled a few months ago, which is, now I think about it, when the problem started. I followed the paths and added blank .html and .js files where they were missing, and that has stopped the errors appearing in cpanel.

Could this be the cause?
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
I suppose it could be the cause, but it doesn't really seem like a good enough reason for a 500 error. Maybe a 400 error for missing files, but a 500 is usually reserved for a fairly major error from which the server cannot recover. Perhaps Joomla! is manually creating the 500 error; that is reasonable.
 
Status
Not open for further replies.
Top