NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] PEAR: HTML_TEMPLATE_IT


Joined: 22 Nov 2006
Posts: 9
Reply with quote
Sorry for the Newbie question. I ran the go-pear.bat file in the php5 directory and my paths in the php.ini file read:

Code:
include_path = ".;C:\Program Files\nusphere\phped\php5\..\include_lib;C:\Program Files\nusphere\phped\php5\PEAR"


However, using:

Code:
require ('HTML/Template/IT.php');
$template = new HTML_Template_IT("_tpl/");


fails to work. What am I doing wrong or missing??

Thank You!!!
View user's profileFind all posts by schaganeSend private message


Joined: 10 Feb 2004
Posts: 93
Reply with quote
This might sound like a dumb question, but do you actually have the IT.php file at C:\Program Files\nusphere\phped\php5\PEAR\HTML\Template\ ? I know in my default NuSphere installation HTML_Template_IT is a tgz file that hasnt been extracted yet.
View user's profileFind all posts by gilzowSend private messageAIM Address


Joined: 22 Nov 2006
Posts: 9
Reply with quote
No, I do not see the IT.php file. In fact I don't see the HTML\Template directory under php5\PEAR.

I found the HTML_Template_IT-1.1.tgz file, but it is under the php\PEAR\go-pear-bundle directory and not under the php5\PEAR directory.

Thanks!!
View user's profileFind all posts by schaganeSend private message
Solved


Joined: 22 Nov 2006
Posts: 9
Reply with quote
I fixed it by running "pear.bat install HTML_Template_IT". I didn't realize that this was an optional PEAR Package that I needed to install myself.

Thanks!!
View user's profileFind all posts by schaganeSend private message
[resolved] PEAR: HTML_TEMPLATE_IT
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic