[Solved]"Smarty error:character "s" not allowed in prolog validates.. sometimes
Posted: Wed Dec 03, 2008 7:54 pm
Hi
I am having an issue with my header.. It sometimes shows up very far down on the page, I reload the page and it goes up where it should be...I use content block to fetch the header, which is a picture with this wrapped around it:
I also get this error (that I think is related) when trying to validate my templates..
# Error Line 1, Column 0: character "s" not allowed in prolog.
string(124) "Smarty error: [in template:44 line 11]: syntax error: unrecognized
I get 8 of them, all stating the same, but on different lines..
But the weird thing is that my templates validates as xhtml mp 1.0 for the most..
Meaning if I try to validate now..no problem, but if I wait 2 seconds and validate again it will either validate again or give me the smarty error..
I am thinking that when my header is where it should be, it validates and vice versa..
I though of the byte order mark issue, so I saved all my templates as ANSI and then copy pasted the code back to cmsms.. But this did nothing..(maybe because I just copy/pasted ?)
I run CMS Made Simple 1.4.1 "Spring Garden" and use firefox 3.0.4 with stupid stupid Vista
Hope someone can help..
-John
I am having an issue with my header.. It sometimes shows up very far down on the page, I reload the page and it goes up where it should be...I use content block to fetch the header, which is a picture with this wrapped around it:
I also get this error (that I think is related) when trying to validate my templates..
# Error Line 1, Column 0: character "s" not allowed in prolog.
string(124) "Smarty error: [in template:44 line 11]: syntax error: unrecognized
I get 8 of them, all stating the same, but on different lines..
But the weird thing is that my templates validates as xhtml mp 1.0 for the most..
Meaning if I try to validate now..no problem, but if I wait 2 seconds and validate again it will either validate again or give me the smarty error..
I am thinking that when my header is where it should be, it validates and vice versa..
I though of the byte order mark issue, so I saved all my templates as ANSI and then copy pasted the code back to cmsms.. But this did nothing..(maybe because I just copy/pasted ?)
I run CMS Made Simple 1.4.1 "Spring Garden" and use firefox 3.0.4 with stupid stupid Vista
Hope someone can help..
-John