Smarty error msgs in my content tag

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
symbolist
Forum Members
Forum Members
Posts: 18
Joined: Sat Aug 16, 2008 5:14 pm

Smarty error msgs in my content tag

Post by symbolist »

I just finished converting a core template to my own purposes... lol. First time, so this issue probably somehow related to me!

In my content tag results, when first arriving on a page via a menu link, I get errors like these below, and the pages content is right below it. Hopefully someone will have at least a slight hint about where to look and what to look for! And, if I refresh that page all these errors disappear and everything seems fine and it generally doesn't happen again.
---

"string(130) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: margin: 0.79in (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(175) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: margin-right: 1in; margin-top: 0.5in; margin-bottom: 0.25in (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(195) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: margin-top: 0in; margin-bottom: 0in; text-align: justify; widows: 2; orphans: 2 (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(211) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: font-family: "Times New Roman", serif; font-size: 10pt; font-style: italic; font-weight: normal (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(205) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: font-family: "Arial Unicode MS"; font-size: 10pt; font-style: italic; font-weight: normal (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(175) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: font-family: "Tahoma"; font-size: 12pt; font-weight: normal (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(137) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: margin-bottom: 0.08in (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

----

Thoughts?

Here's the content area code:

{* Start Content Area, the back1, back2, back3, hold the 3 outside images, main holds the 4th one, to make the box complete, if the template were fixed width not fluid we could use just 2 divs and 2 images, 1 top 1 bottom *}
       
         
           
             
                {print showbutton=true script=true}
                {title}
                {content}
               
{* to insure space below content *}

{* Start relational links *}
{* note this is the right side, when you float: divs you need to have float: right; divs first *}
           
              {anchor anchor='main' text='^ Top'}
           
           
              {cms_selflink dir="previous" label="Previous page: "}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}

             

              {cms_selflink dir="next"}
             
           
{* End relational links *}

               
               
             
           
         
       
{* End Content Area *}


TIA!
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Smarty error msgs in my content tag

Post by Jeff »

Somewhere you are processing styles(stylesheet) with smarty.
symbolist
Forum Members
Forum Members
Posts: 18
Joined: Sat Aug 16, 2008 5:14 pm

Re: Smarty error msgs in my content tag

Post by symbolist »

I wouldn't know how I did that or what to look for if I am. The code above is stock code ...

What do I look for?

Thanks
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Smarty error msgs in my content tag

Post by Jeff »

It is in your template somewhere. My guess to why it only happens the first time is that you are also caching your stylesheet so it only processes them the first run through.
Post Reply

Return to “CMSMS Core”