I get error 500 internal server error

Avatar
  • Answered
I have automatic ajax requests on my server few days ago non of them is working and they are showing that error I checked the raw cPanel error log but nothing mentioned there about error 500 I checked the apache log I found something like this error for all my files that i call by ajax (the error not showing all the time that means the files are working, there are no syntax errors or library including errors) :
example of apache log :
188.59.214.237 - - [01/Feb/2015:00:39:25 -0800] "POST /proxy.php HTTP/1.1" 500 205 "http://www.example.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Avatar
johnpaulb-imhs1

Hello InMotionFans,

Thank you for your question about 500 errors on ajax requests. I recommend checking the permissions on the file "proxy.php," since a 500 error is usually caused by a configuration issue. This is included in our guide on 500 Internal Server Errors.

If the server was blocking the script, it would typically be a 4XX error (such as a 406).

If you have any further questions, feel free to post them below.

Thank you,

John-Paul