Re: [SMARTY] could not load plugin file
| From: | Monte Ohrt | Date: | Wed, 12 Jun 2002 18:42:37 +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-4813@lists.php.net to get a copy of this message | ||
something like:
$smarty->register_resource("c", array(...));
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:-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.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