Bruce Gust
asked on
Turning off "strict errors..."
I've got a "strict error" being reported on a page that I'm working on and, from what I can tell, it's not an error as much as it's a warning and I want to get rid of it for the time being.
I've gone into my php.ini file and replaced:
error_reporting=E_ALL
with...
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
...and it didn't make any difference.
I've got screen shot attached that shows the error that I'm thinking for right now is not a priority. It's the one that reads: Strict standards: Declaration of securityCheck::processLogi n() should be compatible with Authenticate::processLogin ($username , $plainPassword) in C:\wamp\www\WebTemplate\cl asses\secu rityCheck. class.php on line 22
So, what am I missing? What have I yet to disable or am I looking at something beyond my php.ini file?
strict.JPG
I've gone into my php.ini file and replaced:
error_reporting=E_ALL
with...
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
...and it didn't make any difference.
I've got screen shot attached that shows the error that I'm thinking for right now is not a priority. It's the one that reads: Strict standards: Declaration of securityCheck::processLogi
So, what am I missing? What have I yet to disable or am I looking at something beyond my php.ini file?
strict.JPG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I learned the hard way just now that regardless of what you document in your php.ini file, if you've got error_reporting set to E_ALL in your file, you're going to have a hard time silencing things that you want to keep quiet.
I got it!
Thanks!
I got it!
Thanks!
You could just fix the errors and warnings instead of hiding them.
ASKER
Not looking to sweep anything under the carpet, Dave, but it's not my code and I'm trying to knock out the "dealbreakers" first and then I 'll go back and address what the system is addressing as "...it would be better if" stuff.
Open in new window