Author Topic: login page doesn't take me anywhere  (Read 4390 times)

Offline kevinwinters

  • Newbie
  • *
  • Posts: 3
login page doesn't take me anywhere
« on: February 01, 2010, 11:48:05 AM »
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

Offline toetag

  • Jr. Member
  • **
  • Posts: 65
login page doesn't take me anywhere
« Reply #1 on: February 01, 2010, 11:41:22 PM »
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. ]>

Offline kevinwinters

  • Newbie
  • *
  • Posts: 3
They seem normal
« Reply #2 on: February 02, 2010, 07:32:53 AM »
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.  

Code: [Select]

[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;xxxx@xxxx.com&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

Offline Martian

  • Jr. Member
  • **
  • Posts: 35
login page doesn't take me anywhere
« Reply #3 on: February 02, 2010, 09:03:41 AM »
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

Offline kevinwinters

  • Newbie
  • *
  • Posts: 3
Yes
« Reply #4 on: February 02, 2010, 09:43:36 AM »
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

Offline Martian

  • Jr. Member
  • **
  • Posts: 35
login page doesn't take me anywhere
« Reply #5 on: February 02, 2010, 10:09:40 AM »
Quote from: kevinwinters;25149
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


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

Offline rjk

  • Newbie
  • *
  • Posts: 1
login page doesn't take me anywhere
« Reply #6 on: March 25, 2010, 09:42:33 AM »
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?