Roundcube Community Forum

 

Login Error

Started by no1uno, October 20, 2007, 10:20:04 PM

Previous topic - Next topic

no1uno

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

SKaero

Any errors in the error log?

no1uno

Quote from: SKaero Any errors in the error log?

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

[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

no1uno

*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

no1uno

 :'( 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

observer


no1uno

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

carefree


Add localhost to these lines:

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

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

clf

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.

evb

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?

M*I*B

#10
... 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
<?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...
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][

rosali

Regards,
Rosali

M*I*B

... 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][

rosali

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