[horde] Horde 4.0.3 500 error on Portal

Brent impuser at bitrealm.com
Thu May 19 16:49:59 UTC 2011


Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>> Quoting Brent <impuser at bitrealm.com>:
>   >
>   >> I get the WSOD (white screen of death) when clicking Portal.  Apache
>   >> logs show:
>   >>
>   >> [Thu May 19 07:38:14 2011] [error] [client 1.2.3.4] PHP Fatal error:
>   >>  Class 'DB' not found in
>   >> /usr/share/pear/Horde/Core/Factory/DbPear.php on line 73, referer:
>   >> http://www.fake.com/imp/
>   >>
>   >> -------------
>   >>
>   >> I have the pear MDB2 package installed.  If I install the pear DB
>   >> package (after the "package is deprecated in favor of pear/MDB2"), I
>   >> still get the 500 and WSOD, only now the error is:
>   >>
>   >> [Thu May 19 07:55:14 2011] [error] [client 1.2.3.4] PHP Fatal error:
>   >>  Call to a member function query() on a non-object in
>   >> /var/www/html/horde-new/lib/Block/Metar.php on line 38, referer:
>   >> http://www.fake.com/imp/
>   >>
>   >>
>   >> I have "INFO" logging set for Horde, here's the error in the log
>   >> file that I get:
>   >>
>   >> 2011-05-19T07:58:31-07:00 NOTICE: HORDE [horde] PHP ERROR: Undefined
>   >> variable: db [pid 22932 on line 38 of
>   >> "/var/www/html/horde-new/lib/Block/Metar.php"]
>   >>
>   >>
>   >> I'm using php 5.3.6 and a mysql backend.  Kronolith, ingo, turba,
>   >> and imp all apparently work, I just can't get the Portal to do
>   >> anything.  I enabled the Weather module and I have the pear
>   >> Services_Weather installed.
>   >>
>   >
>   > Try this:
>   >
>   >  
> http://git.horde.org/horde-git/-/commit/47fe12cc430ac074fbec1943ae844d8dba30904b
>   >
>   >
>   > --
>   > mike
>   >
>   > The Horde Project (www.horde.org[1])
>   > mrubinsk at horde.org
>    

Yep, that worked if I have pear DB installed.  If I don't have DB
installed (but still have MDB2), then I still get a WSOD 500 error.  I can
run with pear DB installed, if that's what it takes.

brent


Links:
------
[1] http://www.horde.org


More information about the horde mailing list