Friday, January 6. 2006Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.xTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
did you test version 1.4.6 with chiara_pear_server? i get this error:
Validation Error: task in file Server/mysqlinstall.php is invalid because of "Post-install script "Server/mysqlinstall.php" must declare exactly 1 class" regards, robert
this is due to the tokenizer extension being disabled on your machine, and a bug in PEAR that has been fixed in 1.4.7. Enable the tokenizer extension and this error goes away.
thanx, that works now.
but - i can't upload packages: Uncaught exception 'Chiara_PEAR_Server_ExceptionInvalidRelease' with message 'Invalid release uploaded: "Unknown channel "pear.chef""' in /usr/lib/php5/share/pear/Chiara/PEAR/Server/Release.php:27 pear.chef is the name of the channel (internal server) it's displayed in frontend.php and i placed that name in the tag of the package. pear list-all --channel pear.chef works ok.
hi Robert,
The best option is to add a PEAR_Config::singleton() call to your admin frontend page. Although you could do this manually, it is easiest to simply re-run the post-install script, and double check the location of the PEAR config file - this should be the same location you see when you run: pear config-show if it isn't, then enter the full path, and this will fix your problem
thank you. finally it works. i think that dealt with /etc/pear.conf vs. /root/.pearrc and some issues with my pear install.
since i'm on a gentoo machine, here's my tipp for a clean install: delete every pear directory, every pear.conf, .pearrc emerge PEAR-PEAR so include_paths and configs are gentoo-like, don't use go pear... install pear packages with pear install, don't use emerge ... |
Calendar
CategoriesPopular EntriesSetting up your own PEAR channel with Chiara_PEAR_Server - the official way
(36) Do you develop a website? It is infinitely better to synchronize live and development sites using the PEAR Installer(25) How to put the FAIL in open source(22) doing the PEAR thing(19) Using PEAR 1.4.0 to install PEAR packages on a remote host(19) phpDocumentor and __get/__set/__call - give us your ideas (RFC)(17) PEAR now fits in a bottle: meet go-pear.phar(17) Mac OS X ships with security hole-laden PEAR - how to upgrade immediately(16) Introducing pecl extension phar(13) go-pear.phar works! In related news, PHP_Archive is now PHP 5.1.0+(12) |
|||||||||||||||||||||||||||||||||||||||||||||||||