I've been trying to fix a problem for over 2 hours now! The server has error messages turned off (if there's a script error you just get a blank page). I can't fix this without seeing whats wrong. I do not have access to error logs on the server.
Is there a way I can add something to my script to force it to display an error message? It can be sloppy or weird, I just have to FIND OUT WHAT THE ERROR IS! Thanks in advance.
Help - Error messages are turned off!
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
error_reporting() and ini_set('display_errors') could be of interest, however that won't catch everything.
If your server runs Apache and allows .htaccess files, you can set the error_reporting and display_errors flags in there, however most errors you should be able to catch on your own testing server (your own machine in many cases.)
If your server runs Apache and allows .htaccess files, you can set the error_reporting and display_errors flags in there, however most errors you should be able to catch on your own testing server (your own machine in many cases.)
-
Superman859
- Forum Commoner
- Posts: 47
- Joined: Sun Oct 29, 2006 10:22 am