php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38466 error
Submitted: 2006-08-15 13:44 UTC Modified: 2006-08-17 13:18 UTC
From: roland dot augustsson at sbkvast dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.4.3 OS: win xp sp2
Private report: No CVE-ID: None
 [2006-08-15 13:44 UTC] roland dot augustsson at sbkvast dot com
Description:
------------
when i install php 4.4.3 and run go-pear.bat :

Fatal error: Undefined class name 'pear' in C:\PHP\PEAR\go-pear.php on line 747

i have reinstall php 4.4.2 but i will use php 4.4.3 so please write back.

best regards
Roland


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-15 14:25 UTC] roland dot augustsson at sbkvast dot com
same error !


* copy from dos window *

Welcome to go-pear!

Go-pear will install the 'pear' command and all the files needed by
it.  This command is your tool for PEAR installation and maintenance.

Use 'php PEAR\go-pear.php local' to install a local copy of PEAR.

Go-pear also lets you download and install the PEAR packages bundled
with PHP: MDB2, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit.


If you wish to abort, press Control-C now, or press Enter to continue:

HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none::

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation prefix           : C:\PHP
 2. Binaries directory            : $prefix
 3. PHP code directory ($php_dir) : $prefix\pear
 4. Documentation base directory  : $php_dir\docs
 5. Data base directory           : $php_dir\data
 6. Tests base directory          : $php_dir\tests
 7. Temporary files directory     : $prefix\temp
 8. php.exe path                  : c:/php/cli/php.exe

1-8, 'all' or Enter to continue:

The following PEAR packages are bundled with PHP: MDB2, Net_Socket,
Net_SMTP, Mail, XML_Parser, PHPUnit.
Would you like to install these as well? [Y/n] : y

Loading zlib: ok
Using local package: PEAR-stable......ok
Using local package: Archive_Tar-stable....ok
Using local package: Console_Getopt-stable....ok
Using local package: XML_RPC-stable....ok
Bootstrapping: PEAR...................(remote) <!DOCTYPE html PUBLIC "-//W3C//DT
D XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- ViewVC :: http://www.viewvc.org/ -->
<head>
<title>ViewVC Exception</title>
</head>
<body>
<h3>An Exception Has Occurred</h3>


<h4>Python Traceback</h4>
<p><pre>
Traceback (most recent call last):
  File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 3623, in main
    request.run_viewvc()
  File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 388, in run_viewvc
    self.view_func(self)
  File "/usr/local/viewvc-1.1-dev/lib/viewvc.py", line 2122, in view_checkout
    fp, revision = request.repos.openfile(path, rev)
  File "/usr/local/viewvc-1.1-dev/lib/vclib/bincvs/__init__.py", line 134, in op
enfile
    filename, revision = _parse_co_header(fp)
  File "/usr/local/viewvc-1.1-dev/lib/vclib/bincvs/__init__.py", line 549, in _p
arse_co_header
    raise COMalformedOutput, "Unable to find revision in co output stream"
COMalformedOutput: Unable to find revision in co output stream

</pre></p>
</body>
</html>
ok
Bootstrapping: Archive_Tar............(local) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: MDB2.............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: PHPUnit..........ok

Fatal error: Undefined class name 'pear' in C:\PHP\PEAR\go-pear.php on line 747
Tryck p? en valfri tangent f?r att forts?tta...
 [2006-08-15 20:18 UTC] pajoye@php.net
can you fetch a recent go-pear.php here:

http://go-pear.org

save it as C:\PHP\PEAR\go-pear.php and run again go-pear.bat.


 [2006-08-15 22:12 UTC] roland dot augustsson at sbkvast dot com
NO, but i copy go-pear.php from php 4.4.2 and it funktions correct.

thanks for the help.


/Roland
 [2006-08-16 14:08 UTC] tony2001@php.net
Please save the contents of http://go-pear.org as go-pear.php and check if it works for you.
 [2006-08-17 12:36 UTC] roland dot augustsson at sbkvast dot com
i copied go-pear.php from go-pear.org and script not workt, same error

go-pear.php from php ver 4.4.2 work fine.


/R
 [2006-08-17 12:55 UTC] pajoye@php.net
Things have changed. RM and release people does not want to do their jobs. I cannot do it for them > won't fix.
 [2006-08-17 13:18 UTC] roland dot augustsson at sbkvast dot com
i solve problem, copy go-pear.php from php v 4.4.2 and php v 4.4.4 works fine now.

thanks for the help.


/R
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC