Author Topic: Gmail with Roundcube on Dreamhost: Internal Server Error  (Read 7085 times)

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
    • http://SKaero.com/
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #1 on: September 25, 2009, 11:07:51 AM »
Can you post you error log?

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #2 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?
« Last Edit: September 25, 2009, 11:51:04 AM by whygee »

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #3 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
[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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
    • http://SKaero.com/
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #4 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?

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #5 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
    • http://SKaero.com/
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #6 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.

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #7 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.

explorerstart

  • Guest
gmail's fast login page
« Reply #8 on: September 26, 2009, 11:19:00 AM »
gmail's fast login page try this once
« Last Edit: September 26, 2009, 11:24:04 AM by skaero »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
    • http://SKaero.com/
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #9 on: September 26, 2009, 11:39:31 AM »
Try accessing the account on my sever: RoundCube Webmail :: Welcome to RoundCube Webmail this way we can check if its a sever problem.

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #10 on: September 26, 2009, 12:12:36 PM »
I got the same error on your server.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
    • http://SKaero.com/
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #11 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.

Offline whygee

  • Newbie
  • *
  • Posts: 8
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #12 on: September 26, 2009, 06:16:58 PM »
I tried the lastest trunk and it works!

Thank you for all your help.

Offline dipesharora

  • Newbie
  • *
  • Posts: 2
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #13 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 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
    • http://SKaero.com/
Gmail with Roundcube on Dreamhost: Internal Server Error
« Reply #14 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. 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.