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

Bug #20961 Call to undefined method PEAR::PEAR_Command_Common()
Submitted: 2015-10-08 16:24 UTC
From: tonymarston Assigned:
Status: Open Package: PEAR_Frontend_Web
PHP Version: 5.6.14 OS: Windows 7
Roadmaps: (Not assigned)    
Subscription  


 [2015-10-08 16:24 UTC] tonymarston (Tony Marston)
Description: ------------ I have just upgraded my pear installation to version 1.10.0, but when I use the Pear Package Manager and click on the "List all packagenames" link I get the following error: Fatal error: Call to undefined method PEAR::PEAR_Command_Common() in F:\PHP5\pear\PEAR.php on line 219

Comments

 [2015-10-08 16:56 UTC] cweiske (Christian Weiske)
What kind of installation do you have? It looks like a windows PC. What "link" do you follow? PEAR itself does not have a web interface; you seem to be using some additional (web-based) software. Which? Could you install the xdebug PHP extension and repeat the link click? It should show you a full stacktrace that we need to fix the problem.
 [2015-10-08 16:56 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Feedback
 [2015-10-13 13:32 UTC] tonymarston (Tony Marston)
Yes, it is a Windows PC. My OS is Windows 7. PEAR does have a web interface. It is called PEAR_Frontend_Web and has been available since 2003 and was last updated on 2010-10-25. It is maintained by Tias Guns and Gregory Beaver. I will try to produce a stack trace and send it to you
 [2015-10-13 14:11 UTC] tonymarston (Tony Marston)
Here is a backtrace:

This application has encountered an unrecoverable error

The following has been reported to the administrator:

2015-10-13 09:05:01

Fatal Error: Call to undefined method PEAR::PEAR_Command_Common() (# 256)

Error in line 219 of file 'F:\PHP5\pear\PEAR.php'.

PHP_SELF: /pearfrontendweb.php

CURRENT DIRECTORY: F:\PHP5\pear

SERVER_ADDR: 127.0.0.1

SERVER_NAME: local.pear.net

HTTP_HOST: local.pear.net

REMOTE_ADDR: 127.0.0.1

REMOTE_HOST: ajm-fujitsu

REQUEST_URI: /pearfrontendweb.php?command=list-packages

<p>Page Stack:</p> <p>Backtrace:</p> <pre> 0: array = function: string = errorHandler args: array = 0: integer = 256 1: string = Call to undefined method PEAR::PEAR_Command_Common() 2: string = F:\PHP5\pear\PEAR.php 3: integer = 219 4: object = PEAR_Command_Categories 1: array = file: string = F:\PHP5\pear\PEAR.php line: integer = 219 function: string = trigger_error args: array = 0: string = Call to undefined method PEAR::PEAR_Command_Common() 1: integer = 256 2: array = file: string = F:\PHP5\pear\PEAR\Command\Categories.php line: integer = 118 function: string = __call class: string = PEAR type: string = -> args: array = 0: string = PEAR_Command_Common 1: array = 3: array = file: string = F:\PHP5\pear\PEAR\Command\Categories.php line: integer = 118 function: string = PEAR_Command_Common class: string = PEAR_Command_Common type: string = -> args: array = 4: array = file: string = F:\PHP5\pear\PEAR\Command.php line: integer = 133 function: string = PEAR_Command_Categories class: string = PEAR_Command_Categories type: string = -> args: array = 5: array = file: string = F:\PHP5\pear\pearfrontendweb.php line: integer = 393 function: string = factory class: string = PEAR_Command type: string = :: args: array = 0: string = list-packages </pre>
 [2015-10-13 22:54 UTC] cweiske (Christian Weiske)
-Status: Feedback +Status: Open -Package: PEAR +Package: PEAR_Frontend_Web