IIS & Serendipity
IIS & Serendipity
looking for help installing Serendipity 1.2.1 ZIP under windows 2003 IIS server, MySQL 5.0.45. When I log in I am thrown back to user/pass page. I have checked session cookies and they are on. I use phpmyadmin w/ cookie auth and it works fine. I did see a post in regards to non https login. I currently don't have https working. I have checked cookie dir and cookies are being written to dir so I know it has the permissions, escpecially since I have put IUSR to full control. Does the installation have an issue with non-https login's? Looking for any help you can provide. --Thanks in advance
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: IIS & Serendipity
Hi!
Which browser do you use? If you'Re using Firefox: Please install the LiveHTTP-Header extension. With that you can see what your server sends.
Then you could check to see which cookie "PHPSESSID" setting your server submits, and which your browser sends back. They should not change after login. If they do, it means either the IIS/PHP is not utoilizing PHP sessions, your browser is rejecting the cookies, or there's a domain name mismatch. Did you check if the HTTP hostname changes?
Some browsers reject cookies if they come from "192.168.xxx.xxx", so maybe you need to configure the browser to not do that?
Regards,
Garvin
Which browser do you use? If you'Re using Firefox: Please install the LiveHTTP-Header extension. With that you can see what your server sends.
Then you could check to see which cookie "PHPSESSID" setting your server submits, and which your browser sends back. They should not change after login. If they do, it means either the IIS/PHP is not utoilizing PHP sessions, your browser is rejecting the cookies, or there's a domain name mismatch. Did you check if the HTTP hostname changes?
Some browsers reject cookies if they come from "192.168.xxx.xxx", so maybe you need to configure the browser to not do that?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sessions
garvin, I am using IE 7 as for php sessions, I have been checking the error log and I am seeing these types of errors
[27-Dec-2007 09:35:30] PHP Notice: A session had already been started - ignoring session_start() in C:\virtual_webs\blogger.wronkowski.net\www\serendipity_config.inc.php on line 20
[27-Dec-2007 09:36:04] PHP Notice: A session had already been started - ignoring session_start() in C:\virtual_webs\blogger.wronkowski.net\www\serendipity_config.inc.php on line 20
[27-Dec-2007 09:44:36] PHP Notice: A session had already been started - ignoring session_start() in C:\virtual_webs\blogger.wronkowski.net\www\serendipity_config.inc.php on line 20
I believe the sessions are working properly. Is there anything I can do to check? --Thanks
[27-Dec-2007 09:35:30] PHP Notice: A session had already been started - ignoring session_start() in C:\virtual_webs\blogger.wronkowski.net\www\serendipity_config.inc.php on line 20
[27-Dec-2007 09:36:04] PHP Notice: A session had already been started - ignoring session_start() in C:\virtual_webs\blogger.wronkowski.net\www\serendipity_config.inc.php on line 20
[27-Dec-2007 09:44:36] PHP Notice: A session had already been started - ignoring session_start() in C:\virtual_webs\blogger.wronkowski.net\www\serendipity_config.inc.php on line 20
I believe the sessions are working properly. Is there anything I can do to check? --Thanks
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: sessions
Hi!
Did you enable php.session_auto_start in your PHP installation? You shouldn't do that in conjunction with serendipity.
However, this error notice should not be the cause of your problems.
HTH,
Garvin
Did you enable php.session_auto_start in your PHP installation? You shouldn't do that in conjunction with serendipity.
However, this error notice should not be the cause of your problems.
I'd advise you to test with Firefox, and follow my other recommendations I mentioned earlier.I believe the sessions are working properly. Is there anything I can do to check? --Thanks
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/