RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ
Reply
  3 links from elsewhere to this Post. Click to view. #1  
Old 07-03-2009, 03:55 AM
Registered User
 
Join Date: Mar 2009
Posts: 6
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-03-2009, 04:50 AM
Registered User
 
Join Date: Jul 2009
Posts: 3
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-03-2009, 05:14 AM
Registered User
 
Join Date: Mar 2009
Posts: 6
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-12-2009, 01:19 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-12-2009, 03:16 AM
Registered User
 
Join Date: Jul 2009
Posts: 3
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-12-2009, 08:03 PM
Registered User
 
Join Date: Jul 2009
Posts: 2
Default

My solution was to remove curlwrappers from use flags on gentoo. The ':' in path confuses the new php include code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-13-2009, 02:56 AM
Registered User
 
Join Date: Jul 2009
Posts: 3
Default

That's it! USE=-curlwrappers and RoundCube works again. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.roundcubeforum.net/5-release-support/17-pending-issues/4969-php-fatal-error-class-rcube_user-not-found-web-mail-xxx-program-include-rcmai.html
Posted By For Type Date
Nabble - RoundCube - Development - Incompatibility with PHP 5.2.10? This thread Refback 12-27-2009 10:08 PM
Nabble - RoundCube - Development - Incompatibility with PHP 5.2.10? This thread Refback 10-24-2009 08:46 AM
Re: [RCD] Incompatibility with PHP 5.2.10? This thread Refback 09-11-2009 03:18 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 01:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community