Change warning messages in php -
change warning messages in php
warning: include (tools / test_db / viewposta.php) [function.include]: failed open stream: no such file or directory in d: \ program files \ server xampp \ xampp \ htdocs \ projc \ writecode \ tools \ terminal \ run.php on line 45
warning: include () [function.include]: failed opening 'tools / test_db / viewposta.php' inclusion (include_path = '.; d: \ program files \ server xampp \ xampp \ php \ pear') in d: \ program files \ server xampp \ xampp \ htdocs \ projc \ writecode \ tools \ terminal \ run.php on line 45
be
error @ \projc\writecode\tools\terminal\run.php on line 45.
if within class, recommend looking @ set_error_handler
here.
set_error_handler( function($level,$msg,$file,$line) { echo "error @ ".$file." on line ".$line; exit; } );
Comments
Post a Comment