Jump to content

[Solved] Internal Server Error Last Hours


toxicious

Recommended Posts

I'm only getting 500 Internal server error atm from my website, and it has been like that the last 5 hours or so.

Could an admin please check some logs and tell me what the problem is?

 

I didn't do anything funny to the site what I can remember before it went down today.

 

(It's the website in the sig btw)

Link to comment
Share on other sites

You had a bunch of php processes that haven't been executing properly. I killed them for you. One of them was shoutbox.php and the rest were index.php. Make sure your scripts exit properly because when you hit the process limit all new php processes will result in a 500 error.

Link to comment
Share on other sites

Make sure all your statements (if, else, for, etc.) are closed with a bracket } (if they were opened with { ) and your documents end with ?>

Example:

<?php
echo "Hello world!";
if ($enemy == "ninja")
{
runAway();
}
?>

And yes, make sure you don't have infinite loops :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...