Re: [SMARTY] misleading error
| From: | Monte Ohrt | Date: | Wed, 10 Mar 2004 22:00:12 +0000 |
| Subject: | Re: [SMARTY] misleading error | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11090@lists.php.net to get a copy of this message | ||
The error is correct, it couldn't load the plugin file. If the insert
function doesn't exist then the plugin is attempted. If that doesn't
work it errors out.
On Wed, 2004-03-10 at 15:48, Jeff Orrok wrote:
> Hi,
>
> When smarty can't find an insert function, it compains about plugins instead.
>
> Fatal error: Smarty error: [in customer/main/buy_now.tpl line 17]: [plugin] could not load
> plugin file 'insert.customer_options.php' (Smarty.class.php, line 2543) in
> /var/www/html/xcart/Smarty-2.5.0/Smarty.class.php on line 2652
>
> Shouldn't it say something like
>
> could not find function insert_customer_options
>
> Regards,
>
> Jeff