Jump to content


Photo

Plug in - PEAR


  • Please log in to reply
30 replies to this topic

#1 reenyg

reenyg

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 22 September 2005 - 03:50 AM

Hi

The plug in installation, Uniform Srever 3.2, stops after the following error message(s)

Error  File Not Found: /repository/php-src/pear/PEAR.php,v

Fatal error: Class 'PEAR' not found in W:\home\admin\WWW\plugins\PHP-pear\Uni_go-pear.php on line 681

Is there a work around for this?

Reeny

#2 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 22 September 2005 - 02:43 PM

Go to http://go-pear.org/ and download the latest installer. Then run it.

Replace it with the old one.

Thanks.

#3 damaynad

damaynad

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 04 November 2005 - 04:45 PM

Using Windows XP:

I've downloaded the PEAR installation script from http://go-pear.org/ and stored it at "c:\UniServer3_2a\diskw\home\admin\WWW\plugins\PHP-pear\Uni-go.php"

(I installed Uni on the root of C:)

During installation, I get the following errors:

The requested URL /co.php/pear-core/PEAR.php was not found on this server.

and

Fatal error: Class 'PEAR' not found in W:\home\admin\WWW\plugins\PHP-pear\Uni_go-pear.php on line 668

Am I missing the point here?

#4 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 04 November 2005 - 09:36 PM

hmm.. it should not really have that error, download a new copy and see if it will work. If it doesn't, go to http://www.go-pear.com and download the PEAR.php file from there. The main PEAR.php file that is and put it in the same folder as the go-pear.php file.

BTW: When downloading the new go-pear file, you do not have to name it the same name. You can name it go-pear.php :angry:

#5 marchioli

marchioli

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 29 November 2005 - 01:04 PM

I've done all of the above/below,
- downloaded newest version of PEAR, PHP, Apache
- tried all sorts of work-arounds
- copy the entire PEAR tar into the Apache subdirectory
- copy the entire PEAR tar into the PHP subdirectory
- change Apache conf file to add directories and privileges for PHP and PEAR trees
- Sent various emails to support groups and contacts with no response

Bottom line, the PEAR 1.4.5 installer (go-pear,v 1.77 2005/09/15 23:52:42) doesn't work on Windows XP Prof SP1 with Apache 2.0.54 and PHP 5.0.4 (cli) (built: Mar 31 2005 02:45:48), Copyright © 1997-2004 The PHP Group, Zend Engine v2.0.4-dev, Copyright © 1998-2004 Zend Technologies

I've attached the go_pear.php output from a DOS command prompt. Attached File  go_pear_bug.htm   4.96KB   375 downloads

Is PEAR stable? I'm looking for something like PEAR that installs. I've been strugling with this bug for 3-4 weeks. Every web posting I've seen says "download the newest version" which I've done several times. :) :D

So before someone says download the newest version or something like that, please check the above detailed version numbers against what you are looking at to ensure it's not already the newest version. :o

I'm seriously looking at Ruby on Rails. It seems to be more stable, easier to install and very well supported. :lol:

Marc

hmm.. it should not really have that error, download a new copy and see if it will work. If it doesn't, go to http://www.go-pear.com and download the PEAR.php file from there. The main PEAR.php file that is and put it in the same folder as the go-pear.php file.

BTW: When downloading the new go-pear file, you do not have to name it the same name. You can name it go-pear.php :D

View Post



#6 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 29 November 2005 - 01:22 PM

Actually that works for some as you can see.

For yours, i'm sure you caused other problems while doing this:

I've done all of the above/below,
- downloaded newest version of PEAR, PHP, Apache
- tried all sorts of work-arounds
- copy the entire PEAR tar into the Apache subdirectory
- copy the entire PEAR tar into the PHP subdirectory
- change Apache conf file to add directories and privileges for PHP and PEAR trees
- Sent various emails to support groups and contacts with no response

View Post



A. Do you have single installations of PHP? Apache? or MySQL?

B. When you said you updated PHP and Apache, how did you do that?

C. What did you chnage in the Apache Config File?

#7 marchioli

marchioli

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 29 November 2005 - 07:33 PM

Actually that works for some as you can see.

For yours, i'm sure you caused other problems while doing this:
A. Do you have single installations of PHP? Apache? or MySQL?
Single installation of PHP and Apache. I'm running against Oracle with PHP currently working and reading/writing to Oracle tables.

B. When you said you updated PHP and Apache, how did you do that?
I downloaded the newest post of Apache (non beta), PHP and PEAR. I installed Apache and PHP from scratch on a new machine.

C. What did you chnage in the Apache Config File?
I have added <Directory></Directory> items for the PHP and PEAR and custom directories, I have enabled CGI.

View Post



#8 MrX

MrX

    The Mad Theorist

  • Support Team
  • PipPip
  • 167 posts
  • Location:IRC :P
  • Wiki ID: MrX
  • IRC Nickname: MrX, MrX- and MrX_

Posted 29 November 2005 - 07:36 PM

How about pressing the "Live IRC Support" button at the top of the site?

I'll be there to help :lol:

#9 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 29 November 2005 - 07:38 PM

Ok
>> Please answer the question just for the PC which the server is on so you do not create a confusion.

Thanks :lol:

#10 marchioli

marchioli

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 30 November 2005 - 11:43 AM

Ok
>> Please answer the question just for the PC which the server is on so you do not create a confusion.

I did - the PC on which the server is located is the reference PC in all of my above/below posts. I've only installed PHP and Apache once. I've tried to install PEAR many times.

As a note, I just installed Ruby on Rails yesterday and it went very nicely.  Some hickups but all were documented with corrective actions.  The PEAR may be a null issue now.  It seems Ruby on Rails has some nice features.  The jury is still out.

Thanks :lol:

View Post



#11 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 30 November 2005 - 11:58 AM

The problem is the other installation of PHP.

If you have another installation on your computer, as it says on that file you attached you have a PHP installation in C:/php, you need to remove it for PEAR to work on Uniform Server. If you have removed it, it might have left some dust on your PC/Registry.

They usually leave this file: LIBMYSQL.DLL in the C:/Windows or C:/Windows/System32 folder. Delete it! It causes problems and sometimes blcoks you from starting Uniform Server :lol:

#12 reenyg

reenyg

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 11 January 2006 - 01:51 PM

The problem is the other installation of PHP.

If you have another installation on your computer, as it says on that file you attached you have a PHP installation in C:/php, you need to remove it for PEAR to work on Uniform Server. If you have removed it, it might have left some dust on your PC/Registry.

They usually leave this file: LIBMYSQL.DLL in the C:/Windows or C:/Windows/System32 folder. Delete it! It causes problems and sometimes blcoks you from starting Uniform Server <_<

View Post



Tried the 'Install Pear' from Admin Panel 2.0 in Uniform Server 3.3 . It ended with the following message
Apache/1.3.34 Server at cvs.php.net Port 80
ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Downloading package: DB...............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: Class 'PEAR' not found in W:\home\admin\www\plugins\pear\go_pear.php on line 668

Absence of Pear is brining up some errors when testing some of the opensource CRM applications (eg vTigerCRM)

LIBMYSQL.DLL is not there in C:\Windows\System32 folder or anywhere in the 'path'.
Looking forward to a solution to this puzzle...

#13 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 12 January 2006 - 08:53 AM

Go to Google and find the PEAR.php file. Download it to where the Go_Pear.php is and run Go_Pear again.

#14 0livier

0livier

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 12 January 2006 - 10:49 AM

So, I've downloaded Uniform 3.3... But the pear installer crash at the point shown in the next lines. With the go-pear.php copied from go-pear.org, it's even worse! What do I have to do to have PEAR installed and its package manager up running ?

|||||||... 70%
|||||||||| 100% Downloading PHPUnit-1.3.2.tgz ...

Starting installation ...
Loading zlib: ok
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: XML_RPC-stable....ok
Downloading package: Pager............ok
Downloading package: HTML_Template_IT....ok
Downloading package: Net_UserAgent_Detect....ok
Downloading package: PEAR_Frontend_Web....ok
Bootstrapping: PEAR...................(remote)

Found
The document has moved here.

Apache/1.3.34 Server at cvs.php.net Port 80

ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: DB...............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: Class 'PEAR' not found in W:\home\admin\www\plugins\pear\go_pear.php on line 668

#15 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 12 January 2006 - 12:18 PM

Try doing what i said in the reply above.

#16 0livier

0livier

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 12 January 2006 - 01:31 PM

So if I understand you well, I have to put the PEAR.php file in the
w:\home\admin\www\plugins\pear
directory. Am I right?

I'm not sure I have the correct pear.php file (why don't you give a direct link: it's very difficult to find trace "pear.php" among all "pear.php.net" occurences) but I tried... downloaded it... put it in the above mentioned directory... stopped the server... restarted it again... launched the Install Pear process... and failed at exactly the same point... <_<

#17 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 13 January 2006 - 08:31 AM

I do not know of a place where you can get it directly and i have not downloaded it from the Pear Network before, but try and search Google for PEAR.php

I will also do the same.

#18 0livier

0livier

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 13 January 2006 - 09:56 AM

The PEAR.php I have come from another PEAR installation. Its header is
/**
 * PEAR, the PHP Extension and Application Repository
 *
 * PEAR class and PEAR_Error class
 *
 * PHP versions 4 and 5
 *
 * LICENSE: This source file is subject to version 3.0 of the PHP license
 * that is available through the world-wide-web at the following URI:
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 * the PHP License and are unable to obtain it through the web, please
 * send a note to license@php.net so we can mail you a copy immediately.
 *
 * @category   pear
 * @package    PEAR
 * @author     Sterling Hughes <sterling@php.net>
 * @author     Stig Bakken <ssb@php.net>
 * @author     Tomas V.V.Cox <cox@idecnet.com>
 * @author     Greg Beaver <cellog@php.net>
 * @copyright  1997-2006 The PHP Group
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
 * @version    CVS: $Id: PEAR.php,v 1.97 2006/01/06 04:47:36 cellog Exp $
 * @link       http://pear.php.net/package/PEAR
 * @since      File available since Release 0.1
 */
Is it the correct file ?

As I have said, when I put this file in the same directory as your go-pear.php file (ie, \diskw\home\admin\www\plugins\pear\), I still have the problem. Even, if I put a explicit mention of this path in the include_path variable of php.ini.

And when I replace your go-pear.php file with the current one at http://go-pear.org I have this error message:
Error
Sorry! PEAR_Frontend_Web is not yet compatible
with PEAR 1.4.x. A new version will be available soon.
Until then, you may install the CLI version of PEAR,
or grab the CVS version of PEAR_Frontend_Web via
anonymous CVS (WARNING: experienced developers only)

What can I do, now?

#19 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,351 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 15 January 2006 - 11:34 AM

I have no idea... i will look into it as i said. I am not the developer of PEAR and dont use it much so i do not know what the problem is, but i will try and fix this for Unifom Server so please have patience.

Thanks

#20 MrOnline

MrOnline

    Beta Team Member

  • Beta Tester
  • Pip
  • 16 posts

Posted 16 January 2006 - 12:10 AM

I've managed to get pear working on uniserver after receiving all the errors you guys all have.

Open up a command line window, ( Start > Run > "command" > Enter )

run the following commands.

w:
cd\
cd usr
cd local
cd php
php -r "readfile('http://pear.php.net/go-pear');" > go-pear
php go-pear

The installer should run perfectly if your running this as administrator.

Hope this helps, it worked for me after a couple weeks of frustration.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users