 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
horseatingweeds
Joined: 15 Apr 2008 Posts: 10
|
Posted: Tue Apr 15, 2008 8:47 pm Post subject: go-pear, the template directory is not a directo or readable |
|
|
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 |
|
 |
|
|
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
|
|