FW: [SMARTY] Smarty Install Problems

From: Date: Wed, 17 Jul 2002 02:27:47 +0000
Subject: FW: [SMARTY] Smarty Install Problems
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5347@lists.php.net to get a copy of this message
Jim Try php 4.1 and see how you go... -----Original Message----- From: Jim Dam [mailto:jim.dam@cogeco.ca] Sent: Wednesday, 17 July 2002 1:58 AM To: smarty-general@lists.php.net Subject: Re: [SMARTY] Smarty Install Problems I went back to Apache 1.3 and it works better now, thanks! But I still get this error at the bottom of the page (while running the index.php that comes with Smarty): Fatal error: Call to undefined function: () in c:\program files\apache\htdocs\Smarty.class.php on line 998 Does anybody know how to fix it? Do I need to go back to PHP 4.1 (I'm using 4.2.1 now)? This is line 996-999: if ($get_source) { $resource_func = $this->_plugins['resource'][$resource_type][0][0]; $_source_return = $resource_func($resource_name, $template_source, $this); } Thanks, Jim ----- Original Message ----- From: "Sam Saltis" <sam@bharvest.com> To: <smarty-general@lists.php.net> Cc: "'Jim Dam'" <jim.dam@cogeco.ca> Sent: Tuesday, July 16, 2002 10:18 AM Subject: RE: [SMARTY] Smarty Install Problems > Jim, > > I have just installed XP and had the same configuration as you and found > many PHP programs functioning strangely. What I found was that php 4.2 > and apache 2 are unstable together...I resolved this by installing php > 4.1 and apache 1.3. Everything works fine... > > p.S there is also an xp bug that can be rectified with the service > pack.. > > Cheers, > Sam. > > -----Original Message----- > From: Jim Dam [mailto:jim.dam@cogeco.ca] > Sent: Tuesday, 16 July 2002 8:50 AM > To: 'Smarty' > Subject: [SMARTY] Smarty Install Problems > > Hello all, > > I am trying to install Smarty 2.2 on my computer, running PHP 4.2 on > Apache > 2.0.36 on Windows XP. I extracted Smarty's to my htdocs folder (they > are > directly in my htdocs directory, not under Smarty-2... directory), and I > tried to run the index.php script that comes with Smarty. Here is the > error > I received: > --------------------- > Warning: Failed opening '\N117\N1172603085\index.tpl.php' for inclusion > (include_path='.;c:\php\includes') in C:\Program Files\Apache > Group\Apache2\htdocs\Smarty.class.php on line 650 > > Fatal error: Call to undefined function: () in C:\Program Files\Apache > Group\Apache2\htdocs\Smarty.class.php on line 998 > --------------------- > I got this same message while trying to follow the installation > instructions > in the documentation with Smarty in a seperate directory. Has anybody > else > had this problem, or know of how to fix it? > > Thanks a million. > > Jim > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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