Smarty Errors related to CSS problem?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

Smarty Errors related to CSS problem?

Post by DavidRad »

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

Re: Smarty Errors related to CSS problem?

Post by DavidRad »

It seems to work ONLY when I have debug on in config.php... ??
alby

Re: Smarty Errors related to CSS problem?

Post by alby »

DavidRad wrote: It seems to work ONLY when I have debug on in config.php... ??
Delete all files in tmp/templates_c and tmp/cache and disable debug in config.php
Post a message when you are ready, in this way we can look your errors

Alby
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

Re: Smarty Errors related to CSS problem?

Post by DavidRad »

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

Re: Smarty Errors related to CSS problem?

Post by DavidRad »

Maybe I'm slow. What should I interpret from your reply? Thanks.
alby

Re: Smarty Errors related to CSS problem?

Post by alby »

DavidRad wrote: Maybe I'm slow. What should I interpret from your reply? Thanks.
Have you tried to open link?

Alby
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

Re: Smarty Errors related to CSS problem?

Post by DavidRad »

Sure. The bottom "NO" links appear scrambled. Are they not supposed to be parsed via php and corrected displayed?
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

I sure could use some help here...

Post by DavidRad »

Still can't get the CSS to work.  ???
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: Smarty Errors related to CSS problem?

Post by Russ »

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?
User avatar
duclet
Forum Members
Forum Members
Posts: 187
Joined: Fri Jun 23, 2006 12:55 pm

Re: Smarty Errors related to CSS problem?

Post by duclet »

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.
Pierre M.

Re: Smarty Errors related to CSS problem?

Post by Pierre M. »

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 ;-)
Yes, Russ is right : DavidRad, please follow forum rules, don't cross post.

Pierre M.
alby

Re: Smarty Errors related to CSS problem?

Post by alby »

DavidRad wrote: Sure. The bottom "NO" links appear scrambled. Are they not supposed to be parsed via php and corrected displayed?
This "files" are not encoded but compress with gz (try to save url with .gz)
Now check your config.php for:
$config['output_compression'] and put to false

Alby
DavidRad
Forum Members
Forum Members
Posts: 14
Joined: Fri Sep 19, 2008 7:09 pm

Re: Smarty Errors related to CSS problem?

Post by DavidRad »

alby wrote:
DavidRad wrote: Sure. The bottom "NO" links appear scrambled. Are they not supposed to be parsed via php and corrected displayed?
This "files" are not encoded but compress with gz (try to save url with .gz)
Now check your config.php for:
$config['output_compression'] and put to false

Alby
Sorry for the double post :-\

The config.php says: $config['output_compression'] = false;

I tried coping the site from ./cms into root and still the gzip problem exists.
caldazar

Re: Smarty Errors related to CSS problem?

Post by caldazar »

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.
Locked

Return to “[locked] Installation, Setup and Upgrade”