[kronolith] DB::isWarning not defined

Paolo Cavicchini p.cavicchini at ifinet.it
Fri Apr 4 13:31:59 PST 2003


Hello,
after the kronolith installation, I'm not able to open kronolith itself.
Horde gives me an error about a call to isWarning() function (not defined,
it seems...).
So I edited the file /var/www/html/mail/horde/kronolith/lib/Driver/sql.php
and commented out the isWarning() call (but I've leaved the isError() call).

Now it works fine.
With the prior version of Horde, it was working without any intervation.

>From the "/var/www/html/mail/horde/kronolith/lib/Driver/sql.php" file:

/* Connect to the SQL server using the supplied parameters. */
$this->db = &DB::connect($this->params, true);
/*if (DB::isError($this->db) || DB::isWarning($this->db)) {   <--- original,
commented out */
if (DB::isError($this->db)) {
    Horde::fatal($this->db, __FILE__, __LINE__);
}

Could anyone give me any suggestion? I would like to restore the original
code...

Paolo
---------------------------------------------------------------------
Paolo Cavicchini	      Phone +39-45-595699
IFInet s.r.l.		Fax   +39-45-8009400
Via XX Settembre 14	http://www.ifinet.it
37129 Verona (Italy)	e-mail: p.cavicchini at ifinet.it
PGP Fingerprint: 0C32 1B8B A1E1 E62C 32DB  B396 C818 078C F674 709D
---------------------------------------------------------------------
 


More information about the kronolith mailing list