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

Bug #14496 example file needs slight adjustment to work
Submitted: 2008-08-12 19:38 UTC
From: kguest Assigned: kguest
Status: Closed Package: Genealogy_Gedcom (version 1.0.0)
PHP Version: 5.2.4 OS:
Roadmaps: 1.0.1    
Subscription  


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 : 42 - 37 = ?

 
 [2008-08-12 19:38 UTC] kguest (Ken Guest)
Description: ------------ the require statement for pulling in the package doesn't work, needs to be Genealogy/Gedcom.php rather than "../Genealogy_Gedcom.php" Test script: --------------- try to run the example file as is. Expected result: ---------------- would expect it to work ;-) Actual result: -------------- kguest:~$ php /usr/share/php/docs/Genealogy_Gedcom/examples/example1.php Warning: require_once(../Genealogy_Gedcom.php): failed to open stream: No such file or directory in /usr/share/php/docs/Genealogy_Gedcom/examples/example1.php on line 7 Call Stack: 0.0003 73608 1. {main}() /usr/share/php/docs/Genealogy_Gedcom/examples/example1.php:0 Fatal error: require_once(): Failed opening required '../Genealogy_Gedcom.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/php/docs/Genealogy_Gedcom/examples/example1.php on line 7 Call Stack: 0.0003 73608 1. {main}() /usr/share/php/docs/Genealogy_Gedcom/examples/example1.php:0

Comments

 [2008-09-03 21:08 UTC] kguest (Ken Guest)
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. using test file from "http://www.family-historian.co.uk/compare/all gedcom 5.5.ged".