Roundcube Community Forum

 

login page doesn't take me anywhere

Started by kevinwinters, February 01, 2010, 11:48:05 AM

Previous topic - Next topic

kevinwinters

Hi,
Brand new to RoundCube, I installed it on my WAMP server and I think I can log-in successfully to my hmailserver (located on localhost) however, the login page just stays there with no error indication - the page refreshes to http://localhost:8081/round/?_task=mail but the login just stays there....

I assume it logs in correctly because if I use a wrong username or password, I get a "login failed"

Can someone give me a hint on what is going on?  Thanks in advance


kevin

toetag

check the log files under /roundcube/logs.

see if there are any errors there.  Also, turn on the "active logging" in the hMail interface and see if it tracks a connection attempt.  Also, turn off the "too many login attempt" feature in hMail.  webmail will create a rule in hMail to block connections (doesn't sound like this is the case, just covering all bases).
<[ a desert to an irishman is an empty glass. ]>

kevinwinters

Thanks for the help.
Logs make it seem like everything is good- I think it shows I logged in fine - here is IMAP log.  It's just that the login page doesn't bring me anywhere.  


[02-Feb-2010 12:25:47 +0000]: S: * OK IMAPrev1
[02-Feb-2010 12:25:47 +0000]: C: cp01 CAPABILITY
[02-Feb-2010 12:25:47 +0000]: S: * CAPABILITY IMAP4 IMAP4rev1 CHILDREN IDLE QUOTA SORT NAMESPACE ACL RIGHTS=texk
[02-Feb-2010 12:25:47 +0000]: S: cp01 OK CAPABILITY completed
[02-Feb-2010 12:25:47 +0000]: C: a001 LOGIN &quot;[email protected]&quot; &quot;pword&quot;
[02-Feb-2010 12:25:47 +0000]: S: a001 OK LOGIN completed
[02-Feb-2010 12:25:47 +0000]: C: ns1 NAMESPACE
[02-Feb-2010 12:25:47 +0000]: S: * NAMESPACE ((&quot;&quot; &quot;.&quot;)) NIL ((&quot;#Public&quot; &quot;.&quot;))
[02-Feb-2010 12:25:47 +0000]: S: ns1 OK namespace command complete
[02-Feb-2010 12:25:47 +0000]: C: ghd LIST &quot;&quot; &quot;&quot;
[02-Feb-2010 12:25:47 +0000]: S: * LIST (/NoSelect) &quot;.&quot; &quot;&quot;
[02-Feb-2010 12:25:47 +0000]: S: ghd OK LIST completed

Martian

It sounds like you are using PHP 5.3.x with the mysqli protocol.  For some reason that setup does NOT work (can't get past the login screen - no error message).  You will either need to downgrade to PHP 5.2.x or change your MYSQL protocol in ../config/db.inc.php from mysqli to mysql (no "i").

Hope this helps.

Martian

kevinwinters

I am using PHP 5.3.x but the db.inc.php seems to be using mysql and not mysqli:
$rcmail_config['db_dsnw'] = 'mysql://theuser:thepassword@localhost/roundcube';

I will attempt to downgrade to php 5.2.x - not sure how to do it but I will research it.

Thanks for the direction

Martian

Quote from: kevinwinters;25149I am using PHP 5.3.x but the db.inc.php seems to be using mysql and not mysqli:
$rcmail_config['db_dsnw'] = 'mysql://theuser:thepassword@localhost/roundcube';

I will attempt to downgrade to php 5.2.x - not sure how to do it but I will research it.

Thanks for the direction

Hmmm, I have no trouble using PHP 5.3.x so long as mysql is set.  I only need to downgrade to 5.2.x to use mysqli.  I'm using ARCH Linux and downgrading is as simple as backing up /etc/php/php.ini and doing "pacman -S php52".

Best of luck!

Martian

rjk

I have run in to this same problem. Using mysqli, I get an error about a bad password, whether it is wrong or not.
Using mysql, a bad login shows an error, but a good login clears out the login form and then does nothing.

None of my folder names contain special characters.
I am running on IIS 7.5 FastCGI with PHP 5.3.2 and the latest hMailServer.

hMailServer logs show a successful login followed by a logout after fetching various parameters about the inbox.

The IMAP connection uses SSL

Any ideas? Should I be using the SVN?