/var/log/apache2/error.log
Thanks a lot just fixed it i didnt have curlThere could be a million reasons for this. 500 status code means, Internal Server Error. This usually means that there's some problem in the php execution. An easier way to check this is to find the server error log.
Usual location for the log is (in case you are using apache server):
Code:/var/log/apache2/error.log