HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
can someone help me solve this error when I try testing a script
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
I’ve also got this error while was playing, please check this page too https://www.tankius.com/game/tank-trouble.html
You should check the error.log of your webserver (which shoudl be under /var/log/apache2/). This happens e.g. if your .htaccess uses unknown/wrong/forbidden variables. <br> <br>If the script you’re testing is in PHP, try setting <br>ini_set(‘log_errors’,‘on’); <br>ini_set(‘error_log’,‘php-error.log’); <br>at the beginning of your script (if it’s really PHP) and reload the page. After that, check the php-error.log to see what’s wrong.
Did you follow a specific article to set up your server?