I am trying to debug an error found somewhere within my suite of scripts. Nothing shows up when there's an error, it just simply dies. I tried using error_reporting(E_ALL); to no avail. I tried everything I could think of to get some kind of error to show up, to date nothing shows up. Even trace statements like var_dump(), echo, print_r(), print, all fail, it dies without even showing any trace elements, even at the beginning of the first file called!
<?php
/*****************************************************
editpage.php -- edit page components
*****************************************************/
// /usr/local/plesk/apache/vhosts/oconsulting.net/httpdocs
error_reporting(E_ALL);
print_r("1<P>");
// include libraries
require ("/var/www/lib/lib.inc");
var_dump($libdir); // WHAT IS THE LIBRARY DIRECTORY NAME?
print_r("2<P>");
var_dump($userincludes);
require ("$userincludes/macros.inc");
print_r("3<P>");
?>
Help!
Phil