Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.7

Bug #18211 go-pear.php fails due to permission problems
Submitted: 2011-01-23 14:37 UTC
From: janoszen Assigned: dufuz
Status: Closed Package: pearweb_gopear (version 1.1.4)
PHP Version: 5.3.5 OS: Windows 7 64 bit
Roadmaps: (Not assigned)    
Subscription  


 [2011-01-23 14:37 UTC] janoszen (János Pásztor)
Description: ------------ go-pear.php fails due to permission problem on Structures_Graph Expected result: ---------------- PEAR install correclly Actual result: -------------- Downloading package: Structures_Graph....PHP Deprecated: Function eregi() is deprecated in go-pear.php on line 1081 Error while opening {temp/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html } in write binary mode PHP Warning: unlink(temp\Structures_Graph-1.0.4.tgz): Permission denied in go-pear.php on line 1231 PHP Warning: rmdir(temp): Directory not empty in go-pear.php on line 1238 Note: after TopologicalSorter.html there are several line breaks and tabs, I'm not sure if that's a part of the filename.

Comments

 [2011-01-23 21:33 UTC] tyrael (Ferenc Kovacs)
After some debuging, I've figured out, that this can be fixed with updating the 'Archive/Tar.php' to the current version in the $bootstrap_files. the same issue was mentioned before multiple times: http://pear.php.net/bugs/bug.php?id=18201 http://pear.php.net/bugs/bug.php?id=18132 (the same solution was suggested here) I think fixing the Archive/Tar.php would be a quick fix, but on the long run, some refactoring is really needed in the pearweb_gopear package. it seems that the package maintainers abadoned this package. :( here is a patch: $bootstrap_files = array( 'PEAR.php' => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co', - 'Archive/Tar.php' => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co', + 'Archive/Tar.php' => 'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/Archive_Tar-1.3.7/Archive/Tar.php?view=co', 'Console/Getopt.php' => 'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co', );
 [2011-01-25 01:35 UTC] tyrael (Ferenc Kovacs)
As Helgi Þormar Þorbjörnsson pointed out on twitter, go-pear.php isn't supported anymore, so maybe we don't want to fix this. But in this case, we have to update the documentation to reflect the current situation, and suggest the go-pear.phar for setting up pear, not the go-pear.php. I created a separate ticket for that issue: http://pear.php.net/bugs/bug.php?id=18217
 [2011-01-25 14:08 UTC] janoszen (János Pásztor)
In that case please remove go-pear.php alltogether.
 [2011-01-25 19:10 UTC] tyrael (Ferenc Kovacs)
janoszen, please read the issue, that I've linked in my previous comment, I've mentioned that also. Tyrael
 [2011-02-28 05:03 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Open +Status: Closed -Assigned To: +Assigned To: dufuz
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.