• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: error on assign in a smarty template
PostPosted: Fri Jul 27, 2012 5:21 pm 
Offline
New Member
New Member

Joined: Sat Mar 20, 2010 12:10 pm
Posts: 8
In a template (which works fine in 1.10.3) I get the following error:

Code:
OMG! You broke this page.
Error: at line 656 in file D:\wamp\www\ph1.11\lib\smarty\sysplugins\smarty_internal_templatecompilerbase.php:

Message:

Syntax Error in template "96fe65b6569c1054e0dcbb74aa499c624f486433"  on line 90 "{assign var="movie"  value="http://www.youtube.com/v/`$item->videoid`&hl=`$item->lang`&fs=`$item->fullscreen_int`&rel=0&color1=`$item->color1`&color2=`$item->color2`&border=1&autoplay=`$item->autoplay`"}" missing "value" attribute

I am on svn 8201


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: error on assign in a smarty template
PostPosted: Fri Jul 27, 2012 6:08 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 12631
Location: Arizona
You need to show the 'before' code...

_________________
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: error on assign in a smarty template
PostPosted: Sat Jul 28, 2012 6:29 pm 
Offline
New Member
New Member

Joined: Sat Mar 20, 2010 12:10 pm
Posts: 8
I finally understood what's happening!
Apparently, smarty (or at least the smarty parser in cmsms 1.11) does not manage tabs (not screen parts but \t) correctly any more...
In the line above there is a tab between var="movie" and value="...
I just removed the \t and the error moved to the next one 5 lines further...

Should be corrected I think...


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
HostPapa CMS Made Simple hosting