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

Bug #2894 Improper path in Tools.php
Submitted: 2004-12-04 21:15 UTC
From: adamg at pld-linux dot org Assigned: firman
Status: Closed Package: DB_Sqlite_Tools
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 - 20 = ?

 
 [2004-12-04 21:15 UTC] adamg at pld-linux dot org
Description: ------------ In Tools.php there are following lines: include ('Tools/DBC.php'); include ('Tools/Exception.php'); include ('Tools/XMLParser.php'); include ('Tools/ArcFour.php'); When they should point to 'DB/Sqlite/Tools/' Reproduce code: --------------- Apply with -p1: diff -burN php-pear-DB_Sqlite_Tools-0.1.3.orig/DB_Sqlite_Tools-0.1.3/Tools.php php-pear-DB_Sqlite_Tools-0.1.3/DB_Sqlite_Tools-0.1.3/Tools.php --- php-pear-DB_Sqlite_Tools-0.1.3.orig/DB_Sqlite_Tools-0.1.3/Tools.php 2004-12-04 22:05:56.106094224 +0100 +++ php-pear-DB_Sqlite_Tools-0.1.3/DB_Sqlite_Tools-0.1.3/Tools.php 2004-12-04 22:06:59.921392824 +0100 @@ -79,16 +79,16 @@ { switch ($class) { case 'DB_Sqlite_Tools_DBC': - include ('Tools/DBC.php'); + include ('DB/Sqlite/Tools/DBC.php'); break; case 'DB_Sqlite_Tools_Exception': - include ('Tools/Exception.php'); + include ('DB/Sqlite/Tools/Exception.php'); break; case 'DB_Sqlite_Tools_XMLParser': - include ('Tools/XMLParser.php'); + include ('DB/Sqlite/Tools/XMLParser.php'); break; case 'DB_Sqlite_Tools_ArcFour': - include ('Tools/ArcFour.php'); + include ('DB/Sqlite/Tools/ArcFour.php'); break; } }

Comments

 [2006-05-20 19:17 UTC] firman (Firman Wandayandi)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/DB_Sqlite_Tools