Re: [SMARTY] could not load plugin file

From: Date: Wed, 12 Jun 2002 18:44:44 +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-4815@lists.php.net to get a copy of this message
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
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#4815) next »