Error message on front end after updating page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
cptpicard
Forum Members
Forum Members
Posts: 14
Joined: Mon Apr 20, 2009 1:55 pm

Error message on front end after updating page

Post 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?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Error message on front end after updating page

Post 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.
cptpicard
Forum Members
Forum Members
Posts: 14
Joined: Mon Apr 20, 2009 1:55 pm

Re: Error message on front end after updating page

Post 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.
chandra

Re: Error message on front end after updating page

Post by chandra »

For the future - use TinyMCE (not MicroTiny) as editor. Inside this module there's an Plugin for inserting text from word.
cptpicard
Forum Members
Forum Members
Posts: 14
Joined: Mon Apr 20, 2009 1:55 pm

Re: Error message on front end after updating page

Post 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.
Post Reply

Return to “CMSMS Core”