Re: [SMARTY] could not load plugin file
| From: | travis at dawnstar dot org | Date: | Wed, 12 Jun 2002 19:34:01 +0000 |
| Subject: | Re: [SMARTY] could not load plugin file | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4817@lists.php.net to get a copy of this message | ||
THANK YOU!
Can this syntax also be used for non-Windows paths? It's not clear from
the manual page templates.from.any.dir.html.
cheers,
Travis
On Wed, 12 Jun 2002, Monte Ohrt wrote:
> Yes, you need to supply file: resource to there is no confusion, like this:
>
> file:C:/foo/bar
>
> travis@dawnstar.org wrote:
> > I thought of something. If the php code does something like:
> >
> > $te->fetch( $tplfile );
> >
> > And $tplfile contains a path such as "C:/foo/bar", would this cause the
> > problem?
> >
> > Travis
> >
> > On Wed, 12 Jun 2002 travis@dawnstar.org wrote:
> >
> >
> >>Not that I'm aware of. What code would I look for to give you a
> >>definitive answer?
> >>
> >>Travis
> >>
> >>On Wed, 12 Jun 2002, Monte Ohrt wrote:
> >>
> >>
> >>>Is the php application trying to register a resource named "c" ?
> >>>
> >>>travis@dawnstar.org wrote:
> >>>
> >>>>Please help! I have a php file which creates an instance of Smarty like
> >>>>so:
> >>>> require "Smarty.class.php";
> >>>> $te = new Smarty();
> >>>> (then a bunch of te->assign()s...)
> >>>>
> >>>>And certain users, noteably on Windows, are getting the following error:
> >>>>
> >>>>------------------------------------------------------------------------------
> >>>>Warning: Smarty plugin error: could not load plugin file
> >>>>c:\apache\include\plugins\resource.c.php in
> >>>>c:\apache\include\Smarty.class.php
> >>>>on line 1810
> >>>>
> >>>>Fatal error: Call to undefined function: () in
> >>>>c:\apache\include\Smarty.class.php on line 981
> >>>>------------------------------------------------------------------------------
> >>>>
> >>>>I can't reproduce the error, so I'm having a lot of trouble solving
> >>>>it.
> >>>>Please help! And let me know if you need more information.
> >>>>
> >>>>Travis
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>
>
>