On 10 December 2011 03:27, Hersfold <hersfoldwiki@gmail.com> wrote:And right after I sent this, someone showed me what to do:
error_reporting(E_ALL);
ini_set('display_errors', 'On');
You should use error_reporting(-1) if you want *all* errors (-1 always is the maximum reporting level). In older PHP versions, this is equal to E_ALL, but in newer ones it is equal to E_ALL | E_STRICT.And don't forget to switch the errors off again once you are done debugging :-)Merlijn