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

Bug #13453 Broken cron job - find-documentation.php
Submitted: 2008-03-21 23:04 UTC Modified: 2009-03-22 23:30 UTC
From: doconnor Assigned: dufuz
Status: Closed Package: pearweb (version 1.17.1)
PHP Version: Irrelevant OS:
Roadmaps: 1.18.0    
Subscription  


 [2008-03-21 23:04 UTC] doconnor (Daniel O'Connor)
Description: ------------ cron/find-documentation.php - Has a require_once 'VFS.php'; - Has a require_once 'VFS-file.php'; - Has a hardcoded $basepath = "/home/mj/cvs/peardoc/en/package/"; - does not work terribly well on windows - Uses hard coded DB settings ($dbh =& DB::connect("mysql://pear:pear@localhost/pear", $options);) - Uses hard coded $a = &new HTTP_Request("http://pear.php.net" . $url); All of these things mean that it won't work for local installations of pearweb without a fair bit of messing about. Much of this should be extracted to configuration, or otherwise documented

Comments

 [2008-03-22 17:08 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Fixed everything but base path for now
 [2008-03-30 02:51 UTC] doconnor (Daniel O'Connor)
Dont forget to add VFS as an optional dep in package.xml :) (currently missing)
 [2008-04-04 12:30 UTC] dufuz (Helgi Þormar Þorbjörnsson)
It's not missing, I added it to package-manual.xml The manual bits have their own package now
 [2009-03-22 23:30 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Assigned +Status: Closed
This bug has been fixed in CVS. 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. All the issues you mentioned below are fixed long time ago. Open up a new bug report or feature request if there is anything else wrong.