Re: [SMARTY] Smarty 2.2.0 undefined function?

From: Date: Thu, 25 Jul 2002 21:01:03 +0000
Subject: Re: [SMARTY] Smarty 2.2.0 undefined function?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5454@lists.php.net to get a copy of this message
The problem in my case was that i had to put {include_php file="file:smartyscripts/toplist.php"} instead of {include_php file="smartyscripts/toplist.php"} Then it worked. Christoph Jaime Ashander wrote: >> Upon installing smarty 2.2.0 into my win2k machine with PHP 4.2.1, >> apache 2.035, I ran the default index.php file that came with the >> smarty package and ran into the following error at the very end of >> the sample output: >> >> Fatal error: Call to undefined function: () in >> C:\mike\odd\web\cac2\includes\smarty.class.php on line 998 > > Is the plugins in the includes dir? > > I have had this problem also: cf. 'strange debug errors' > >> I got a similar error under win2000 running 2.2.0 and php 4.2.1 > although it >was in Smarty.class.php, it was still a call to undefined > function:() > > > as has > Jim: >> I get this error on Windows XP with Smarty 2.2.0 and PHP 4.2.1 and >> PHP 4.1.1. If I copy the whole smarty directory onto a Linux >> system, and run >the exact same script, it works like a charm. Go >> figure! > > > I don't know the problem. I couldn't fix it. My trees were set up > correctly before I updated. > > I reverted to 2.0.1 and it worked . . . > > jaime

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