Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

'Unexpected input at line3:

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
azz0r
Smarty Rookie


Joined: 23 Apr 2007
Posts: 15

PostPosted: Mon Nov 30, 2009 3:02 pm    Post subject: 'Unexpected input at line3: Reply with quote

Code:
Fatal error: Uncaught exception 'Exception' with message 'Unexpected input at line3: .' in /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smarty-3.0b5/sysplugins/smarty_internal_templatelexer.php:242 Stack trace: #0 /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smarty-3.0b5/sysplugins/smarty_internal_templatelexer.php(102): Smarty_Internal_Templatelexer->yylex1() #1 /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smarty-3.0b5/sysplugins/smarty_internal_smartytemplatecompiler.php(44): Smarty_Internal_Templatelexer->yylex() #2 /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smarty-3.0b5/sysplugins/smarty_internal_templatecompilerbase.php(80): Smarty_Internal_SmartyTemplateCompiler->doCompile('<div id="privac...') #3 /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smarty-3.0b5/sysplugins/smarty_internal_template.php(288): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #4 /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smar in /Users/aaron/Sites/maleserve.tv/application/trunk/library/Smarty-3.0b5/sysplugins/smarty_internal_templatelexer.php on line 242


From the following:

Code:
<div id="privacy-page">
<h1>PRIVACY POLICY</h1>
<p>Your privacy is very important to Online Developments LLC. The following Privacy Policy explains how we collect, use and safeguard the information you provide to us through the Online Developments LLC owned and/or operated web site(s) (Hereinafter referred to as &quot;Site,&quot; &quot;Sites,&quot; &quot;SITE,&quot; or &quot;SITES) and their related features and functions. As of February 13, 2009, the Site includes {$site.name}.</p>
<p>We are committed to respecting and safeguarding your privacy online, as set forth in this Privacy Policy. This Privacy Policy sets forth the policies and practices of the Company with respect to information and other data that is received or gathered regarding visitors to, and members, subscribers and other users of, the Site and services provided by or related to the Site. The use of the terms &quot;visitor&quot;, &quot;member&quot;, &quot;subscriber&quot; and &quot;Site user&quot; shall, depending on your status, shall mean and otherwise refer to you. The term &quot;Third Party Program Participants&quot; shall mean merchants, advertisers, promoters, content providers and others that the Company contracts with to provide goods and services via programs and Offers (as that term is defined below) available to Site users.</p>


Problem piece of code:
Code:
others that the Company contracts with to provide goods and services via programs and Offers (as that term is defined below) available to Site users.


Removing bits of the tiny bit above makes it work.

Ideas?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Mon Nov 30, 2009 6:20 pm    Post subject: Reply with quote

Your supplied code does not create any problems on my place.

Please check the setting for pcre.backtrack_limit in PHP.INI. May be you have a very low setting. It should be at least 100000.
Back to top
View user's profile Send private message
azz0r
Smarty Rookie


Joined: 23 Apr 2007
Posts: 15

PostPosted: Tue Dec 01, 2009 4:39 pm    Post subject: Reply with quote

Correct, thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP