PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
go-pear, the template directory is not a directo or readable

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
horseatingweeds



Joined: 15 Apr 2008
Posts: 10

PostPosted: Tue Apr 15, 2008 8:47 pm    Post subject: go-pear, the template directory is not a directo or readable Reply with quote

I've installed Pear with go-pear on my local system (win,php5,apache2) to be like the environment I have on a hosted server. There are some problems though.

Here is the results of the install:

Loading zlib: ok

Quote:
Bootstrapping Installer...................
Using previously install ... ok

Extracting installer..................
Using previously installed installer ... ok

Preparing installer..................
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..................
Package: PEAR..................................... already installed ... ok
Package: Structures_Graph-stable.................. already installed ... ok
Package: Archive_Tar-stable....................... already installed ... ok
Package: Console_Getopt-stable.................... already installed ... ok
Package: PEAR_Frontend_Web-beta................... already installed ... ok

Writing WebFrontend file ... ok


Also, the url in the link that is supposed to bring you to the index of the pear manager is screwed up ( http://localhost/\phpweb20\pear\index.php

I just go directly to the index page though, but I get this error:

Error: the template directory (C:\php5\pear\data\PEAR_Frontend_Web\data\templates) is not a directory, or not readable. Make sure the 'data_dir' of your config file (C:\php5\pear\data) points to the correct location !

But that doesn't make sense because the pear.conf file is this:

#PEAR_Config 0.9
a:11:{s:15:"preferred_state";s:6:"stable"
;s:8:"temp_dir";s:46:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/temp";s:7:"bin_dir"
;s:41:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear"
;s:7:"php_dir";s:46:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/PEAR"
;s:7:"doc_dir";s:51:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/PEAR\docs"
;s:8:"data_dir";s:51:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/PEAR\data"
;s:8:"test_dir";s:52:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/PEAR\tests";s:9:"cache_dir"
;s:52:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/PEAR/cache"
;s:9:"cache_ttl";i:300;s:12:"download_dir";s:55:"C:\Apache2.0\Apache2\htdocs\phpweb20\pear/temp/download"
;s:10:"__channels";a:2:{s:5:"__uri";a:0:{}s:12:"pecl.php.net";a:0:{}}}

What's going on here?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software