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

Bug #19646 Error in Client.php
Submitted: 2012-10-09 22:58 UTC
From: kiwi31415 Assigned:
Status: Open Package: Net_CDDB (version 0.3.0)
PHP Version: 5.4.7 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2012-10-09 22:58 UTC] kiwi31415 (Thomas Kippenberg)
Description: ------------ Line 823 in Client.php is: //$class = 'Net_CDDB_Reader_' . $file; However, it should be: $class = 'Net_CDDB_' . $file; See also class names in the Reader packages. Test script: --------------- $params_http = array('host' => 'anybody'); $cddb = new Net_CDDB_Client('http://freedb.freedb.org:80', 'cdparanoia://', $params_http); $discs = $cddb->searchDatabaseForCD(); print_r($discs); Expected result: ---------------- no error message Actual result: -------------- Fatal error: Class 'Net_CDDB_Reader_cdparanoia' not found in /var/www/limbo/Net/CDDB/Client.php on line 831

Comments