Re: [SMARTY] could not load plugin file
| From: | travis at dawnstar dot org | Date: | Wed, 12 Jun 2002 19:27:14 +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-4814@lists.php.net to get a copy of this message | ||
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
> > >
> > >
> >
> >
> >
> >
>
>
>