Roundcube Community Forum

 

Login Problem

Started by tzpow, March 24, 2010, 12:55:33 AM

Previous topic - Next topic

tzpow

I installed Roundcube and Hmailserver in one machine. I am not sure if I configure Roundcube correctly. Basically, I am now able to get to the login page. I enter my username  [email protected] and enter the correct password for my email. When i click on login button it just said "The page cannot be displayed" So i try other email account and they all say the same message. Those emails are good, I am able to send and receive emails in Outlook Express.

So l query the users table in the Roundcube database and it is empty. My question is how do I add user accounts So they can use with Roundcube?

dshepherd

Check that the following setting is set to TRUE in your config file:

$rcmail_config['auto_create_user'] = TRUE;

This will automatically create roundcube users when they first login successfully.

tzpow

#2
auto_create_user has always been set to true...

I am confused on how does Roundcube know that I have such email accounts in Hmailserver. At which point does Roundcube make the connection to Hmail database and look up the email address because I sure I did not provide my Hmail password in the Roundcube Config... It never asked.

dshepherd

Roundcube won't contact the hmail database directly but by having the auto_create_user set to true, the first time a user logs in successfully rc will create the user in the rc database as it knows that the user exists on the mail server. This user will then be used in the rc database for rc settings.

It would be worth checking you have the correct username/password set in your rc db config file.

tzpow

This is what I have in the db config file:
$rcmail_config['db_dsnw'] = 'mysql://DBusername:DBpassword@localhost/roundcubemail';

The dbusername and password are correct because I am able to connect to it in Mysql Administration.

Any other reasons that why I am unable to login.

thanks

dshepherd

Have you checked your logs for errors?

tzpow

There is no logs in the the Logs folder. It has only has one .htaccess file . Is there other place where I can get the logs?  Also, it didn't produce any error when I login. It just redirect to page where it says "page cannot be display"

So here are the steps of how I login

1. I point my browser to http://www.mysite.com/mail/index.php <-- The mail directory is where I store my RC files

2. I enter my email in username and password and when i click the button, it just redirect me to http://www.mysite.com/mail/ with a  "page cannot be display" error.

Strange

JohnDoh

hi,

i think this has come up before, did you try searching the forum?

have you tried whats suggested here http://www.roundcubeforum.net/5-release-support/17-pending-issues/5205-404-not-found-error-when-logging.html

and i think there is another thread about needing to use index.php explicity rather than /?args...... but i cant find that thread right now :/
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

tzpow

Thanks soo much to dshepherd and JohnDoh... I don't know what the problem was, but the fix is by adding index.php under property of the website in iis in the Documents tab.

thanks