November 21st, 2012, 01:57 PM
Funny enough I just edited that php.ini file
November 21st, 2012, 02:01 PM
nice work! there are less heavy handed ways of disabling warnings messages too:
Originally Posted by cssbonding
error_reporting = E_ALL & ~E_NOTICE
Comments on this post
November 21st, 2012, 02:04 PM
Just realised that when at college, I edited the php.ini file, the only problem is, I can't remember what I did at college to get it going
November 21st, 2012, 02:09 PM
enable mysqli I think it was
November 21st, 2012, 02:32 PM
You should develop code with notices on, and your code should not generate any notices.
Notices can help you identify annoying bugs like mistyped variable names. If you don't use them you are handicapping yourself. There is no reason to write code that is expected to generate them; just use empty or isset when appropriate.
November 21st, 2012, 03:37 PM
I think I will leave the isset thing on, if I turn off the error reporting off, typos are likely to occur
November 22nd, 2012, 08:40 AM
I've uploaded the same files and database online, no error messages and I hadn't included the isset() function...weird
November 22nd, 2012, 08:55 AM
Um, I thought we already realized that the error messages depend on the configuration? So what's so weird about that? In fact, it would have been weird if you had gotten error messages.