[horde] Horde 4.0.3 500 error on Portal

Brent impuser at bitrealm.com
Thu May 19 15:02:15 UTC 2011


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.

brent



More information about the horde mailing list