[horde] Horde 4.0.3 500 error on Portal

Michael J Rubinsky mrubinsk at horde.org
Thu May 19 15:58:36 UTC 2011


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)
mrubinsk at horde.org



More information about the horde mailing list