Smarty errors on page preview

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
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

Smarty errors on page preview

Post by DavidRad »

When previewing pages in admin I see these types of smarty errors:

string(163) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: 'http://wiki.cmsmadesimple.org/\' (Smarty_Compiler.class.php, line 1547)" string(146) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(157) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Documentation\' (Smarty_Compiler.class.php, line 1555)" string(146) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: 'documentation\' (Smarty_Compiler.class.php, line 1547)" string(139) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(163) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: 'http://forum.cmsmadesimple.org\' (Smarty_Compiler.class.php, line 1547)" string(146) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Forum\' (Smarty_Compiler.class.php, line 1555)" string(138) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: 'forum\' (Smarty_Compiler.class.php, line 1547)" string(139) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(171) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: 'http://www.cmsmadesimple.org/IRC.shtml\' (Smarty_Compiler.class.php, line 1547)" string(154) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Information' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'about' (Smarty_Compiler.class.php, line 1555)" string(146) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'the' (Smarty_Compiler.class.php, line 1555)" string(146) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(146) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'IRC' (Smarty_Compiler.class.php, line 1555)" string(151) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: expecting '=' after attribute name 'channel\' (Smarty_Compiler.class.php, line 1555)" string(136) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: 'IRC\' (Smarty_Compiler.class.php, line 1547)" string(139) "Smarty error: [in preview:cmspreviewwb6SBI line 27]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(178) "Smarty error: [in preview:cmspreviewwb6SBI line 29]: syntax error: invalid attribute name: 'http://www.gnu.org/licenses/licenses.html#GPL\' (Smarty_Compiler.class.php, line 1547)" string(150) "Smarty error: [in preview:cmspreviewwb6SBI line 29]: syntax error: expecting '=' after attribute name 'General' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewwb6SBI line 29]: syntax error: expecting '=' after attribute name 'Public' (Smarty_Compiler.class.php, line 1555)" string(151) "Smarty error: [in preview:cmspreviewwb6SBI line 29]: syntax error: expecting '=' after attribute name 'License\' (Smarty_Compiler.class.php, line 1555)" string(136) "Smarty error: [in preview:cmspreviewwb6SBI line 29]: syntax error: invalid attribute name: 'GPL\' (Smarty_Compiler.class.php, line 1547)" string(139) "Smarty error: [in preview:cmspreviewwb6SBI line 29]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)"

Anything got be concerned about? Thanks
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

Re: Smarty errors on page preview

Post by DavidRad »

BTW, these smarty errors appear in the Preview of pages in admin. Any feedback would be appreciated. Thanks.
simb
Forum Members
Forum Members
Posts: 26
Joined: Fri Apr 21, 2006 8:17 pm

Re: Smarty errors on page preview

Post by simb »

Unfortunally I have the same problem.
I've also read the topic at http://forum.cmsmadesimple.org/index.ph ... 642.0.html and tried the suggested solution, but it didn't worked for me.

It is a preview only issue. Database is UTF-8. Cache cleared. All folders have the permission 744 but passed the tests as the php- and apache-user are the same as my ftp-user.

Also tried to update tinyMCE from 2.4.13 (shipped with CMSMS) to 2.5.0beta3, but it doesn't seem to be a tinyMCE issue.
I assumed this as additionally to the reported smarty errors, all special chars (',",\) are quoted with a back slash (\) instead of converted to HTML-entities. But this is also a preview only issue.

magic_quotes_runtime is disabled.

Im on CMSMS version 1.5.4 and also tried to re-install but it didn't changed.

Any help is really appreciated
Post Reply

Return to “CMSMS Core”