I am new to php ; when ever ther is some error in my script ,the browser do not display error wirh line nymber but displays :
Server error The website encountered an error while retrieving "http://localhost/gmailAPP/google-api-php-client/examples/calendar/simple.php". It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
It is very difficult to debug the code with out error message and line number .Please help