• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Horde can't find PEAR.php

T

thedust2010

Guest
Pulling up Horde Webmail brings the following errors:

Code:
Warning: include_once(PEAR.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/lib/core.php on line 46

Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='/usr/share/psa-horde:/usr/share/psa-pear:/usr/share/psa-horde/lib:.') in /usr/share/psa-horde/lib/core.php on line 46

Warning: include_once(Log.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/lib/Horde.php on line 3

Warning: include_once() [function.include]: Failed opening 'Log.php' for inclusion (include_path='/usr/share/psa-horde:/usr/share/psa-pear:/usr/share/psa-horde/lib:.') in /usr/share/psa-horde/lib/Horde.php on line 3

Fatal error: Class 'PEAR' not found in /usr/share/psa-horde/lib/Horde/Registry.php on line 878

It appears PEAR.php is now located at /usr/share/psa-horde/pear, which is not included in the include_path for Horde. I tried editing the include_path in /etc/httpd/conf.d/zz010_psa_httpd.conf, but it didn't update the setting (and yes, I restarted Apache).

I'm tempted to just copy the files over to the correct location. Does anyone have any more elegant solutions?
 
I figured out a fix... include_path appeared multiple times in /etc/httpd/conf.d/zz010_psa_httpd.conf and I hadn't changed all of the instances. Once I did webmail was working again.
 
Follow-Up Issue

I've found that changes I make to /etc/httpd/conf.d/zz010_psa_httpd.conf get automatically overwritten the following day. Any way to prevent this?
 
Back
Top