SMARTY_DIR not being set properly?
| From: | sherwin lim | Date: | Wed, 27 Mar 2002 06:35:46 +0000 |
| Subject: | SMARTY_DIR not being set properly? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3383@lists.php.net to get a copy of this message | ||
i have the Smarty classes placed in a different
directory and i have reflected the changeinto the
'include_path'
when i tried running the sample index.php file, i am
getting the following error:
--snip--
Warning: Smarty plugin error: [in index.tpl line 9]:
modifier 'capitalize' is not implemented in ...
Warning: Smarty plugin error: [in index.tpl line 12]:
modifier 'date_format' is not implemented in ...
...
Fatal error: Call to undefined function: () in ...
--snip--
i tried fixing this problem by setting
define('SMARTY_DIR','/home/mydirectory/php/');
require (SMARTY_DIR . 'Smarty.class.php');
but i still got the same errors.
any ideas?
cheers.
______________________________________________________________________
File your taxes online! http://taxes.yahoo.ca