Re: directory problem with smarty 2.0
| From: | Monte Ohrt | Date: | Mon, 04 Mar 2002 19:48:43 +0000 |
| Subject: | Re: directory problem with smarty 2.0 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2954@lists.php.net to get a copy of this message | ||
Try not defining the SMARTY_DIR, see if that helps. If you don't define
it, it should figure it out relative to Smarty.class.php.
atu wrote:
>
> 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?????
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.