|
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 |
goalsurfer Smarty Rookie
Joined: 30 Oct 2009 Posts: 29 Location: Brussels
|
Posted: Thu Dec 17, 2009 11:07 am Post subject: function "escape" not implemented in guestbook |
|
|
After have changed one and another I get next error message:
"Fatal error: Smarty error: [in guestbook.tpl line 9]: [plugin] modifier 'escape' is not implemented (core.load_plugins.php, line 118) in path_ to ...\smarty\libs\Smarty.class.php on line 1093"
I wonder if I changed things wrong but I don't find an answer in the docs for all errors I get. E.g. I added myself the path for SMART_CORE_DIR in index.php. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Dec 17, 2009 2:35 pm Post subject: |
|
|
It looks like Smarty cannot find the plugins_dir. Do any of your plugins work? |
|
Back to top |
|
goalsurfer Smarty Rookie
Joined: 30 Oct 2009 Posts: 29 Location: Brussels
|
Posted: Thu Dec 17, 2009 4:31 pm Post subject: plugins |
|
|
I never had problems with any plugin. There is nex in my .php file:
$smarty->plugins_dir = $path.'\smarty\libs\plugins';
Isn't that enough to make them work? |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Dec 17, 2009 4:37 pm Post subject: |
|
|
you shouldn't have to set the SMARTY_CORE_DIR. Just set SMARTY_DIR, or just include the Smarty.class.php file and it will set itself. |
|
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
|