Open GitReadysoft opened 10 years ago
Does everything actually work though? If everything is actually working then use the error_reporting();
function to hide those notices...
this will hide only the notices..
error_reporting(E_ALL ^ E_NOTICE);
That way you see errors, warnings and everything else. Just not the annoying notices.
Hey bud, sorry for the late response. That worked! I plan to watch the rest of your videos this summer. Thank you!
I decided to move my project to another pc. I copied everything the same from my laptop to my PC.
Once I log into the admin panel, I get the following errors:
Notice: Undefined index: fname in H:\Server\htdocs\Series\Dynamic\admin\functions\data.php on line 19
Notice: Undefined index: lname in H:\Server\htdocs\Series\Dynamic\admin\functions\data.php on line 19
Notice: Undefined index: lname in H:\Server\htdocs\Series\Dynamic\admin\functions\data.php on line 20
Notice: Undefined index: fname in H:\Server\htdocs\Series\Dynamic\admin\functions\data.php on line 20
naturally it should mean I have some undefined variables. I remember that Alan put "first" "last" instead of mine which was "fname" "lname". I checked the data.php file and replaced all instances of this to first and last.
My issue is that the error is still there!!! Not sure how to remove it.
these errors show up at the top of my admin page and won't go away. Any help would be nice.