Hey guys,

just wanted to update you on an ongoing issue i have been having with my godaddy shared hosting service. I think its time for me to update my hosting. I have their ultimate hosting plan, but it sucks. I only keep it because i am too lazy to move all my files to a new server. its a real drag. i need to find a way to do this. lately i have been thinking about moving to google cloud services. godaddy is not the company it once was. im sad to say.

anyways, today i updated some old script and when i tested the script i get some 500 error that says:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache Server at www.example.com Port 80


1. the fist step is to troubleshoot by looking at your error logs. you will need to enable error logs in your control panel by clicking on the update button:
04-p4621-godaddy-error-logs.jpg


2. after you have enabled error logs, go to the file manager to see the error log files
04-p4621-godaddy-file-manager.jpg


3. these are the instructions i found through google:
https://www.godaddy.com/community/help/article/1197 [this link is broke]

you can view the cached version:
https://webcache.googleusercontent.com/search?q=cache:PGfxNqBjqGUJ:https://www.godaddy.com/help/working-with-error-logs-1197+&cd=1&hl=en&ct=clnk&gl=us

incase the cached version is no longer available, i took a snapshot of the instructions:
04-p4621-godaddy-working-error-logs.jpg



i looked into finding out whats causing the error, they have a feature where you can start to log any errors, but you have to set it up, its not setup for you by default. i thought as soon as i hit the update button, the errors will start to log, but no way, that would too easy, i have to wait 24hrs. great. this sucks. whats the point???

i tested my script on my localhost,, it works great on my local server, and on another server, but for some reason, it does not work on my godaddy server.
i troubleshoot line by line and found the line where i am using the strstr() function.

so anyway, i dont know what the error says, but i change strtsrt to strpos() instead and now i dont see the error anymore.