Ok, so with WAMP I found I had two php.ini files.
One was found in x:\wamp\bin\php\php5.3.0\ and the other was in x:\wamp\bin\apache\Apache2.2.11\bin\
They are both identical and both had the 'error_reporting = E_ALL'
I changed both believing that it wouldn't display deprecation or notices to
- Code: Select all
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
restarted apache and I still have the same issues.
I must have made a mistake. After install I see:
- Code: Select all
Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\roster\settings.php on line 62
Deprecated: Function ereg() is deprecated in C:\wamp\www\roster\settings.php on line 77
Notice: Undefined offset: 8192 in C:\wamp\www\roster\lib\roster_error.php on line 132
That damn notice about line 132 is all over everything.
should I have added & ~E_NOTICE & ~E_DEPRECATED at the end to block notices and deprecation errors or did I do it wrong?
P.S. I change On to Off for display_error but I still have that damn notice line 132 showing everywhere.
~Edit~ Ok, so to fix the notice issue I had to edit roster_error.php and modify:
- Code: Select all
E_STRICT => 'Runtime Notice'
to:
- Code: Select all
E_STRICT => 'Runtime Notice',
E_DEPRECATED => 'Core Warning, Depreciated'
No more errors displaying.