22404 Posts in 6883 Topics by 2748 members
|Go to End|
5 March 2011 at 7:27pm
This is weird.. But sometimes I get this error when I try to open my website: "warning: Unexpected character in input: ''' ASCII=39 state=1 in tmpsilverstripe-cache-hermes-bosweb-web222-b2224-ipg.marcusfernstromcommanifest-main on line 5315"
It seems to happen RANDOMLY, which causes me even more confusion. Hit reload and it works fine O_o
Anyone have an idea what is going on..?
I'm sorry if similar questions has been asked before, but the search function for the forum is really horrible, so hard to adjust searches..
6 March 2011 at 12:40am
I honestly don't know, but Imight suspect...
a)data after a closing php tag, personally I don't close my php tags in (?>)
b)somehow, somewhere you have a dodgy character in a file... I use TextPad alot and if I accidentally hold Alt oir Ctrl with a keypress it inserts a non-ASCII character into the text and saves it.
hope this helps
6 March 2011 at 9:15am
Thing is that it seems to happen randomly.
If it happened every time I opened a page I would suspect that as well, but the random aspect makes me very confused..
I'll see if it continues, I might wipe and install a fresh copy..
31 March 2011 at 4:43pm
I had a similar error, it was due to a parse error in one of my PHP files (http://www.php.net/manual/en/function.token-get-all.php#79502). Basically I had an enum with: 'Something' => "Enum('Onething, Anotherthing', 'Onething)"
And I was missing an ' before the last parenthesis.
|Go to Top|