>> >> > >> > Hi everyone, >> >> > >> > >> >> > >> > a few days ago I wrote about the error >> >> > >> > 'ERROR >> >> > >> > 'Unknown user or password incorrect. >> >> > >> > 'Go to the login page. >> >> > >> > >> >> > >> > This error appears after a correct login on the right frame >> >> > >> where usually >> >> > >> > the message list is shown. The left frame is left blank. >> >> > >> > >> >> > >> > Tomas Kuliavas gave me a PHP script 'test-session.php' for >> >> > >> testing the >> >> > >> > session support of my PHP installation. It should show >> changing>> > >> text after >> >> > >> > reload. Now I tried this script and it works fine. >> >> > >> > >> >> > >> > Here are the details of my webserver: >> >> > >> > Windows 2000 Professional with SP4 >> >> > >> > IIS 5.0 >> >> > >> > PHP 4.4.2 >> >> > >> > SquirrelMail 1.4.5 (one original and one with some plugins) >> >> > >> > SquirrelMail 1.4.6 (original) >> >> > >> > PHP.INI: There are no changes after installation of PHP >> >> with >> >> > the EXE >> >> > >> > installer (i. e. register_globals=off, see also attached >> >> file >> >> > from>> > C:\WINNT). >> >> > >> > DLLs: I didn't copy any DLL files to the windows directory. >> >> > >> >> >> > >> Test your php settings >> >> > >> (http://www.squirrelmail.org/wiki/TestPHPSettings)and show us >> >> > >> core, session and mbstring extension settings. >> >> > >> >> >> > > Hi, >> >> > > >> >> > > see my phpinfo file as attachment. >> >> > >> >> > According to phpinfo, your php.ini is not in c:\windows\php.ini, >> >> > but in >> >> > C:\PROGRA~1\PHP\PHP-44~1.2\php.ini >> >> > >> >> > You have several issues >> >> > a) when you debug php issues, you must enable display_errors. It >> >> > is turned >> >> > off in your setup. >> >> > b) upload_tmp_dir is not set. It defaults to /tmp and is >> >> unusable >> >> > on Win32. >> >> > c) session.save_path is not set. It defaults to /tmp and is >> >> > unusable on >> >> > Win32. >> >> > d) your php installation is in C:\PROGRA~1\PHP\PHP-44~1.2\, >> but pear >> >> > includes are in c:\php4\pear. Where do you store your php >> >> > installation? >> >> > >> >> These are very helpful information. I changed the settings but >> >> with the pear includes I don't know how to change the setting. PHP >> >> ist installed in C:\Programme\PHP\php-4.4.2\ and there is also a >> >> folder named PEAR. What should I do? >> >> >> >> Thank you. >> >> >> >> Stefan >> >> >> > I tried SquirrelMail but there were no changes in the behavior. >> > session.save_path = C:\TEMP >> > upload_tmp_dir = C:\TEMP >> > display_errors = on (I didn't get any PHP error!) >> >> 1. use c:/temp instead of c:\temp >> 2. if phpinfo() still shows old values - restart iis >> 3. make sure that c:/temp is writable by anonymous web user. >> >> modify include_path setting in php.ini and use correct pear directory >> instead of c:\php4\pear. >> > OK, done but no changes. Is it possible that the server can not answer in > time? When SquirrelMail is used the processes PHP.EXE and HMailServer.exe > (version 4.1.1-B140) use together 100% CPU for a few seconds. I think > SquirrelMail gets a timeout.
If you get 'Unknown user or password incorrect', when URL says http://your-host/path-to-sm/src/webmail.php - you have invalid php session setup or cookies are not accepted by browser. SquirrelMail managed to pass src/redirect.php script and redirect.php verified that provided username and password information is correct. Recheck your php settings in phpinfo(). ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users