Roundcube Community Forum

 

Stuck at login page

Started by evb, May 16, 2008, 04:22:10 PM

Previous topic - Next topic

evb

For the past week I tried to get a working roundcube installation, but no luck :(

So first my installation:
- Windows 2000 with IIS5.0
- php 5.2.5
- hmailserver 4.4.1-B273
- mysql 5.0
- roundcube 0.1.1

--> the hmailserver is working, I'm using it for the moment with a Outlook express client
--> php is working with squirrelmail

Installation of roundcube:
- did pass the installer setup without any problems : everything ok, could log to the IMAP server, could connect to the database and send a email
- first problem was the use of IIS5.0 with the http 405 problem - resource not allowed : this is a IIS5.0 bug, it is due to the form action="./" without a file name. The solution is to change every html file with action="./" to action="./index.php"
- after this I got the login page, but when logging in with my IMAP login and password, I got sql errors in the roundcube database, complaining about fields not null allowed :
       table : identities : fields 'organization', 'reply-to' set 'default' as value
field 'signature' null allowed
       table : contacts : fields 'firstname', 'surname' and 'vcard' set 'default' as value
- after this I'm still stuck at the login screen, but
--> my IMAP user is created in the roundcube database, together with a identity
--> I see a successfull login in my IMAP server, followed directly by a logout??

So I searched this forum and found several people with the same problem.
I tried the proposed solutions:
- setting session.auto_start to false (is already so in my php installation)
- changing the database driver from mdb2 to db : no change
- I did the test to see if the browser was able to set the session : was OK
- If I encode a wrong login and password, I get the message: login failed and I see an entry in the roundcube logfile : this is normal

I'm running out of ideas.
Squirrelmail is running without any problem on the same machine.
I like very much the layout of roundcube, but ....
I programmed in the past in php, but that is a long time ago.
I installed HAPEdit to look a bit in the code, but it was really long time ago :o

rsfeller

I got RoundCube to install on IIS 5.0 but cannot get past the login screen!

anything I try fails and I have no idea what is supposed to go in the server field!?!?!

Ideas?

Shawn

JohnDoh

Quote from: rsfeller;12065anything I try fails and I have no idea what is supposed to go in the server field!?!?!
The hostname of your imap server should go in the server field. If you only use one you can specify this in $rcmail_config['default_host'] in your config file. The box will then be removed from the login screen.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

evb

hello rsfeller, did you try the idea of JohnDoh?
Did it work for you?
Can you pass the login screen?

evb

When searching this forum I found several people with the same problem.
Nobody did find a solution? They all did leave the project? :( :eek:

I'm running now SquirrelMail for the moment in the same configuration, but the layout is not very beautifull. But it works, the installation did take 5 minutes and I did no adaptation to the existing php/IIS configuration (Joomla test site already running on it) to be able to run it.
I found new layouts like NutsMail running on SquirrelMail with beautifull layouts, but they are commercial ...
Because the webmail must run at home (the goal is to be able to see the emails on any running machine for the whole family), I want to avoid that, we have already plenty of other costs :rolleyes:
But, ok, if I don't find a solution to run Roundcube, the price of the Nutsmail skins are acceptable....

evb

I have found the problem thanks to the support pages on Squirrelmail.
Like said, I'm running on IIS5.0 (windows2000) and php 5.2.5.

PHP is configured in IIS as CGI/FASTCGI
When reading the known problems on the squirrelmail support pages, I stumbed on the Login Faild support page (http://squirrelmail.org/wiki/LoginFails)
There they where talking that sometimes users could not log in squirrelmail because php was using CGI and not ISAPI.
So I reconfigured the IIS server to use ISAPI (go to IIS, default web site, properties, tab home directory, configuration, scroll to .php and edit to use C:\PHP\php5isapi.dll.)
After that roundcube was working!   :D:D