|
The PHP Live! system has its own error catching method for some situations. For others situations, if the page has a PHP error, you may see a blank page rather then seeing the PHP error on the page. As a default, the system variable $VARS_E_ALL is set to 0 (do not display PHP errors).
$VARS_E_ALL = 0 ;
To output errors, set the variable to 1.
$VARS_E_ALL = 1 ;
All updates to system variables should be placed in the phplive/API/Util_Extra.php file. Create a file (if it does not exist) Util_Extra.php at the phplive/API/ directory (phplive/API/Util_Extra.php) and place the following code to display PHP error output on the page:
<?php $VARS_E_ALL = 1 ; ?>
Save the file and done!
|
Was this helpful?
could be more helpful? send comment
|