TheBlueblib
09-13-2009, 04:13 AM
My code's been working virtually flawlessly for over a month, and I suddenly got hit with all these syntax errors - and they make absolutely no sense.
For example, it'll throw me this:
"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/test.php on line 228"
and line 228 looks like this:
$cm_test_id = $row['cm_test_id'];
This is only one of the errors, all the other ones seem to be that it suddenly hates single quotes, it threw a syntax error at every GET variable (they looked like this $_GET['test']).
This is the most random group of errors I've ever seen, it's worth mentioning that I restarted Apache before this but hadn't changed the php.ini settings. In case the php.ini file was changed by someone else are there any particular settings worth looking at (for quotes, concatenate, anything syntax etc.)?
For example, it'll throw me this:
"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/test.php on line 228"
and line 228 looks like this:
$cm_test_id = $row['cm_test_id'];
This is only one of the errors, all the other ones seem to be that it suddenly hates single quotes, it threw a syntax error at every GET variable (they looked like this $_GET['test']).
This is the most random group of errors I've ever seen, it's worth mentioning that I restarted Apache before this but hadn't changed the php.ini settings. In case the php.ini file was changed by someone else are there any particular settings worth looking at (for quotes, concatenate, anything syntax etc.)?