Re: [SMARTY] Cannot redeclare smarty_core_load_plugins()
| From: | Robert Amos | Date: | Tue, 15 Mar 2005 11:39:15 +0000 |
| Subject: | Re: [SMARTY] Cannot redeclare smarty_core_load_plugins() | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12331@lists.php.net to get a copy of this message | ||
Just as a general rule, you should always clear your compiled template
directories when you update smarty.
$smarty->clear_compiled_tpl();
-bok
On Tue, 8 Mar 2005 18:04:24 +0100, Alexandre Cognard
<alexandre@reseaulocal.fr> wrote:
> Hi,
>
> I find the error.
>
> It seems that we need to Recompile all compiled template to fix this error
> :)
>
> Alexandre
>
> -----Message d'origine-----
> De : Alexandre Cognard [mailto:alexandre@reseaulocal.fr]
> Envoyé : mardi 8 mars 2005 17:41
> À : smarty-general@lists.php.net
> Objet : [SMARTY] Cannot redeclare smarty_core_load_plugins()
>
> Hi,
>
> I updated smarty from 2.6.6 to 2.6.7
>
> Everything works perfectly, I think.
>
> But, when I set $smarty->debugging to true, I got this error message :
>
> Fatal error: Cannot redeclare smarty_core_load_plugins() in
> /var/www/carbusiness/public_html/admin/ezfo/libs/internals/core.load_plugins
> .php on line 16 And the debugging popup doesn't open (because of the error,
> it corrupt the javascript code)
>
> Before, it worked perfectly (popup open correctly and no error message)
>
> I added some personal modifiers and function (just by adding it in plugins
> dir).
>
> Thanks for your help
> Alexandre
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Xnyo - http://xnyo.odynia.org/