Author Topic: RoundCube doesn't "log in"  (Read 4081 times)

Offline julius

  • Newbie
  • *
  • Posts: 2
RoundCube doesn't "log in"
« on: October 21, 2008, 08:21:43 PM »
Hello,

I just installed roundcube on a FreeBSD 7-stable server using Courier-IMAP for pop3 and IMAP. I have looked at all logs I know of and I can't find any errors.
RoundCube just logs in, adds the user to the users table and logs back out. I never get past the logon screen. The only thing that I can see happen is the username and password getting cleared.

This is what I get in the maillog:

Oct 22 00:17:50 mx0 imapd: LOGIN, user=user@domain.tld, ip=[::ffff:127.0.0.1], port=[52377], protocol=IMAP
Oct 22 00:17:50 mx0 imapd: LOGOUT, user=user@domain.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=25, sent=180, time=0

I don't get any reports in ./logs/errors or in the httpd errorlog.

But I do get a report of a succesful login in userlogins:

# tail logs/userlogins
[22-Oct-2008 00:43:38 +0000]: Successful login for user@domain.tld (id 1) from 92.xx.xx.xx

Can you please help me debug this thing?
« Last Edit: October 21, 2008, 08:49:26 PM by julius »

Offline julius

  • Newbie
  • *
  • Posts: 2
Found the solution
« Reply #1 on: October 21, 2008, 09:31:03 PM »
The solution was to create a .htaccess file in the root of roundcube and add this line to it: php_flag session.auto_start Off
In my case:
Code: [Select]
echo "php_flag session.auto_start Off" >> /usr/local/www/roundcube/.htaccess

You might need this directive for your VirtualHost in httpd.conf:
Code: [Select]
   
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
   

Offline mrpsycho

  • Newbie
  • *
  • Posts: 1
RoundCube doesn't "log in"
« Reply #2 on: December 11, 2008, 06:20:18 AM »
i had the same problem.

but, i use nginx and php-cgi, so after short research i did that in rcmail.php:
Quote
// start PHP session (if not in CLI mode)
    if (true or $_SERVER['REMOTE_ADDR'])
      session_start();

hdmyg8586

  • Guest
DVI computer monitor adaptor
« Reply #3 on: December 12, 2008, 02:57:49 AM »
I found that connector you were looking for
Cindy, is this the thing you were looking for?
Wholesale Computer Accessories, Free Shipping, Wholesaler Distributor
It's on the list of computer accessories and parts. They have the DVI video thing to convert that jap monitor to work with your other computer. Just about any other kind of wire adaptor, usb connectors, monitor extension wires, ps2 extention wires, and all kinds of female and male swap connectors and things that I think would help your shop. If that above link don't work then goto FREE Shipping Of Wholesale Items China Direct Wholesaler Distributor and click on computer accessories. Let me know if that is what you need and give me your email address again.

Offline doalwa

  • Newbie
  • *
  • Posts: 1
RoundCube doesn't "log in"
« Reply #4 on: February 28, 2009, 09:18:37 PM »
Quote from: julius;14798
The solution was to create a .htaccess file in the root of roundcube and add this line to it: php_flag session.auto_start Off
In my case:
Code: [Select]
echo "php_flag session.auto_start Off" >> /usr/local/www/roundcube/.htaccess

You might need this directive for your VirtualHost in httpd.conf:
Code: [Select]
   
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
   


I just wanted to add that I was having exactly the same problem, my configuration:

OS: FreeBSD 7.1
PHP 5, MySQL 5.0

After I installed Roundcube from Ports and edited the configuration, I was unable to actually log in.

After I created the .htaccess file shown above and edited the corresponding Alias in httpd.conf, I was finally able to login!

And BTW, from what I've seen, Roundcube rocks..I've gotten tired of Squirrelmail :)