[imp] beating the "blank screen" dead horse.

Jason jason at monsterjam.org
Sat Sep 17 03:15:27 PDT 2005


> Do you log your PHP logs to a different file (see php.ini)?  If so, are 
> there any errors there?  If not, try setting logging to a different file 
> and make sure error logging is turned up to E_ALL (either in php.ini or the 
> Horde setup).  Go to page that turns up blank.  Did anything get logged?
> 
> > what do you suggest?
> 
> Are all the required PEAR packages listed in the 'docs/INSTALL' file for 
> each module installed?  I've gotten blank screens when doing fresh 
> installations and forgetting to install one of the required PEAR packages 
> (which should show up as a fatal PHP error in a log).
aha, enabled logs.. and found this when hitting the inbox (Fatal errors:)

root at terrapinjunction:/usr/local/php5/lib/php/PEAR# cat /tmp/php.log 
[17-Sep-2005 06:00:17] PHP Fatal error:  Only variables can be passed by reference in 
/usr/local/apache2/htdocs/horde/imp/mailbox.php on line 553
[17-Sep-2005 06:04:22] PHP Fatal error:  main(): Failed opening required 'PEAR.php' 
(include_path='/home/jan/pear_root/share/pear') in /usr/local/php5/lib/php/PEAR/Config.php on line 21
[17-Sep-2005 06:05:25] PHP Fatal error:  main(): Failed opening required 'PEAR.php' 
(include_path='/home/jan/pear_root/share/pear') in /usr/local/php5/lib/php/PEAR/Config.php on line 21
[17-Sep-2005 06:05:38] PHP Fatal error:  Only variables can be passed by reference in 
/usr/local/apache2/htdocs/horde/imp/mailbox.php on line 553
[17-Sep-2005 06:05:44] PHP Fatal error:  Only variables can be passed by reference in 
/usr/local/apache2/htdocs/horde/imp/mailbox.php on line 553
[17-Sep-2005 06:06:36] PHP Fatal error:  main(): Failed opening required 'PEAR.php' 
(include_path='/home/jan/pear_root/share/pear') in /usr/local/php5/lib/php/PEAR/Config.php on line 21
root at terrapinjunction:/usr/local/php5/lib/php/PEAR# pwd
root at terrapinjunction:/usr/local/php5/lib/php/PEAR# !pear
pear

Warning: main(PEAR.php): failed to open stream: No such file or directory in Config.php on line 21
root at terrapinjunction:/usr/local/php5/lib/php/PEAR# 

so something squirrley with pear install.
This is an ubuntu box and I think it had pear installed via apt.. I thought I had removed everything as Im 
trying to install this from source. 

So am I missing something here, in the horde install doc it says, 

3. Install PEAR packages::

     pear install -o Log Mail Mail_Mime DB Date File
     pear -d preferred_state=beta install -a Services_Weather

but I remember getting pear from the webpage and extracting it into /usr/local/php5/lib/php

so do I not need the separate pear from the webpage?

thanks,regards,

Jason



More information about the imp mailing list