Report this

What is the reason for this report?

I need help with an error?

Posted on June 2, 2013

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I’ve also got this error while was playing, please check this page too https://www.tankius.com/game/tank-trouble.html

Did you follow a specific article to set up your server?

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.