Hi,
The server my site is hosted from have disabled error reporting of all kinds and it's really annoying me because when i get parse errors or whatever I just get a blank page and it often takes a while to debug.
Is there anything I can add to the code to force an error report? Like just a line before the code begins.
Thanks
Getting error reports even if disabled in ini file
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Just add in the beginning of the file, you want to debug, the following:
Code: Select all
error_reporting(E_ALL ^ E_NOTICE);- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia