Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Smarty
lol99
post 14.11.2010, 12:38:24
Post #1





Grupa: Zarejestrowani
Postów: 75
Pomógł: 0
Dołączył: 25.12.2008

Ostrzeżenie: (0%)
-----


  1. kod html
  2. {php}
  3. require_once('recaptchalib.php');
  4. $publickey = "6LfQuL4SAAAAAITEaz7FuK_1QAJKSaEDvM4rkxyg"; // you got this from the signup page
  5. echo recaptcha_get_html($publickey);
  6. {/php}
  7. kod html


  1. Fatal error: Uncaught exception 'SmartyException' with message '{php} is deprecated, set allow_php_tag = true to enable' in /home/wcislak2/domains/web-talk.pl/public_html/user/libs/plugins/block.php.php:21 Stack trace: #0 /home/wcislak2/domains/web-talk.pl/public_html/user/templates_c/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.file.index.tpl.php(107): smarty_block_php(Array, NULL, Object(Smarty_Internal_Template), true) #1 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/sysplugins/smarty_internal_template.php(422): include('/home/wcislak2/...') #2 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/sysplugins/smarty_internal_template.php(554): Smarty_Internal_Template->renderTemplate() #3 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate() #4 /home/wcislak2/domains/web-talk.pl/public_html/user/libs/Smarty.class.php(379): Smarty->fetch('index.tpl', NULL, NULL, NULL, true) #5 /home/wcislak2/domains/web-talk.pl/public_html/user/index.php( in /home/wcislak2/domains/web-talk.pl/public_html/user/libs/plugins/block.php.php on line 21


dlaczego nie chce działać kod php w szablonie tpl, a znajduje się z odpowiednim znaczniku?

Ten post edytował lol99 14.11.2010, 12:39:44
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 01:06