+ Reply to Thread
Results 1 to 7 of 7

Thread: PHP Fatal error: Class 'rcube_user' not found in /web/mail.XXX/program/include/rcmai

  1. #1
    cpmwi is offline Registered User
    Join Date
    Mar 2009
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default PHP Fatal error: Class 'rcube_user' not found in /web/mail.XXX/program/include/rcmai

    I had an old(er) version of roundcube that I migrated to a new server, I get the below errors - I also get them in 2.2 when i try the manual or the auto install.

    So I figure this is a php issue, can someone point me in the right direction? I am running PHP5.2.10 / Apache2 / MySQL - Permissions look correct

    Thanks
    Matthew

    [02-Jul-2009 19:47:35] PHP Warning: include() [<a href='function.include'>function.include</a>]: Couldn't resolve host name in /web/mail.XXX/program/include/iniset.php on line 98
    [02-Jul-2009 19:47:35] PHP Warning: include(rcube_user.php) [<a href='function.include'>function.include</a>]: failed to open stream: operation failed in /we
    b/mail.XXX/program/include/iniset.php on line 98
    [02-Jul-2009 19:47:35] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'rcube_user.php' for inclusion (include_path=
    '/web/mail.XXX/:/web/mail.XXX/program:/web/mail.XXX/program/lib:/web/mail.XXX/program/include:.:/usr/share
    /php5:/usr/share/php') in /web/mail.XXX/program/include/iniset.php on line 98
    [02-Jul-2009 19:47:35] PHP Fatal error: Class 'rcube_user' not found in /web/mail.XXX/program/include/rcmail.php on line 122

  2. #2
    pnagel is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default same issue after updating PHP to 5.2.10

    Hi,

    I have the same error message since I updated PHP to version 5.2.10 (from 5.2.9) on my Gentoo server. Roundcube 0.2.1 has been running there without a problem. I tried updating Roundcube to 0.2.2 with no success.

    Is there an incompatibility between PHP 5.2.10 and Roundcube?

    Patrick.

  3. #3
    cpmwi is offline Registered User
    Join Date
    Mar 2009
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default

    Must be - at least a gentoo 5.2.10 problem. I am running gentoo as well.

    Dropping to 5.2.9 to see if that help.

  4. #4
    Kirktis is offline Registered User
    Join Date
    Sep 2006
    Posts
    1
    Downloads
    3
    Uploads
    0

    Default Ditto

    Same server setup, same issue. Also applies to 0.3 beta.

    [Edit:]
    Checked 5.2.10-r1 (still flagged unstable), same problem. I have a feeling this is an upstream issue as opposed to a gentoo-specific issue.
    Downgrading to 5.2.9-r2 solves the issue.
    [/Edit]
    Last edited by Kirktis; 07-12-2009 at 02:05 AM.

  5. #5
    pnagel is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    I also brought this up on the Development mailing list, see here.

    To summarise the discussion over there:
    • Till says Roundcube works with PHP built from source
    • Alec says Roundcube works on his Gentoo box with PHP 5.2.10
    • roy-66 says the same as Alec

    I then had a talk with Alec off-list, trying to find out the differences between our two Gentoo-PHP stacks, with the following results:
    • We ruled out that it has to do with the pathname of the Roundcube installation containing an URL-like element (my vhosts all have the domain name in the path, but I created a new vhost called 'test', and the problem persisted)
    • Alec suggested to disable "allow_url_include" - which already was disabled on my PHP
    • Alec suggested to disable Suhosin -> problem still persisted

    The following is a diff of Alec's and my USE flags...
    Code:
    --- my_php_use.txt      2009-07-05 14:55:20.000000000 +0800
    +++ alec_php_use.txt    2009-07-05 14:56:28.000000000 +0800
    @@ -1,31 +1,29 @@
     apache2
    +berkdb
     bzip2
    -cjk
     cli
     crypt
     ctype
    -curl
    -curlwrappers
    -exif
    -gd-external
    -hash
    +ftp
    +gd
    +gdbm
     iconv
     imap
    -ldap
    -mhash
    -mysql
    +ipv6
     ncurses
     nls
     pcre
    -pdo
    +posix
    +postgres
     readline
     reflection
     session
    -sockets
    +simplexml
    +snmp
    +spell
     spl
    +sqlite
     ssl
    -suhosin
    -threads
     truetype
     unicode
     xml

  6. #6
    satan777 is offline Registered User
    Join Date
    Jul 2009
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    My solution was to remove curlwrappers from use flags on gentoo. The ':' in path confuses the new php include code.

  7. #7
    pnagel is offline Registered User
    Join Date
    Jul 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    That's it! USE=-curlwrappers and RoundCube works again. Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts