|
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 |
LifeGuarD Smarty n00b
Joined: 02 Aug 2003 Posts: 3
|
Posted: Sat Aug 02, 2003 4:59 pm Post subject: Plugin error? |
|
|
Hi!
i'm trying to install smarty on my server, running php5...
but i get this error:
Fatal error: Smarty error: [in novaleg.tpl line 6]: [plugin] unknown tag - 'Teste' (Smarty.class.php, line 2543) in /var/www/libs/Smarty.class.php on line 2652
this is a simple page....
index.php
<?php
require 'Smarty.class.php';
$smarty = new Smarty;
$smarty->compile_check = true;
$smarty->debugging = true;
$smarty->assign("Teste","jonis");
$smarty->display('novaleg.tpl');
?>
novaleg.tpl:
This is a test: {Teste)
doesn't work
whats wrong? ((
PS: libs/ folder is in my include_path |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sat Aug 02, 2003 6:51 pm Post subject: |
|
|
{$Teste} not {Teste}. the former is a variable (that you assinged in your php-code) the latter is a call to a plugin-function (that is unknown to your smarty).
HTH
messju |
|
Back to top |
|
LifeGuarD Smarty n00b
Joined: 02 Aug 2003 Posts: 3
|
Posted: Sun Aug 03, 2003 3:20 am Post subject: |
|
|
ooooopsss....
my mistake!
sorry |
|
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
|