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. Quote Link to comment Share on other sites More sharing options...
btherl Posted April 5, 2007 Share Posted April 5, 2007 Change display_errors to on. Quote Link to comment Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 its already on Quote Link to comment 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); Quote Link to comment Share on other sites More sharing options...
trq Posted April 5, 2007 Share Posted April 5, 2007 set error_reporting to E_ALL Quote Link to comment 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 Quote Link to comment 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... Quote Link to comment Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 Thanks. Tried.. but As it is. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
jitesh Posted April 5, 2007 Author Share Posted April 5, 2007 Tried Same as before Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.