[Solar-talk] fetchRowset - method not implemented
Jeff Surgeson
solar at 3hex.com
Mon Oct 15 04:13:55 CDT 2007
> > Trying to get auth working with latest svn, getting method not
> > implemented Solar_Sql_Select::fetchRowset
>
> Hmm, nice that you found it! Try just to change line 132 of
> Solar_Auth_Adapter_Sql to:
>
> $rows = $select->fetch('all');
>
> I think it should work. I searched for other places still calling
> fetch('rowset') / fetchRowset(), but this seems to be the last one.
Had to also comment out the following on line 143 as it generates a Fatal
error: Call to a member function current() on a non-object
// set optional info from optional cols
$row = $rows->current();
foreach ($optional as $key => $val) {
if ($this->_config[$val]) {
$info[$key] = $row[$this->_config[$val]];
}
}
But with your change and my comment out it appears to work, although I am sure
that my mod is not the way to go, please advise?
.::.
Jeff
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list