jitesh Posted April 5, 2007 Share Posted April 5, 2007 Hi All, I have a prb that when i run any web page and if it contains an syntax error. then nothing is displayed. I mean page is blanked. what need to change in php.ini. Thanks. Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/ Share on other sites More sharing options...
btherl Posted April 5, 2007 Share Posted April 5, 2007 Change display_errors to on. Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221887 Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 its already on Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221888 Share on other sites More sharing options...
yaatra Posted April 5, 2007 Share Posted April 5, 2007 Put this on top of your page and try... error_reporting(E_ALL); Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221893 Share on other sites More sharing options...
trq Posted April 5, 2007 Share Posted April 5, 2007 set error_reporting to E_ALL Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221894 Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 Put this on top of your page and try... error_reporting(E_ALL); No As it is Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221895 Share on other sites More sharing options...
yaatra Posted April 5, 2007 Share Posted April 5, 2007 change track_errors and html_errors to on and try... Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221922 Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 Thanks. Tried.. but As it is. Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221927 Share on other sites More sharing options...
Cook Posted April 5, 2007 Share Posted April 5, 2007 Check out ini's error_log, should point you to file where errors are... well, logged. Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221941 Share on other sites More sharing options...
$cripts Posted April 5, 2007 Share Posted April 5, 2007 try this asd; print_r(error_get_last()); and see if it outputs anything if it doesnt work put this at the top of your page and try again error_reporting(E_ALL ^ E_NOTICE); and try again Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221942 Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 Tried Same as before Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221968 Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 I think this is the fault of installation source or php.ini Link to comment https://forums.phpfreaks.com/topic/45681-not-showing-syntax-error/#findComment-221970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.