Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.7

Bug #20262 Installation error: "Fatal error: Class 'PEAR' not found"
Submitted: 2014-05-03 08:15 UTC
From: furyutei Assigned:
Status: Open Package: pearweb_gopear (version 1.1.7)
PHP Version: 5.4.28 OS: CentOS release 6.5
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 7 - 3 = ?

 
 [2014-05-03 08:15 UTC] furyutei (Hiromu Ida)
Description: ------------ When I ran the PEAR Installer in my browser(Google Chrome), "Fatal error: Class 'PEAR' not found" occurred. I think, that is because download_url() in go-pear.php does not support redirection, so fail to download the bootstrap files. e.g.) https://raw.github.com/pear/pear-core/master/PEAR5.php (301 Moved Permanently) => https://raw.githubusercontent.com/pear/pear- core/master/PEAR5.php I fixed this problem temporarily. https://github.com/furyutei/go- pear/commit/5b111f3a50bb0635e6f7d6310d56bb5ea2a885d2 #diff-d7a5116813413fea60a1b3dab031e4d2 Actual result: -------------- Installation in progress ... : Bootstrapping Installer................... Bootstrapping PEAR5.php............(remote) ok Bootstrapping PEAR.php............(remote) ok Bootstrapping Archive/Tar.php............(remote) ok Bootstrapping Console/Getopt.php............(remote) ok Fatal error: Class 'PEAR' not found in /path/to/go-pear/go- pear.php on line 697

Comments

 [2015-06-20 03:33 UTC] tandyuk (James Tandy)
Just encountered this same issue, using a customised package which downloads and runs the latest go-pear and auto installs a few modules. Personally I fixed this temporarily with a str_replace('github.com','githubusercontent.com');