Using Enhanced XSPF in CMSMS 1.10.1, I can't get rid of this "Fatal error: Call to a member function GenID() on a non-object in /modules/EnhancedXSPF/lib/classes/class.PlaylistManager.php on line 26".
This is the relevant code portion:
Code: Select all
if (empty($errors))
{
$new_id = $this->db->GenID(cms_db_prefix() . 'module_exspf_playlist_seq');
$query = "
INSERT INTO " . cms_db_prefix(). "module_exspf_playlist
(id, name, description)
VALUES
(?, ?, ?)
";
$result = $this->db->Execute(
$query,
array($new_id, $playlist->Name, $playlist->Description)
);
if ($result)
{
$ret['new_id'] = $new_id;
}
}
Code: Select all
$new_id = $this->db->GenID(cms_db_prefix() . 'module_exspf_playlist_seq');
$query = "
INSERT INTO " . cms_db_prefix(). "module_exspf_playlist
(id, name, description)
VALUES
(?, ?, ?)
";
Had anyone an idea? I'm stuck with this! Thanx