I've updated a page within the Admin Console and now when I try accessing it from the front end I get the following error message...
Error: at line 312 in file C:\wamp\www\lib\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:
I've not changed any code at all. I just updated the page with a bit more text.
Any ideas?
Error message on front end after updating page
Re: Error message on front end after updating page
Error suggests there is something wrong in the template/content. Did you happen to PASTE some text to it (e.g. from MS Word, another website, pdf ....)?
I would copy the contents from the page (tick view html checkbox below wysiwyg editor) and paste it in some plain text editor (like notepad on Windows).
Then search for suspicious characters, or just retype the content.
I would copy the contents from the page (tick view html checkbox below wysiwyg editor) and paste it in some plain text editor (like notepad on Windows).
Then search for suspicious characters, or just retype the content.
Re: Error message on front end after updating page
It was exactly that. I pasted some text from word to the wysiwyg editor but didn't think to look at the html which of course included a lot of crap.velden wrote:Error suggests there is something wrong in the template/content. Did you happen to PASTE some text to it (e.g. from MS Word, another website, pdf ....)?
I would copy the contents from the page (tick view html checkbox below wysiwyg editor) and paste it in some plain text editor (like notepad on Windows).
Then search for suspicious characters, or just retype the content.
Thanks for your help.
Re: Error message on front end after updating page
For the future - use TinyMCE (not MicroTiny) as editor. Inside this module there's an Plugin for inserting text from word.
Re: Error message on front end after updating page
Good to know, thanks.chandra wrote:For the future - use TinyMCE (not MicroTiny) as editor. Inside this module there's an Plugin for inserting text from word.