I took a quick look at this and think there is a bug in JoomFish 2.0 beta database of the joomfish plugin:
in file: jfdatabase/jfdatabase_decorator.php line 313, you have:
[code:1] /**
* Override query in order to extract ref tables data
*
* @return n/a
*/
function query() {
$this->_db->query();
$this->setRefTables();
return $this->_cursor;
}
[/code:1]
and imho it should be:
[code:1] /**
* Override query in order to extract ref tables data
*
* @return n/a
*/
function query() {
$this->_db->query();
$this->setRefTables();
return $this->_db->_cursor;
}
[/code:1]
CB's database engine needs that returned value of query() to be correctly the real mysql cursor, and with the missing "->_db" in the last line of code, it doesn't happen.
Could you please test the proposed fix above, and report back here the result, as well as the fix proposal to joomFish team, if it works ?
Edit: the fix above is a quick fix, not tested, no warranties. But the value _cursor returned by query (and maybe other places ?) in joomFish seems to be a true/false in joomFish, while it should be either false or a real mysql/mysqli cursor everywhere.
Edit: other CB functions will be affected by that bug as well, not only login. So it's really a needed fix. I'm stickying this topic.
Thanks,
Post edited by: beat, at: 2008/04/04 11:36
Post edited by: beat, at: 2008/04/04 11:37