AW: [dev] problem w. imp-login: get prefs from db...

Alexander Knauer dbadmin@avenet.stw.uni-erlangen.de
Sun, 17 Jun 2001 17:25:43 +0200



> -----Ursprungliche Nachricht-----
> Von: Jon Parise [mailto:jon@csh.rit.edu] 
> Gesendet: Sonntag, 17. Juni 2001 17:12
> An: dev@lists.horde.org
> Betreff: Re: [dev] problem w. imp-login: get prefs from db...
> 
> 
> On Sun, Jun 17, 2001 at 12:34:49PM +0200, Alexander Knauer wrote:
> > I get an error "invalid cursor" in the 
> database-function 
> > "fetchRow" in the PHP-Database functions
> > (file php/DB/ibase.php). In this file the fetchRow-function 
> expects two
> > arguments ($result and $fetchmode)
> > but the Horde sql.php files (e.g. horde/lib/Prefs/sql.php) call this
> > fetchRow function with only one parameter ($fetchmode). 
> 
> That's probably your problem.  It sounds like something is 
> broken with PEAR.


I just downloaded PHP 4.0.5 again from php.net and in these fresh
extracted PEAR-files the "fetchRow" function always expects two
parameters ($result and $fetchmode) (doesnt matter if you look in
mysql.php, pgsql.php or ibase.php) but like said horde/imp calls this
fetchRow-function with only one parameter ($fetchmode).
I am not sure if this is correct!?