plugins not working
| From: | Chris Hubbard | Date: | Sun, 13 Jul 2003 03:36:32 +0000 |
| Subject: | plugins not working | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9880@lists.php.net to get a copy of this message | ||
Ok. I'm stuck and I've tried a number of things and none of them seem to
work.
I've got the following folder structure.
html/
functions/
smarty files
plugins/ drwxr-xr-x
ir/
hq.php
templates/
hq.tpl
templats_c/
Smarty.class.php contains the following line:
var $plugins_dir = array('plugins'); // plugin directories
when I try to run the php file I get the following:
Fatal error: Smarty plugin error: [in hq.tpl line 23]: unknown tag - 'image'
in /home/r/f/user/html/functions/Smarty.class.php on line 1980
I've tried setting the line in the Smarty.class.php to:
var $plugins_dir = array('/home/r/f/user/html/functions/plugins/');
// plugin directories
Other than the plugins not working Smarty seems to be working fine.
Any suggestions as to what I'm doing wrong?
Chris Hubbard
chris@wildcharacters.com
www.wildcharacters.com
425 481 2020
php based web application development
Y! hoponpopontoponmoponcop@yahoo.com
MSN another_ganesha@hotmail.com
AIM ganeshacph