Force PHP errors to display

If you are really stuck and not getting any useful information regarding PHP errors in your log files, then you can the following to the relevant PHP file and it will display those errors on screen:


ini_set("display_errors", 1);

Very handy when you are really stuck!