my index.php file that purposely has a missing semicolon in it so it tests the error handling:
<?php
echo "string
echo "string";
?>
my php.ini
error_reporting = E_ALL
display_errors = On
I'm using FireFTP to handle these files.
here's a picture of that : http://ift.tt/2d3FMRM
So whenever I open index.php, instead of getting an error with line # and all that I get this instead: http://ift.tt/2cUHkQU
I tried something like this:
<?php
error_reporting( E_ALL );
ini_set( "display_errors", 1 );
require_once( "index.php" );
echo "string";
echo "string";
?>
and it still didn't work :l
Aucun commentaire:
Enregistrer un commentaire