Page 1 of 1
Error message on front end after updating page
Posted: Wed Jul 16, 2014 1:51 pm
by cptpicard
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?
Re: Error message on front end after updating page
Posted: Wed Jul 16, 2014 2:36 pm
by velden
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.
Re: Error message on front end after updating page
Posted: Wed Jul 16, 2014 2:43 pm
by cptpicard
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.
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.
Thanks for your help.
Re: Error message on front end after updating page
Posted: Wed Jul 16, 2014 4:03 pm
by chandra
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
Posted: Wed Jul 16, 2014 4:04 pm
by cptpicard
chandra wrote:For the future - use TinyMCE (not MicroTiny) as editor. Inside this module there's an Plugin for inserting text from word.
Good to know, thanks.