|
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 |
tatya Smarty n00b
Joined: 16 Dec 2010 Posts: 3
|
Posted: Thu Dec 16, 2010 9:46 pm Post subject: Fatal error: Using $this when not in object context |
|
|
Fatal error: Using $this when not in object context in C:\AppServ\www\Project\XXX\plugins\block.php.php(23) : eval()'d code on line 7
J’ai eu ce message lorsque j’insere le code dans le Template :
{php}
$id = '5&house';
$x = base64_encode($id);
$this->assign('var',$x );
{/php}
aide |
|
Back to top |
|
Gowser Smarty Pro
Joined: 19 Feb 2008 Posts: 104 Location: Nantes (France)
|
Posted: Fri Dec 17, 2010 6:32 pm Post subject: |
|
|
Bonjour / bonsoir
Quelle version de smarty utilises-tu?
++ _________________ N'oubliez pas de mettre le tag "[Résolu]" sur vos post |
|
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
|