Roundcube Community Forum

Release Support => Pending Issues => Topic started by: whygee on September 24, 2009, 06:18:35 PM

Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 24, 2009, 06:18:35 PM
Hi,

I've installed Roundcube on my Dreamhost so I could access my Gmail account with IMAP.

All my configs seem to be OK on the installer page and the login also works on the test page.

However, when I try to login, I always get a "Internal Server Error" error (the welcome page loads, but when the error occurs when I input my credentials).

I tried deleting .htaccess, but it doesn't seem to help.

I hope somebody can tell me more.

Thanks.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: SKaero on September 25, 2009, 11:07:51 AM
Can you post you error log?
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 25, 2009, 11:17:22 AM
I have nothing in /logs, I'll try to activate PHP logs.

Edit: I already have those lines in .htaccess

php_flag   display_errors   Off
php_flag   log_errors   On
php_value   error_log   logs/errors

Is there anything I could do?
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 25, 2009, 01:46:31 PM
In the host logs, I found the following lines:

[Fri Sep 25 10:06:59 2009] [error] [client 198.103.223.52] Premature end of script headers: index.php, referer: RoundCube Webmail :: Welcome to RoundCube Webmail (http://samueldupere.info/email/)
[Fri Sep 25 10:06:59 2009] [error] [client 198.103.223.52] File does not exist: /home/bobgeldof/samueldupere.info/internal_error.html, referer: RoundCube Webmail :: Welcome to RoundCube Webmail (http://samueldupere.info/email/)
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: SKaero on September 26, 2009, 03:53:56 AM
I tried logging in to my gmail account with your Roundcube install and it worked. Do you have imap turned on in your gmail account?
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 26, 2009, 08:42:30 AM
It is actived, but you have a point: I tried with a different Gmail account and it worked!

Is it possible that it times out because there's too many messages in my account (10 000)?

I also noticed that the interface is a bit slow, but that is probably has to do with Dreamhost's shared hosting.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: SKaero on September 26, 2009, 09:10:45 AM
It shouldn't be a problem because it only displays 40 emails at time but try increasing the memory_limit and session.gc_maxlifetime values in .htaccess.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 26, 2009, 10:07:36 AM
Quote from: skaero;21767
try increasing the memory_limit and session.gc_maxlifetime values in .htaccess.


sorry, no luck with that.
Title: gmail's fast login page
Post by: explorerstart on September 26, 2009, 11:19:00 AM
gmail's fast login page try this once
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: SKaero on September 26, 2009, 11:39:31 AM
Try accessing the account on my sever: RoundCube Webmail :: Welcome to RoundCube Webmail (http://mail.skaero.com/) this way we can check if its a sever problem.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 26, 2009, 12:12:36 PM
I got the same error on your server.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: SKaero on September 26, 2009, 01:04:06 PM
I got a caching error in my logs, try turning off caching in config/main.inc.php $rcmail_config['enable_caching'] Hopefully that will work. Otherwise I would recommend trying the SVN version.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: whygee on September 26, 2009, 06:16:58 PM
I tried the lastest trunk and it works!

Thank you for all your help.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: dipesharora on October 11, 2009, 08:42:24 PM
Quote from: skaero;21770
Try accessing the account on my sever: RoundCube Webmail :: Welcome to RoundCube Webmail (http://mail.skaero.com/) this way we can check if its a sever problem.


I was able to login to my Gmail account using your URL though I was unable to configure the same on localhost for Gmail. I am able to access other IMAP accounts provided by my webhost.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: SKaero on October 12, 2009, 02:54:20 AM
Quote from: dipesharora;22070
I was able to login to my Gmail account using your URL though I was unable to configure the same on localhost for Gmail. I am able to access other IMAP accounts provided by my webhost.
Check that all of the imap settings are correctly Configuring other mail clients - Gmail Help (http://mail.google.com/support/bin/answer.py?answer=78799). Also check with your host that port 993 (outgoing) is unblocked, A lot of hosts block it. If that still doesn't work please post your error log.
Title: Gmail with Roundcube on Dreamhost: Internal Server Error
Post by: dipesharora on October 12, 2009, 08:54:08 PM
Quote from: skaero;22080
Check that all of the imap settings are correctly Configuring other mail clients - Gmail Help (http://mail.google.com/support/bin/answer.py?answer=78799). Also check with your host that port 993 (outgoing) is unblocked, A lot of hosts block it. If that still doesn't work please post your error log.


Thanks, I contacted my webhost & they opened port 993. It works like a charm now.