Doesn't fetch any data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php_musicbrainz |
New
|
Undecided
|
Unassigned |
Bug Description
This applies to both the 2.x branch and the 1.x branch. Using 2.x for the examples.
My code:
try{
$mbQuery = new mbQuery();
$trackFilters = new mbTrackFilter();
$trackFilters-
$trackFilters-
$trackFilters-
var_dump(
} catch(mbRequest
echo $e->getMessage();
} catch(mbRespons
echo $e->getMessage();
} catch(Exception $e) {
echo $e->getMessage();
}
Log:
PHP Warning: require_
PHP Fatal error: require_once(): Failed opening required 'mbCdStub.php'
PHP Warning: require_
PHP Fatal error: require_once(): Failed opening required 'mbUser.php'
Renamed mbCdstub.php to mbCdStub.php; copied mbUser.php from the 1.x branch to 2.x; and these went away, but then I got:
PHP Notice: Undefined index: HTTP_status in /path/to/
PHP Warning: xml_error_string() expects parameter 1 to be long, resource given in /path/to/
Second error was fixed by changing:
$this->_last_error = xml_get_
to:
$this->_last_error = xml_get_
But the first one still remains. Additionally, the outputted XML error is:
1: Not well-formed (invalid token)
Can this please be fixed? I can't find any other MusicBrainz 2 PHP libraries.
description: | updated |
description: | updated |