[kronolith] DB::isWarning not defined

Jason Ingalls jingalls at ellsworth.k12.me.us
Fri Apr 4 07:41:40 PST 2003


I think you have used an acceptable method to correct the issue. That is
what I did and it seems to work fine. If you check the faq
(http://www.horde.org/faq/admin/trouble/index.php#t53) you used one of the
suggested fixes listed.

Jason
----- Original Message -----
From: "Paolo Cavicchini" <p.cavicchini at ifinet.it>
To: <kronolith at lists.horde.org>
Sent: Friday, April 04, 2003 6:31 AM
Subject: [kronolith] DB::isWarning not defined


> 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
> ---------------------------------------------------------------------
>
>
> --
> Kronolith mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>




More information about the kronolith mailing list