Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP 5.3
|
BOOK: Beginning PHP 5.3
This is the forum to discuss the Wrox book Beginning PHP 5.3 by Matt Doyle; ISBN: 978-0-470-41396-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 5.3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 15th, 2011, 11:09 AM
Registered User
Points: 22, Level: 1
Points: 22, Level: 1 Points: 22, Level: 1 Points: 22, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default go-pear.bat doesnt run. help.

Hello,

I am using windows 7, wamp, php5.3.5.

wasnt able to get PEAR to install properly until using this line of code:

"php -d phar.require_hash=0 ./PEAR/go-pear.phar

PEAR was successfully installed but I am still not able to download the Net_UserAgent_Detect package. I get a lengthy error message instead as follows:


downloading Net_UserAgent_Detect-2.5.2.tgz ...
Starting to download Net_UserAgent_Detect-2.5.2.tgz (11,986 bytes)
.....done: 11,986 bytes

Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in PEAR\Downloader.php on line 1217
PHP Warning: require_once(Structures/Graph.php): failed to open stream: No such
file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
1217
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700

Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line 1217

Call Stack:
0.0023 532440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
0.0764 3479080 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
0.0764 3479080 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
0.8767 9437704 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700

PHP Fatal error: require_once(): Failed opening required 'Structures/Graph.php'
(include_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Downloader.php on line 1217
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700

Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
lude_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR\PEAR
\Downloader.php on line 1217

Call Stack:
0.0023 532440 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
0.0764 3479080 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
0.0764 3479080 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
0.8767 9437704 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700


What does all this mean? Can somebody please tell me? Thanks in advance for your time.

Last edited by ZanderFly; August 15th, 2011 at 07:09 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
create and run .bat file richurules Excel VBA 1 November 9th, 2009 01:26 AM
Run bat file as part of Setup project adorable.ashish General .NET 0 March 5th, 2008 07:42 AM
Run a .bat or .exe on server plong Classic ASP Basics 2 May 9th, 2006 06:06 AM
Run .bat file from Excel VBA Harold Hawken Excel VBA 2 June 23rd, 2005 03:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.