Smarty Errors related to CSS problem?
Smarty Errors related to CSS problem?
I'm running CMS Version 1.4.1 on FreeBSD 6.2-RELEASE-p10 and all system requirements are "OK". However, my homepage doesn't seem to be fetching the css properly: http://www.whatsthebigidea.com/cms/index.php
I thought it might be a rewrite issue, so I removed the "friendly url" options and .htaccess rules though still no good. I do see the below code when previewing pages through the pages editor:
string(164) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'http://wiki.cmsmadesimple.org/\' (Smarty_Compiler.class.php, line 1547)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(158) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Documentation\' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'documentation\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(164) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'http://forum.cmsmadesimple.org\' (Smarty_Compiler.class.php, line 1547)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Forum\' (Smarty_Compiler.class.php, line 1555)" string(139) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'forum\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(172) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'http://www.cmsmadesimple.org/IRC.shtml\' (Smarty_Compiler.class.php, line 1547)" string(155) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Information' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'about' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'the' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'IRC' (Smarty_Compiler.class.php, line 1555)" string(152) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'channel\' (Smarty_Compiler.class.php, line 1555)" string(137) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'IRC\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(179) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: invalid attribute name: 'http://www.gnu.org/licenses/licenses.html#GPL\' (Smarty_Compiler.class.php, line 1547)" string(151) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: expecting '=' after attribute name 'General' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: expecting '=' after attribute name 'Public' (Smarty_Compiler.class.php, line 1555)" string(152) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: expecting '=' after attribute name 'License\' (Smarty_Compiler.class.php, line 1555)" string(137) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: invalid attribute name: 'GPL\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)"
Any help would be welcomed.
Thanks!!
I thought it might be a rewrite issue, so I removed the "friendly url" options and .htaccess rules though still no good. I do see the below code when previewing pages through the pages editor:
string(164) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'http://wiki.cmsmadesimple.org/\' (Smarty_Compiler.class.php, line 1547)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(158) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Documentation\' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'documentation\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(164) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'http://forum.cmsmadesimple.org\' (Smarty_Compiler.class.php, line 1547)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Forum\' (Smarty_Compiler.class.php, line 1555)" string(139) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'forum\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(172) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'http://www.cmsmadesimple.org/IRC.shtml\' (Smarty_Compiler.class.php, line 1547)" string(155) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Information' (Smarty_Compiler.class.php, line 1555)" string(149) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'about' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'the' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'CMS' (Smarty_Compiler.class.php, line 1555)" string(148) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Made' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'Simple' (Smarty_Compiler.class.php, line 1555)" string(147) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'IRC' (Smarty_Compiler.class.php, line 1555)" string(152) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: expecting '=' after attribute name 'channel\' (Smarty_Compiler.class.php, line 1555)" string(137) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: 'IRC\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 119]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)" string(179) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: invalid attribute name: 'http://www.gnu.org/licenses/licenses.html#GPL\' (Smarty_Compiler.class.php, line 1547)" string(151) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: expecting '=' after attribute name 'General' (Smarty_Compiler.class.php, line 1555)" string(150) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: expecting '=' after attribute name 'Public' (Smarty_Compiler.class.php, line 1555)" string(152) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: expecting '=' after attribute name 'License\' (Smarty_Compiler.class.php, line 1555)" string(137) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: invalid attribute name: 'GPL\' (Smarty_Compiler.class.php, line 1547)" string(140) "Smarty error: [in preview:cmspreviewBpBtdF line 121]: syntax error: invalid attribute name: '_blank\' (Smarty_Compiler.class.php, line 1547)"
Any help would be welcomed.
Thanks!!
Re: Smarty Errors related to CSS problem?
It seems to work ONLY when I have debug on in config.php... ??
Re: Smarty Errors related to CSS problem?
Delete all files in tmp/templates_c and tmp/cache and disable debug in config.phpDavidRad wrote: It seems to work ONLY when I have debug on in config.php... ??
Post a message when you are ready, in this way we can look your errors
Alby
Re: Smarty Errors related to CSS problem?
Thanks for the reply. I did what you instructed, though there are no apparent errors, on the Apache logo file or printed on the homepage: http://www.whatsthebigidea.com/cms/index.php. BTW, if I hard code the style sheet directly in a copy of the homepage, it works fine. Also, if I try manually calling http://www.whatsthebigidea.com/cms/styl ... p?cssid=39 or http://www.whatsthebigidea.com/cms/styl ... p?cssid=31 in a browser I get a scrambled output.
Last edited by DavidRad on Tue Oct 14, 2008 10:55 am, edited 1 time in total.
Re: Smarty Errors related to CSS problem?
OK http://www.whatsthebigidea.com/cms/modu ... esheet.cssDavidRad wrote: Thanks for the reply. I did what you instructed, though there are no apparent errors, on the Apache logo file or printed on the homepage: http://www.whatsthebigidea.com/cms/index.php
NO http://www.whatsthebigidea.com/cms/styl ... ype=screen
NO http://www.whatsthebigidea.com/cms/styl ... ype=screen
NO http://www.whatsthebigidea.com/cms/styl ... p?cssid=34
NO http://www.whatsthebigidea.com/cms/styl ... ype=screen
NO http://www.whatsthebigidea.com/cms/styl ... type=print
Alby
Re: Smarty Errors related to CSS problem?
Maybe I'm slow. What should I interpret from your reply? Thanks.
Re: Smarty Errors related to CSS problem?
Have you tried to open link?DavidRad wrote: Maybe I'm slow. What should I interpret from your reply? Thanks.
Alby
Re: Smarty Errors related to CSS problem?
Sure. The bottom "NO" links appear scrambled. Are they not supposed to be parsed via php and corrected displayed?
I sure could use some help here...
Still can't get the CSS to work. 

Re: Smarty Errors related to CSS problem?
Is this the same problem you posted here:
http://forum.cmsmadesimple.org/index.php/topic,26702.0/topicseen.html
If so please try and not post twice
Check your config.php paths? I think I've seen this before and it was solved by either checking you rights or by putting it in the root of the domain not in a subdirectory. You could also look as using the 'RewriteBase' in your .httaccess file if required?
http://forum.cmsmadesimple.org/index.php/topic,26702.0/topicseen.html
If so please try and not post twice

Check your config.php paths? I think I've seen this before and it was solved by either checking you rights or by putting it in the root of the domain not in a subdirectory. You could also look as using the 'RewriteBase' in your .httaccess file if required?
Re: Smarty Errors related to CSS problem?
This seems to be an encoding problem. It looks to be exporting it as Unicode. Unfortunately, PHP as it currently stands, does not really support Unicode all that well.
Re: Smarty Errors related to CSS problem?
Yes, Russ is right : DavidRad, please follow forum rules, don't cross post.Russ wrote: Is this the same problem you posted here:
http://forum.cmsmadesimple.org/index.php/topic,26702.0/topicseen.html
If so please try and not post twice![]()
Pierre M.
Re: Smarty Errors related to CSS problem?
This "files" are not encoded but compress with gz (try to save url with .gz)DavidRad wrote: Sure. The bottom "NO" links appear scrambled. Are they not supposed to be parsed via php and corrected displayed?
Now check your config.php for:
$config['output_compression'] and put to false
Alby
Re: Smarty Errors related to CSS problem?
Sorry for the double postalby wrote:This "files" are not encoded but compress with gz (try to save url with .gz)DavidRad wrote: Sure. The bottom "NO" links appear scrambled. Are they not supposed to be parsed via php and corrected displayed?
Now check your config.php for:
$config['output_compression'] and put to false
Alby

The config.php says: $config['output_compression'] = false;
I tried coping the site from ./cms into root and still the gzip problem exists.
Re: Smarty Errors related to CSS problem?
Hello,
I did a fresh install of CMS Version 1.4.1 and have the exact same issue. Older versions worked fine on the same server.
CSS encoding is messed up unless I turn on debug mode, then it appears fine.
I have compression set to false:
$config['output_compression'] = false;
Any other ideas?
I may have to use an older version as I need a solution soon.
I did a fresh install of CMS Version 1.4.1 and have the exact same issue. Older versions worked fine on the same server.
CSS encoding is messed up unless I turn on debug mode, then it appears fine.
I have compression set to false:
$config['output_compression'] = false;
Any other ideas?
I may have to use an older version as I need a solution soon.