|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
azz0r Smarty Rookie
Joined: 23 Apr 2007 Posts: 15
|
Posted: Mon Nov 30, 2009 3:02 pm Post subject: 'Unexpected input at line3: |
|
|
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 "Site," "Sites," "SITE," or "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 "visitor", "member", "subscriber" and "Site user" shall, depending on your status, shall mean and otherwise refer to you. The term "Third Party Program Participants" 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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon Nov 30, 2009 6:20 pm Post subject: |
|
|
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 |
|
azz0r Smarty Rookie
Joined: 23 Apr 2007 Posts: 15
|
Posted: Tue Dec 01, 2009 4:39 pm Post subject: |
|
|
Correct, thanks |
|
Back to top |
|
|
|
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
|