One step further:
After changing the COMM_PATH initialisation in index.php as follows I am able to use the adressbook, adjust the personal settings, use the logout and even compose a message.
$COMM_PATH = sprintf('index.php?_auth=%s&_task=%s', $sess_auth, $_task);
The missing problems left are:
corresponding button or forwarded. i.e. it only tries to load for a long, long time and finishs with " Fatal error: Maximum execution time of 120 seconds exceeded in c:\Inetpub\wwwroot\mail\program\lib\imap.inc on line 104 ". I think that there might be a problem for the IMAP client to read the message.
[function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:\Inetpub\wwwroot\mail\program\include\main.inc on line 955
Do you sse a chance to fix these two problems as well as the one with the self-referencing?
Is there any debug information that I can provide you with? I might as well create a temporary account on my private IMAP Server and provide you with the account information. That way you might reproduce the error.
Greetings Sven _____
Von: Sven Nickel [mailto:snickel@gmx.net] Gesendet: Freitag, 21. Oktober 2005 19:39 An: 'dev@lists.roundcube.net' Betreff: WG: Login fails using RoundCube under IIS Web Server (Windows XP) with "HTTP 405"
It turns out that after manually changing the action field in the login template the list of messages shows up correctly. That is a great step at least.
I think that if RoundCube should work with IIS all self-referencing forms must shall at least point to "index.php". But it would be better if it would point to the path provided via $_SERVER["PHP_SELF"]. So the code in clean php, the JavaScript scripts, the template parsing and the templates might need to be adjusted.
Now after being logged in I'm unable to open any message or use any of the buttons. I think that the reason for that is the (in the view of IIS) "wrong" self-reference.
Do you see a change to change that behavious so that every self-refernce uses the scripts real path - or at least that until there is a final solution that "index.php" is used instead of "./" ?
Addition: IIS is configured to look for "index.php" automatically if only a reference to the directory is passed. That way adressing http://localhost/mail http://localhost/mail opens the "index.php" as wanted.
Thanks a lot Sven _____
Von: Sven Nickel [mailto:snickel@gmx.net] Gesendet: Freitag, 21. Oktober 2005 19:01 An: 'dev@lists.roundcube.net' Betreff: Login fails using RoundCube under IIS Web Server (Windows XP) with "HTTP 405"
Hallo RoundCube Developers!
I have installed RoundCube under IIS (Windows XP German) and am running MySQL and PHP on the same system. I have got the problem that when I open the login page (http://localhost/mail.index.php), type in the correct user information and then press the Login button it just gives me the page for "HTTP 405 - Resource not allowed".
I think that it has to do with the way IIS reacts the the action field that is provided in the login form:
<form name="form" action="./" method="post">
If I save the html source and replace the action field above with 'action="index.php"' the list of messages turns up. I myself did some PHP/MySQL development but don't have a clue what the problem here is. I think that I should get further if RoundCube would not only provider "./" in den login field but also the complete address of the file. I don't really know if it would solve the problem but at least the login should work - so I think - if RoundCube would use 'action="" . $_SERVER["PHP_SELF"]'.
What do you think about that?
Thanks a lot Sven Nickel
Berlin, Germany ICQ: 18256397 Web: http://www.fooserama.de http://www.fooserama.de/