Roundcube Community Forum

Release Support => Pending Issues => Topic started by: julius on October 21, 2008, 08:21:43 PM

Title: RoundCube doesn't "log in"
Post by: julius 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, [email protected], ip=[::ffff:127.0.0.1], port=[52377], protocol=IMAP
Oct 22 00:17:50 mx0 imapd: LOGOUT, [email protected], 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 [email protected] (id 1) from 92.xx.xx.xx

Can you please help me debug this thing?
Title: Found the solution
Post by: julius 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:
echo "php_flag session.auto_start Off" >> /usr/local/www/roundcube/.htaccess

You might need this directive for your VirtualHost in httpd.conf:
   
        Options Indexes FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
   
Title: RoundCube doesn't "log in"
Post by: mrpsycho 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();
Title: DVI computer monitor adaptor
Post by: hdmyg8586 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 (http://www.liangdianup.com/computeraccessories_1.htm)
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 (http://www.lducompany.com) and click on computer accessories. Let me know if that is what you need and give me your email address again.
Title: RoundCube doesn't "log in"
Post by: doalwa on February 28, 2009, 09:18:37 PM
Quote from: julius;14798The 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:
echo "php_flag session.auto_start Off" >> /usr/local/www/roundcube/.htaccess

You might need this directive for your VirtualHost in httpd.conf:
   
        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 :)