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

Bug #12263 Including the Frame-Classes fails
Submitted: 2007-10-17 12:05 UTC
From: utgman Assigned: alexmerz
Status: Closed Package: MP3_IDv2 (version 0.1.3)
PHP Version: 5.2.3 OS: All
Roadmaps: (Not assigned)    
Subscription  


 [2007-10-17 12:05 UTC] utgman (Andreas Hofmann)
Description: ------------ If you call the method 'getInstance' of class 'MP3_IDv2_Frame', the script ends, 'cause it can't include the class-file. ** HOW TO FIX ** In file 'Frame.php' change the following line (@152): @require_once 'MP3/IDv2/Frame/'.$frameId; to @require_once 'MP3/IDv2/Frame/'.$frameId.'.php'; Test script: --------------- $oFrame = MP3_IDv2_Frame::getInstance('TRCK'); Expected result: ---------------- The script ends without an error ('cause using of the error control operator (@)).

Comments

 [2007-10-18 20:37 UTC] alexmerz (Alexander Merz)
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.