6.0.0-alpha12
6/12/25

[#5891] Horde/String.php issues after PHP 5.2 Upgrade
Summary Horde/String.php issues after PHP 5.2 Upgrade
Queue IMP
Queue Version 4.1.4
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester salfati.mickael (at) free (dot) fr
Created 11/15/2007 (6419 days ago)
Due
Updated 11/16/2007 (6418 days ago)
Assigned
Resolved 11/15/2007 (6419 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/16/2007 03:11:01 PM Chuck Hagenbuch Comment #7 Reply to this comment
... so plesk wasn't properly configuring the include path all along. 
Still not a Horde bug.
11/16/2007 08:32:35 AM salfati (dot) mickael (at) free (dot) fr Comment #6 Reply to this comment
Chuck



You have a reason, 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





Thanks for you patience.
11/15/2007 07:29:10 PM Chuck Hagenbuch Comment #5
Priority ⇒ 1. Low
Reply to this comment
Look at the error message, specifically the include_path:

include_path='/usr/share/psa-horde:/usr/share/psa-horde/pear:.



Wherever you have Horde/String.php installed, it's not one of those 
directories. Or it's possible this is a problem with PHP 5.2.5 and the 
include_path. Either way this is not a Horde bug. And again, you need 
to talk to the distributor/provider of psa-horde - we don't build it. 
If you really mean that you are the author of psa-horde, then see 
above again.
11/15/2007 05:39:02 PM salfati (dot) mickael (at) free (dot) fr Comment #4 Reply to this comment
More informations, the link to webmail:

http://webmail.phpbb-services.com/



And I join the file Browser.php
11/15/2007 05:33:43 PM salfati (dot) mickael (at) free (dot) fr Comment #3 Reply to this comment
The leading / in that require line is not in any version of
Browser.php provided by Horde (see
http://cvs.horde.org/co.php?r=1.153.2.52&f=framework%2FBrowser%2FBrowser.php, for example - I guessed a Horde version since you put this in the wrong queue and didn't give a Horde version number). Talk to whoever 
provides
psa-horde.
I am the provider, you have a Reason, on line 4, there was:

Include_once 'Horde/String.php';



The problem persists:

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



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



The file String.php is present.

If I try to modifiy:

Include_once 'Horde/String.php';



By:

Include_once 'String.php';



The error gone, but I get a blanck page.



I am not alone with this problem, as you can see here:

http://forum.swsoft.com/showthread.php?s=&threadid=46867



Regards.
11/15/2007 04:46:24 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
The leading / in that require line is not in any version of 
Browser.php provided by Horde (see 
http://cvs.horde.org/co.php?r=1.153.2.52&f=framework%2FBrowser%2FBrowser.php
for example - I guessed a Horde version since you put this in the 
wrong queue and didn't give a Horde version number). Talk to whoever 
provides psa-horde.
11/15/2007 03:42:12 PM salfati (dot) mickael (at) free (dot) fr Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Horde/String.php issues after PHP 5.2 Upgrade
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
Hi,



After an upgrade of PHP5 (from PHP 5.2.4 to PHP 5.2.5) it's impossible 
to access to Webmail Horde.



An error occured:

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



Here, we can find:

Require_once '/Horde/String.php';



What can I Do ?



Thanks per advance

Saved Queries