• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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