Roundcube Community Forum

 

Gmail with Roundcube on Dreamhost: Internal Server Error

Started by whygee, September 24, 2009, 06:18:35 PM

Previous topic - Next topic

whygee

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.

SKaero


whygee

#2
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?

whygee

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
[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

SKaero

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?

whygee

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.

SKaero

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.

whygee

Quote from: skaero;21767try increasing the memory_limit and session.gc_maxlifetime values in .htaccess.

sorry, no luck with that.

explorerstart

#8
gmail's fast login page try this once

SKaero

Try accessing the account on my sever: RoundCube Webmail :: Welcome to RoundCube Webmail this way we can check if its a sever problem.

whygee


SKaero

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.

whygee

I tried the lastest trunk and it works!

Thank you for all your help.

dipesharora

Quote from: skaero;21770Try accessing the account on my sever: RoundCube Webmail :: Welcome to RoundCube Webmail 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.

SKaero

Quote from: dipesharora;22070I 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. 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.