Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Horde php error - how to fix it?

Discussion in 'General Discussion' started by zenid, Dec 28, 2007.

  1. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Hi guys,

    When i try to access Horde webmail i get this php error:

    PHP:
    Warning: include_once(Log.php) [function.include-once]: failed to open streamNo such file or directory in /usr/local/cpanel/base/horde/lib/Horde.php on line 3

    Warning
    : include_once() [function.include]: Failed opening 'Log.php' for inclusion (include_path='/usr/local/cpanel/base/horde/lib:.:/usr/lib/php:/usr/local/lib/php'in /usr/local/cpanel/base/horde/lib/Horde.php on line 3
    I have try the follow things:

    /scripts/upcp --force
    /scripts/fullhordereset

    copy the the dir: /usr/local/cpanel/base/horde/ from a working server (without the config map)

    But the problem is stil the same, can please someone tell me what to do?
     
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    168
    Try installing the pear package

    # pear install Log

    # /usr/local/cpanel/3rdparty/bin/pear install Log
     
  3. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    I have try, but i get this:

    root@amanda [~]# pear install Log
    WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
    Did not download optional dependencies: pear/DB, pear/MDB2, use --alldeps to dow nload automatically
    pear/Log can optionally use package "pear/DB" (version >= 1.3)
    pear/Log can optionally use package "pear/MDB2" (version >= 2.0.0RC1)
    downloading Log-1.9.13.tgz ...
    Starting to download Log-1.9.13.tgz (40,607 bytes)
    ...........done: 40,607 bytes
    install ok: channel://pear.php.net/Log-1.9.13
    root@amanda [~]# /usr/local/cpanel/3rdparty/bin/pear install Log
    /usr/local/cpanel/3rdparty/bin/php: relocation error: /usr/local/cpanel/3rdparty /bin/php: symbol __udivdi3, version libmysqlclient_14 not defined in file libmys qlclient.so.14 with link time reference
    root@amanda [~]#
     
  4. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    and now i get this error:

    PHP:
    WarningDataTree_sql::require_once(DB.php) [function.DataTree-sql-require-once]: failed to open streamOnbekend bestand of map in /usr/local/cpanel/base/horde/lib/Horde/DataTree/sql.php on line 1620

    Fatal error
    DataTree_sql::require_once() [function.require]: Failed opening required 'DB.php' (include_path='/usr/local/cpanel/base/horde/lib:.:/usr/lib/php:/usr/local/lib/php'in /usr/local/cpanel/base/horde/lib/Horde/DataTree/sql.php on line 1620
     
  5. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    I have fix the problem with:

    #touch /var/cpanel/usecpphp
     
  6. romulob

    romulob Active Member
    PartnerNOC

    Joined:
    Apr 29, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    56
    I was able to fix this problem today by running the following command:

    pear install -o Log Mail Mail_Mime DB Date File

    Regards,
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice