directory problem with smarty 2.0
| From: | atu | Date: | Mon, 04 Mar 2002 19:21:50 +0000 |
| Subject: | directory problem with smarty 2.0 | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2952@lists.php.net to get a copy of this message | ||
Hi,
After extracting smarty I put all the core file except index.php from the main directory in a subdirectory calling smarty.
I change in index.php:
require 'smarty/Smarty.class.php';
and in Smarty.class.php:
define('SMARTY_DIR', 'smarty/');
This work fine in Smarty 1.5.2, but in smarty 2.0 I get the following errors:
Warning: Smarty plugin error: [in index.tpl line 9]: modifier 'capitalize' is not implemented in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in index.tpl line 12]: modifier 'date_format' is not implemented in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in index.tpl line 24]: modifier 'upper' is not implemented in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in index.tpl line 14]: unknown tag - 'popup' in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in index.tpl line 66]: unknown tag - 'html_select_date' in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in index.tpl line 72]: unknown tag - 'html_select_time' in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in index.tpl line 79]: unknown tag - 'html_options' in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Warning: Smarty plugin error: [in header.tpl line 3]: unknown tag - 'popup_init' in c:\website\smarty-2.0\smarty\Smarty.class.php on line 1679
Fatal error: Call to undefined function: () in c:\website\smarty-2.0\templates_c\-13\-135052920\0.php on line 6
Whats going wrong?????