Re: [SMARTY] Urgent help with smarty!
| From: | messju mohr | Date: | Thu, 08 May 2003 09:38:44 +0000 |
| Subject: | Re: [SMARTY] Urgent help with smarty! | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9505@lists.php.net to get a copy of this message | ||
On Thu, May 08, 2003 at 01:33:12PM +0200, Manfred Stienstra wrote:
> On Thursday 08 May 2003 11:30, John Wards wrote:
> > Help
> >
> > Need to display a product in 10 minutes and I am getting this error:
> >
> > Fatal error: [] operator not supported for strings in
> > /usr/local/lib/php/Smarty.class.php on line 2409
> >
> > Line 2409 is $_relative_paths[] = $_plugin_dir;
> >
> > Any ideas?
yes, it seems, there is something wrong. as a quick-fix, use absolute
paths as $smarty->plugins_dir(s).
> $_relative_paths is a string and should be an array. Maybe there is something
> wrong with the config. In my version I really don't see how this could
> happen, but I'm looking at a older version.
>
> Manfred
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php