Author Topic: Login Error  (Read 8219 times)

Offline no1uno

  • Newbie
  • *
  • Posts: 5
Login Error
« on: October 20, 2007, 10:20:04 PM »
Hi all
I have just installed Roundcube, and have been trying to get it to work. I have been searching this forum and hMailserver forum to help me to get it to work.

I have finally got to the login page, but thats as far as I get. When I click the submit button after entering user details, I just get returned back to the login screen. I know its not an error with login details because when I do enter the wrong credentials I get a return error "Login Failed"
-------------------
"No One You Know"
-------------------
WK2 Server/IIS5.0
hMailServer 4.4.1
MySQL 4.1
PHP 5.1
Roundcube 0.1 - rc2

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Login Error
« Reply #1 on: October 20, 2007, 10:30:50 PM »
Any errors in the error log?

Offline no1uno

  • Newbie
  • *
  • Posts: 5
Re: Login Error
« Reply #2 on: October 20, 2007, 10:54:47 PM »
Quote from: SKaero
Any errors in the error log?

No errors. Only ones are when I tried to login with wrong credetials.

Code: [Select]
[21-Oct-2007 12:51:32 +1000] IMAP Error: Authentication for support failed (LOGIN): "a001 NO Invalid user name or password. Please use full email address as user name." in on line 0
-------------------
"No One You Know"
-------------------
WK2 Server/IIS5.0
hMailServer 4.4.1
MySQL 4.1
PHP 5.1
Roundcube 0.1 - rc2

Offline no1uno

  • Newbie
  • *
  • Posts: 5
Re: Login Error
« Reply #3 on: October 23, 2007, 04:31:04 AM »
*Bump*

I have seen this error mentioned a few times on the board with little in the way of a resolution!
Surely there must be a fix for this! ???

Cheers
-------------------
"No One You Know"
-------------------
WK2 Server/IIS5.0
hMailServer 4.4.1
MySQL 4.1
PHP 5.1
Roundcube 0.1 - rc2

Offline no1uno

  • Newbie
  • *
  • Posts: 5
Re: Login Error
« Reply #4 on: November 12, 2007, 09:17:54 PM »
 :'( I'm still hoping someone can help me with this!
-------------------
"No One You Know"
-------------------
WK2 Server/IIS5.0
hMailServer 4.4.1
MySQL 4.1
PHP 5.1
Roundcube 0.1 - rc2

Offline observer

  • Newbie
  • *
  • Posts: 3
Re: Login Error
« Reply #5 on: November 13, 2007, 05:11:17 AM »
So am I. ???

Offline no1uno

  • Newbie
  • *
  • Posts: 5
Re: Login Error
« Reply #6 on: December 27, 2007, 10:57:36 AM »
Posted this problem over 2 months ago, and still have this error. Glad I didn't pay anything this!
Go Squirrelmail. ;D
-------------------
"No One You Know"
-------------------
WK2 Server/IIS5.0
hMailServer 4.4.1
MySQL 4.1
PHP 5.1
Roundcube 0.1 - rc2

Offline carefree

  • Newbie
  • *
  • Posts: 1
Re: Login Error
« Reply #7 on: December 28, 2007, 12:32:17 AM »

Add localhost to these lines:

$rcmail_config['default_host'] = 'localhost';

$rcmail_config['smtp_server'] = 'localhost';

Offline clf

  • Newbie
  • *
  • Posts: 1
Re: Login Error
« Reply #8 on: April 14, 2008, 01:18:06 PM »
I was having this problem as well, until I stopped accessing the login page using http://localhost/roundcube and changed to http://myhost.mydomain.com/roundcube

I suspect it's a cookie thing - make sure your session_domain in main.inc.php and your "mydomain.com" in the URL you're accessing it with match up.

Offline evb

  • Jr. Member
  • **
  • Posts: 34
Login Error
« Reply #9 on: May 15, 2008, 03:33:17 AM »
Did someone find a solution for this?

I've tried all proposed solutions, but no result, I can't pass the login screen.
My roundcube user is created in the roundcube database, together with a identity. I see a successfull login in my IMAP server (hmailserver), followed immediately by a logout. Is this the cause?

Offline M*I*B

  • Jr. Member
  • **
  • Posts: 33
Login Error
« Reply #10 on: January 12, 2009, 02:03:22 PM »
... I just have an problem near or identical like this ...

RC is installed in a root of a SubDomain. I call RC by mail.domain.tld

So all things with topic domain and near this are set by the following code in the main.inc.php
Code: [Select]
<?php
$rcmail_config 
= array();
$tempDomain array_reverse(explode(&quot;.&quot;,$_SERVER['HTTP_HOST']));
$tempDomain $tempDomain[1].&quot;.&quot;.$tempDomain[0];
$tempHost = &quot;mail.&quot;.$tempDomain;

... 
blabla ...

$rcmail_config['default_host'] = $tempDomain;
$rcmail_config['username_domain'] = $tempDomain;
$rcmail_config['mail_domain'] = $tempDomain;
$rcmail_config['smtp_server'] = $tempDomain;
$rcmail_config['smtp_helo_host'] = $tempDomain;

... 
blabla ...

$rcmail_config['session_domain'] = $tempHost;

... 
blabla ...
?>

So all works fine at the 1st view, but...

1. If I set session_domain to tempHost or tempDomain I can't log in
-> Apache- ErrorLog don't say any about that
-> RC- userlogins say Successful login for ... :o

2. If I set session_domain to an empty string (default)
-> Apache- ErrorLog say:
once-> PHP Notice:  Undefined index:  HTTPS in C:\\[path to]\\iniset.php on line 56
twice-> PHP Notice:  Undefined index:  HTTPS in C:\\[path to]\\iniset.php on line 56, referer: mail.domain.tld
twice-> PHP Notice:  Undefined index:  HTTPS in C:\\[path to]\\iniset.php on line 56, referer: mail.domain.tld/?_task=mail
-> RC- userlogins say Successful login for ...


So I have try many different combinations more but ever with one of the results described before...

 I belive it must be possible to get it to run without Errormessages?!?

Anybody an idea???

(sorry about my ugly english...)

PS: The tempDomain/Host thing dont's work right in MyRC at the moment. I belive rosali will fix it in the next time...
« Last Edit: January 12, 2009, 02:23:34 PM by M*I*B »
Baba ...
... Micha

Wir, die guten Willens sind, geführt von Ahnungslosen, versuchen für die Undankbaren das Unmögliche zu vollbringen. Wir haben schon soviel mit sowenig solange versucht, dass wir jetzt qualifiziert sind, fast alles mit nichts zu bewältigen.[/SIZE][

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Login Error
« Reply #11 on: January 13, 2009, 12:43:31 AM »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline M*I*B

  • Jr. Member
  • **
  • Posts: 33
Login Error
« Reply #12 on: January 13, 2009, 02:14:37 AM »
... hmm ...
Than it dosnt work at my side. I have exactly the new one described in the link you write down...
Baba ...
... Micha

Wir, die guten Willens sind, geführt von Ahnungslosen, versuchen für die Undankbaren das Unmögliche zu vollbringen. Wir haben schon soviel mit sowenig solange versucht, dass wir jetzt qualifiziert sind, fast alles mit nichts zu bewältigen.[/SIZE][

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Login Error
« Reply #13 on: January 13, 2009, 05:17:46 AM »
You won't get the NOTICE error with current SVN trunk. I believe you installed MyRoundCube which already is updated to current SVN release and you also have a default RoundCube stable installation which may throw the NOTICE error.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)