• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Please help: Horde/String.php issues after PHP 5.2 Upgrade

P

potpot

Guest
After an upgrade to PHP5.2.4RC from PHP5.1 on Suse 10.1 with Plesk 8.2 everything works fine besides Horde. Horde gives following errors on webmail page:

Warning: require_once(Horde/String.php) [function.require-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/lib/Horde/Browser.php on line 4

Fatal error: require_once() [function.require]: Failed opening required 'Horde/String.php' (include_path='/usr/share/psa-horde:/usr/share/psa-horde/pear:.') in /usr/share/psa-horde/lib/Horde/Browser.php on line 4

forcing rpm reinstalls of psa-horde-3.1.4-suse10.1.build82070706.15.noarch.rpm and psa-imp-4.1.4-suse10.1.build82070706.15.noarch.rpm didn't change anything.

Thank you for hints into the right directions!
 
Hi, got you any solution for this, because i have the same Versions installed and like to update.

thanks
Brujo
 
no solution

still not resolved. if you hardcode the full path to String.php in Browser.php the errors are gone, but you get a blank page for horde webmail instead :(
 
Hi there,

have the same problem on debian 4.0 after an upgrade from php :(
 
Hi,

I have also the same problem on debian 4.0 after an upgrade from PHP 5.2.4 to PHP 5.2.5.

Any idea ?
Thanks per advance.
 
I have also the same problem on debian 4.0 after an upgrade from PHP 5.2.4 to PHP 5.2.5.
 
the downgrade to 5.2.4 solved my problem for the moment ...

(if you haven't deleted the cache you find the old deb files in /var/cache/apt/archives)
 
answer from swsoft:

Yes, you are right, Webmail Horde is now not working with PHP 5.2.5 version. This is because PHP developers fixed some critical issues and that affected PHP configuration files. You can find more information here:

http://bugs.php.net/bug.php?id=35261
http://bugs.php.net/bug.php?id=41561

PHP 5.2.5 support is already planned in Plesk 8.3.0 that should be available in December.

Thiough you can use PHP 5.2.5 right now. Just install it and make sure that you replace the following lines for Webmail Virtual Host in /etc/apache2/conf.d/zz010_psa_httpd.conf:

php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."

to:

php_admin_value include_path "/usr/share/psa-horde/lib:/usr/share/psa-horde:/usr/share/psa-horde/pear:."

After that restart Apache for changes to take effect:

# /etc/init.d/apache2 restart
 
re

Thanks danliker for you response.

I add, that this replace must be made several times if you are using PHP4, PHP5 or SSL for Webmail, in this file.

Regards.
 
yes you are right

Hello,

I also get this answer from SwSoft but what you dont mentioned is, that this is only a temporary solution. If you do /usr/local/psa/admin/bin/websrvmng -a and restart apache (mybe because of an extra vhost.conf file) than your changes becomes overwritten and your webmail is broken again.

So notice that you must done everytime that you will write the config for Plesk.

Br,

dkuwi
 
This should be made a sticky. It took me forever to find this thread..
 
Scott from atomic has a much cleaner solution.

PHP 5.2.5 causes problems with Horde on PSA 8.2.1 and lower. PSA 8.3 is supposed to fix it, in the mean time you'll need to modify /etc/httpd/conf.d/zz010_psa_httpd.conf

Change this:

php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."

to

php_admin_value include_path "/usr/share/psa-horde/lib:/usr/share/psa-horde:/usr/share/psa-horde/pear:."

Note this file is changed every time plesk is updated, so you'll need to go back and fix this when it does.
 
Scott from atomic has a much cleaner solution.

PHP 5.2.5 causes problems with Horde on PSA 8.2.1 and lower. PSA 8.3 is supposed to fix it, in the mean time you'll need to modify /etc/httpd/conf.d/zz010_psa_httpd.conf

Change this:

php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."

to

php_admin_value include_path "/usr/share/psa-horde/lib:/usr/share/psa-horde:/usr/share/psa-horde/pear:."

Note this file is changed every time plesk is updated, so you'll need to go back and fix this when it does.

ABOVE IS THE SOLUTION! THANKS Scott!
 
How would one downgrade PHP? This 'fix' seems to break phpmv2 and am not sure what else it might be affecting. I know it "shouldn't" affect it ... but it does. If I just leave it as it is, webmail does not work, but phpmv2 does ... I change it and webmail works, but phpmv2 is broken.

See ... http://www.catch22media.com/phpmv2/

Strange ....
 
EACH TIME, SINGLE DOMAIN IS STOPPED OR ANY OTHER CHANGE CAUSED HORDE CRASH!!! BECAUSE THE FILE zz010_psa_httpd.conf IS REWRITTEN BY PLESK!

THANKS!!!
 
Back
Top