I recently moved my server, which was working fine, from linux to Windows 7, via XAMPP. Once set up, I started getting errors in the php. I've noticed that even though I've repaired the error, it's still showing up as a notice. As near as I can tell, these are my options:
- Silence/repress the notice
- Figure out how to reset the error log so it actually looks at the current php, not the old one that set it off.
I've refreshed/reset/rebooted and tried looking at it on a PC that has never seen my site before, but I'm still getting the error that I feel has been fixed. As for the specifics on the error, here they are:
Notice: Use of undefined constant php - assumed 'php' in C:\xampp\www\MyLibraryAnywhere\scripts\header.php on line 26
Line 26 used to read:
- Code: Select all
php?>
but now reads:
- Code: Select all
?>
But if you view the site, http://www.MyLibraryAnywhere.com, you'll see that it's still registering that notice, even though 'php' no longer appears in that line. I run two sites there, and I think I fixed the other one by just silencing the compiler, but I'd like to get this working correctly.
Not sure what version of XAMPP I have, but the control panel is v3.0.12 from June 24th, 2012.
Any help in getting the error log flushed so I can catch actual errors would be appreciated.
-Tano