Hi all,
On a live site, I've addedat the top of my code, to hide any unexpected errors from the end user.Code:ini_set('display_errors',0);
But this makes the things worse, as whenever there's a fatal error, the output will be an Internal server error!
eg:output: Fatal error: Call to undefined function crash_the_bogus_ipower() .....PHP Code:<?php
ini_set('display_errors',1);
crash_the_bogus_ipower(); # ;)
?>
PHP Code:<?php
ini_set('display_errors',0);
crash_the_bogus_ipower(); # ;)
?>Any clues? I've contacted the support team but they are still 'beating around the bush'0
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
@Mod: Not sure if this is the right forum. Please move it, if it's not.



Reply With Quote



Bookmarks