notooth Posted April 22, 2005 Share Posted April 22, 2005 Hi ,I got so many errors on my web page when I execute php files . Is it possible to turn off the errors? Link to comment Share on other sites More sharing options...
matrix0978 Posted April 22, 2005 Share Posted April 22, 2005 Not really. Unless you make out own 404 error page. But if its those PHP error lines, the only way is to go for HTML lol. Link to comment Share on other sites More sharing options...
prathapml Posted April 22, 2005 Share Posted April 22, 2005 I got so many errors on my web page when I execute php files . Is it possible to turn off the errors? <{POST_SNAPBACK}> Of course its possible.Fix the actual CAUSE of these errors - look into the coding and fix bugs if any. Or if there's no bugs, probably your php file needs php4 and you have installed php5 (this is because many apps still are not compatible with php5). Link to comment Share on other sites More sharing options...
notooth Posted April 23, 2005 Author Share Posted April 23, 2005 Fixing the bugs is fine. But I need the server stops showing error messages in case an error suddenly arose when visitors come to my site. Before moving my site to my own server, I hosted it on hosting package that never shows any error on my webpages (just showing a blank page when there was an error.) I like that feature. Link to comment Share on other sites More sharing options...
matrix0978 Posted April 23, 2005 Share Posted April 23, 2005 I have never personally heard of that feature or have come across it. My guess is it would be a script in a error page. Link to comment Share on other sites More sharing options...
prathapml Posted April 24, 2005 Share Posted April 24, 2005 hosting package that never shows any error on my webpages (just showing a blank page when there was an error.) I like that feature.<{POST_SNAPBACK}>You are probably talking of server error messages (as in 404, 403, 500, etc.)In that case, just use errordocument directives in a .htaccess file.The other possibility has to be fixing the bugs, as suppressing errors that the script is not running properly is simply illogical (and not possible, probably). It either works, or it doesn't - there's no intermediate state - under unchanged server conditions, there's no reason why a visitor should suddenly face an error! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now