FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18620&edit=1

ID: 18620
Updated by: helgith@gmail.com
Reported By: rpkamp at gmail dot com
Summary: Installer go-pear.phar does not work
Status: Closed
Type: Bug
-Package: pearweb
+Package: pearweb_phars
Operating System: Win7 Ultimate x64
Package Version: Unknown
PHP Version: 5.2.8
Assigned To: dufuz
Roadmap Versions:
New Comment:

-Package: pearweb
+Package: pearweb_phars
Fixing the package as well.


Previous Comments:
------------------------------------------------------------------------

[2011-07-24 01:33:17] dufuz

-Assigned To: doconnor
+Assigned To: dufuz


------------------------------------------------------------------------

[2011-07-16 07:07:40] doconnor

-Status: Feedback
+Status: Closed
-Assigned To:
+Assigned To: doconnor


------------------------------------------------------------------------

[2011-07-10 16:33:23] rpkamp

Yes the version that is on the website now installs PEAR 1.9.4 just
fine. Thanks! :)

------------------------------------------------------------------------

[2011-07-09 18:29:57] doconnor

-Status: Open
+Status: Feedback
There was a release of upgrade pearweb_phars recently. Are you still
experiencing
this problem?

------------------------------------------------------------------------

[2011-06-21 10:46:51] rpkamp

Description:
------------
The go-pear.phar that is currently on the website does not install,
it gives an error about an invalid argument on line 302 in
System.php.

I've tried this on WampServer2/PHP5.3.5 and on
WampServer2/PHP5.2.8 (on two separate machines), and both
give the same error.

Test script:
---------------
run "php go-pear.phar" from an elevated command line in Win7 Ultimate
x64

Expected result:
----------------
I expect PEAR to install

Actual result:
--------------
PEAR doesn't install

Trace:


PHP Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\go-
pear.phar:1236
PHP 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302

Call Stack:
0.0440 747712 1. {main}()
C:\wamp\bin\php\php5.3.5\go-pear.phar:0
0.0444 743488 2.
require_once('phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/index.php') C:\wamp\bin\php\php5.3.5\go-pear
.phar:1236
0.0995 4099944 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
2.0980 4110472 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
2.1404 4642776 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
2.1404 4642776 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:
271
3.3360 10292456 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
3.3365 10292704 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
3.3369 10294232 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
3.3379 10295896 10. mkdir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

ERROR: file \Archive_Tar-1.3.7\Archive\Tar.php does not exist
PHP Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\go-
pear.phar:1236
PHP 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302

Call Stack:
0.0440 747712 1. {main}()
C:\wamp\bin\php\php5.3.5\go-pear.phar:0
0.0444 743488 2.
require_once('phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/index.php') C:\wamp\bin\php\php5.3.5\go-pear
.phar:1236
0.0995 4099944 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
2.0980 4110472 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
2.1404 4642776 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
2.1404 4642776 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:
271
3.3876 10320592 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
3.3883 10320840 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
3.3887 10322368 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
3.3898 10324080 10. mkdir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

ERROR: file \Console_Getopt-1.3.0\Console\Getopt.php does
not exist
PHP Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\go-
pear.phar:1236
PHP 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302

Call Stack:
0.0440 747712 1. {main}()
C:\wamp\bin\php\php5.3.5\go-pear.phar:0
0.0444 743488 2.
require_once('phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/index.php') C:\wamp\bin\php\php5.3.5\go-pear
.phar:1236
0.0995 4099944 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
2.0980 4110472 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
2.1404 4642776 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
2.1404 4642776 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:
271
3.4288 10322240 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
3.4296 10322488 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
3.4300 10324016 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
3.4311 10325728 10. mkdir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

ERROR: file \Structures_Graph-
1.0.4\docs\html\media\banner.css does not exist
PHP Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\go-
pear.phar:1236
PHP 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302

Call Stack:
0.0440 747712 1. {main}()
C:\wamp\bin\php\php5.3.5\go-pear.phar:0
0.0444 743488 2.
require_once('phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/index.php') C:\wamp\bin\php\php5.3.5\go-pear
.phar:1236
0.0995 4099944 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
2.0980 4110472 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
2.1404 4642776 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
2.1404 4642776 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:
271
3.6613 10327112 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
3.6621 10327352 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
3.6625 10328880 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
3.6636 10330592 10. mkdir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

ERROR: file \XML_Util-1.2.1\examples\example.php does not
exist
PHP Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\go-pear.phar:0
PHP 2. require_once() C:\wamp\bin\php\php5.3.5\go-
pear.phar:1236
PHP 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
PHP 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
PHP 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
PHP 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:271
PHP 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
PHP 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
PHP 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
PHP 10. mkdir() phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

Warning: mkdir(): Invalid argument in
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/System.php
on line 302

Call Stack:
0.0440 747712 1. {main}()
C:\wamp\bin\php\php5.3.5\go-pear.phar:0
0.0444 743488 2.
require_once('phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/index.php') C:\wamp\bin\php\php5.3.5\go-pear
.phar:1236
0.0995 4099944 3. PEAR_Start_CLI->run()
phar://C:/wamp/bin/php/php5.3.5/go-pear.phar/index.php:7
2.0980 4110472 4. PEAR_Start->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start/CLI.php:57
2.1404 4642776 5. PEAR_Command_Common->run()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Start.php:324
2.1404 4642776 6. PEAR_Command_Install->doInstall()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Common.php:
271
3.8378 10328632 7. PEAR_Installer->install()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Command/Install.php:708
3.8386 10328872 8. System->mktemp()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/PEAR/Installer.php:1107
3.8389 10330400 9. System->mkDir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:428
3.8400 10332112 10. mkdir()
phar://C:/wamp/bin/php/php5.3.5/go-
pear.phar/System.php:302

ERROR: file \PEAR-1.9.3\OS\Guess.php does not exist

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 5 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 9, '11 at 4:30p
activeJul 23, '11 at 11:33p
posts5
users3
websitepear.php.net

3 users in discussion

Daniel Oconnor: 2 posts Helgith: 2 posts Rpkamp: 1 post

People

Translate

site design / logo © 2021 Grokbase