1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk for Linux - 8.x and Older' started by potpot, Aug 21, 2007.

  1. potpot

    potpot Guest

    0
     
    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!
     
  2. Brujo

    Brujo Regular Pleskian

    28
    57%
    Joined:
    Mar 4, 2006
    Messages:
    278
    Likes Received:
    2
    Location:
    Germany
    Hi, got you any solution for this, because i have the same Versions installed and like to update.

    thanks
    Brujo
     
  3. potpot

    potpot Guest

    0
     
    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 :(
     
  4. specimen@

    specimen@ Guest

    0
     
    Hi there,

    have the same problem on debian 4.0 after an upgrade from php :(
     
  5. elglobo

    elglobo Guest

    0
     
    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.
     
  6. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    I have also the same problem on debian 4.0 after an upgrade from PHP 5.2.4 to PHP 5.2.5.
     
  7. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    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)
     
  8. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    answer from swsoft:

     
  9. elglobo

    elglobo Guest

    0
     
    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.
     
  10. specimen@

    specimen@ Guest

    0
     
    Hi danliker,

    works fine.....many thanks for your help :)
     
  11. dkuwi

    dkuwi Guest

    0
     
    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
     
  12. kcackler

    kcackler Guest

    0
     
    This should be made a sticky. It took me forever to find this thread..
     
  13. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    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.
     
  14. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
  15. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    ABOVE IS THE SOLUTION! THANKS Scott!
     
  16. lpittman

    lpittman Guest

    0
     
    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 ....
     
  17. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Please Swsoft, hurry up with upcoming 8.3.0 Thanks!

    We need a solution for this issue with PHP 5.2.5
     
  18. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    I posted my notes on resolving issues with 5.2.5 here:

    http://www.atomicrocketturtle.com

    I dont have it in me to maintain another thread on the topic after all the work I just put into it. Short version, php_admin_value bad. php_value good.
     
  19. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    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!!!
     
  20. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Zomg! Kthxbai!
     
Loading...