I do not have the actual error from the PHP file (clearing the error in Cumulus and restarting Cumulus updates the web tag "fixing" the problem).
These are the lines with the before and after tags; the error was with the $LatestError tag. It looked
something like this (the position of the quotes is the important part for PHP
Code: Select all
$ErrorLight = "1"; // 1 if the 'error' light is flashing, 0 if not
$LatestError = "Latest Error: "Some filename was locked" recorded"; // The latest error logged to the error log window. Cleared to an empty string when the error light is clicked, and when Cumulus is restarted
$LatestErrorDate = "120513"; // The date of the latest error logged to the error log window, using the system short date format. Gives dashes when latest error is reset
So, when the PHP interpreter parsed the line it read "Latest Error: " as text and then tried to interpret the "Some filename was locked" as PHP code.
The error is (was?) correct. It was just the quoting in the string.