Page 1 of 1
Returning to Login Screen
Posted: Tue Feb 10, 2009 10:27 pm
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?
Re: Returning to Login Screen
Posted: Tue Feb 10, 2009 11:05 pm
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.
Re: Returning to Login Screen
Posted: Thu Feb 12, 2009 6:54 pm
by skurai
Yes i have cookies enabled, i have tryed on multiple computers with multiple different browsers. Still does the same thing.
Re: Returning to Login Screen
Posted: Fri Feb 13, 2009 10:20 am
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
Re: Returning to Login Screen
Posted: Fri Feb 13, 2009 6:23 pm
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.
Re: Returning to Login Screen
Posted: Fri Feb 13, 2009 8:07 pm
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).
Re: Returning to Login Screen
Posted: Fri Feb 13, 2009 10:53 pm
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.