coleary Posted October 1, 2003 Posted October 1, 2003 They seem to be missing, and they're very much needed to debug PHP scripts that some of us may be building. Are you guys keeping them off for any particular reason? Is there a way to turn them on in cPanel that I have not found? Thanks. Quote
surefire Posted October 1, 2003 Posted October 1, 2003 There are other threads in this forum on what happened and why but to sum up, the upgrade to the latest version of PHP involved a lot of chages in the working of the php code. (see php.net for more details) The changes caused some poorly written scripts to spew out error messages even though the errors weren't fatal (stopping the code in its tracks). So TCH chose to turn off the error reporting so that they wouldn't spend the next ten years answering "Why am I getting this error message on my page?" when in reality the page worked well enough. Is it harder to debug... yes. But you can turn on error reporting using .htaccess or in the code itself See http://us4.php.net/manual/en/ref.errorfunc.php I have found that most of the fixes light off an avalanche of information that is tough to wade through... so before you try to turn error reporting back on, you might want to try old fashioned debugging techniques. CPanel has no feature related to turning error reporting on or off. Quote
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.