[horde] db auth

Stain stain@dxml.org
Sun Nov 17 13:24:31 2002


DB::isWarning seems be deprecated on the latest version of pear DB.php (1.3), 
so i get out an error while connecting to db server in horde. DB::isWarning 
comes out in several files of horde distribuition:
./lib/Auth/sql.php
./lib/Prefs/sql.php
./lib/Token/sql.php
./lib/Category/sql.php

these are my patches:


./lib/Auth/sql.php
110c110
<             if (DB::isError($this->db)) {
---
>             if (DB::isError($this->db) || DB::isWarning($this->db)) {


./lib/Prefs/sql.php
101c101
<             if (DB::isError($this->db)) {
---
>             if (DB::isError($this->db) || DB::isWarning($this->db)) {


./lib/Token/sql.php
80c80
<             if (DB::isError($this->db)) {
---
>             if (DB::isError($this->db) || DB::isWarning($this->db)) {


./lib/Category/sql.php
100c100
<             if (DB::isError($this->db)) {
---
>             if (DB::isError($this->db) || DB::isWarning($this->db)) {


further here is output of my test.php:
    *  PEAR - Yes
    * Recent PEAR - No
    * This version of PEAR is not recent enough. See the Horde PEAR page for 
details.
    * Mail::RFC822 - Yes
    * Log - Yes
    * DB - Yes

with "pear list-all" i saw all packages last updated and PEAR is 1.0b1...
so, what does it mean??? what package should i upgrade???

bye, stain.

-- 
"If there is any, error is human"


More information about the horde mailing list