Edit report at https://pear.php.net/bugs/bug.php?id=20961&edit=1
ID: 20961
Comment by: tony@marston-home.demon.co.uk
Reported By: tony at marston-home dot demon dot co dot uk
Summary: Call to undefined method PEAR::PEAR_Command_Common()
Status: Feedback
Type: Bug
Package: PEAR
Operating System: Windows 7
Package Version: 1.10.0
PHP Version: 5.6.14
Roadmap Versions:
New Comment:
Here is a backtrace:
<!DOCTYPE HTML SYSTEM>
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type="text/css">
<!--
.error h2, .error p {
color: red;
font-weight: bold;
}
-->
</STYLE>
</HEAD>
<BODY><h1>This application has encountered an unrecoverable error</h1>
<p>The following has been reported to the administrator:</p>
<div class='error'>
<h2>2015-10-13 09:05:01</h2>
<p>Fatal Error: Call to undefined method PEAR::PEAR_Command_Common() (#
256)</p>
<p>Error in line 219 of file 'F:\PHP5\pear\PEAR.php'.</p>
<p>PHP_SELF: /pearfrontendweb.php</p>
<p>CURRENT DIRECTORY: F:\PHP5\pear</p>
<p>SERVER_ADDR: 127.0.0.1</p>
<p>SERVER_NAME: local.pear.net</p>
<p>HTTP_HOST: local.pear.net</p>
<p>REMOTE_ADDR: 127.0.0.1</p>
<p>REMOTE_HOST: ajm-fujitsu</p>
<p>REQUEST_URI: /pearfrontendweb.php?command=list-packages</p>
</div>
<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>
Previous Comments:
------------------------------------------------------------------------
[2015-10-13 09:32:28] tonymarston
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-08 12:56:36] cweiske
-Status: Open
+Status: Feedback
------------------------------------------------------------------------
[2015-10-08 12:56:29] cweiske
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 12:24:51] tonymarston
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
------------------------------------------------------------------------