toxicious Posted November 24, 2012 Posted November 24, 2012 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)
Krydos Posted November 24, 2012 Posted November 24, 2012 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.
toxicious Posted November 24, 2012 Author Posted November 24, 2012 thx for the help and info!When doesn't a script exit properly? Is it when the code like never finishes (infinite loop)?
Ice IT Support Posted November 25, 2012 Posted November 25, 2012 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
Recommended Posts