Returning to Login Screen

Found a bug? Tell us!!
Post Reply
skurai
Posts: 4
Joined: Tue Feb 10, 2009 10:20 pm

Returning to Login Screen

Post by skurai »

I sucessfully installed Serendipity on my Windows 2003 server with Plesk after some fighting about the .htaccess file. Everything finished however with green across the board.

However, I login to the admin panel, then as soon as I click on ANYTHING on the left hand side, it brings me back to the login page. I have checked the php session save directory and it is valid "C:\SWSoft\Plesk\tmp". What else am i missing?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Re: Returning to Login Screen

Post by judebert »

Is your browser accepting cookies?

I always thought the save path wasn't allowed to use backslashes, but I'm not familiar enough with the Windows implementation to speak authoritatively.
Judebert
---
Website | Wishlist | PayPal
skurai
Posts: 4
Joined: Tue Feb 10, 2009 10:20 pm

Re: Returning to Login Screen

Post by skurai »

Yes i have cookies enabled, i have tryed on multiple computers with multiple different browsers. Still does the same thing.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Returning to Login Screen

Post by garvinhicking »

Hi!

The session save path must use forward slashes, like C:/blabla/SWSoft or PHP can often not write session files properly.

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/
skurai
Posts: 4
Joined: Tue Feb 10, 2009 10:20 pm

Re: Returning to Login Screen

Post by skurai »

I edited the PHP.ini file to try different temp folders such as the following:
C:/temp
C:/Windows/temp
C:/SWSoft/Plesk/tmp

I even gave full control of IIS users to those folders to try to write the session files and it still kicks me back to the login page. I tryed different times with the different folders and even gave "Everyone" permission to write to the C:/temp folder, and it still does not work.

phpinfo is correctly showing the changes to the session.save path as well. It figured when I try to set something up nothing works right.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Re: Returning to Login Screen

Post by judebert »

Does it actually write any session files to the session save path? I'm not familiar with IIS, so I'm shooting in the dark here. I can definitely say that this is a session problem. Either they're not being stored on the server, not being stored on the client, or not being loaded (a task which takes cooperation from both).
Judebert
---
Website | Wishlist | PayPal
skurai
Posts: 4
Joined: Tue Feb 10, 2009 10:20 pm

Re: Returning to Login Screen

Post by skurai »

I am logged into the server with RDC, and i am looking at the folder while I am trying to login and nothing is coming up. Modified date does not reflect times either.

This is the first PHP script I have had a problem with on this server, Joomla was a bit more complex but it installed fine and that uses sessions as well.
Post Reply