November 21st, 2012, 12:57 PM
Funny enough I just edited that php.ini file
November 21st, 2012, 01: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, 01: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, 01:09 PM
enable mysqli I think it was
November 21st, 2012, 01: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, 02: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, 07: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, 07: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.