Thread: Please Help!
View Single Post
  #2  
Old 12-20-2015, 11:56 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 130,993
Kyttias is on a distinguished road
Default

Notices are not errors, and would be turned off on live hosting. To turn them off, you'll want to change the error_reporting settings in your php.ini.

Find the php.ini file in your localhost stuff - possibly in xampp\php\php.ini? Just pop it open with a normal text editor.

Search for "error_reporting". It probably won't be at the first location you find it, so search until you find it on a line by itself that doesn't start with a semi-color (;) -- lines with semi-colons are comments only, and are only there for reference. Anyway, it should be set to:
Code:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
Make sure the line isn't be overwritten later in the file.

Save the file.

Restart XAMPP. This is important, because it won't recognizes changes to the file until you do.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote