Page 2 of 2

Re: login reappeares when navigate tru menu

Posted: Mon Aug 31, 2009 11:25 am
by Rodnox
Hi ray,

tell me, when you log in your ftp server are you straight in the "html" folder or do you log in a directory above/below?

Re: login reappeares when navigate tru menu

Posted: Thu Oct 29, 2009 5:29 pm
by solraun
Hi, i'm new.

I have the same problem on windows server 2008 iis7.
But session files are created in the specified folder.

Can you help me?

Re: login reappeares when navigate tru menu

Posted: Thu Oct 29, 2009 6:09 pm
by solraun
Ok, sorry I think i found my mistake: I installed it again and changed the standard paths slightly:
When a path relates to http or browser: use /
When it related to windows file system: use \

Sounds trivial, i know.

BTW: Thanks for the nice blog system!

Re: login reappeares when navigate tru menu

Posted: Thu Oct 29, 2009 6:37 pm
by Don Chambers
Welcome aboard and thanks for taking the time to post your solution. I wish everyone did that! :wink:

Re: login reappeares when navigate tru menu

Posted: Sun Nov 01, 2009 2:03 pm
by alltag
Hi, I'm having the same problem. I can login, but any link brings me back to the login screen.
I'm on an Apache server, have upgraded to php5, sessions are enabled, the session path is the same as it is for another successful installation, cookies are enables, the cache has been cleared, I've reinstalled serendipity several times, and again and again I'm seeing the login screen.
Any ideas what might cause the problem?

Thanks,

Eddy

Re: login reappeares when navigate tru menu

Posted: Sun Nov 01, 2009 5:22 pm
by kleinerChemiker
Try clearing your S9Y related cookies.

Re: login reappeares when navigate tru menu

Posted: Sun Nov 01, 2009 6:51 pm
by alltag
Tried that on several browsers and several machines.
Still the same issue.

Re: login reappeares when navigate tru menu

Posted: Sun Nov 01, 2009 10:26 pm
by garvinhicking
Hi!
alltag wrote:Tried that on several browsers and several machines.
Still the same issue.
Whic s9y version are you using? Did you maybe try, just to be sure its not cookie related, to try with another browser?

Did you change anything in your setup after it worked the last time? Or what do you mean when you refer to a working installation?

Regards,
Garvin

Re: login reappeares when navigate tru menu

Posted: Mon Nov 02, 2009 3:56 am
by Don Chambers
alltag wrote:...the session path is the same as it is for another successful installation...
Do you have more than one instance of serendipity on the same domain?

Re: login reappeares when navigate tru menu

Posted: Mon Nov 02, 2009 5:32 pm
by alltag
The problem is solved. My laziness kicked me in the ass. Serendipity doesn't seem to write cookies if you omit www from the domain -at least on this server configuration, with the default s9y configuration- except the PHPSESSID cookie.
So,
http://www.mydomain.com/serendipity_admin.php works fine, while
http://mydomain.com/serendipity_admin.php keeps bouncing you back to the admin screen because it checks for user level cookies and can't find them.

Not sure if I missed this somewhere in the documentation, but thanks for your replies.

Eddy

Re: login reappeares when navigate tru menu

Posted: Tue Nov 03, 2009 10:20 am
by garvinhicking
Hi!

To do that, you need to enable "Autodetect HTTP-Domainname" in the s9y configuration; if you don't, s9y will only properly "listen" to the domain that is configured.

Regards,
Garvin

Re: login reappeares when navigate tru menu

Posted: Mon Dec 07, 2009 7:55 pm
by deepspace
I wish I could see how these folks actually fixed this. I just did a fresh install and came up with the same thing. Nothing appears to change the back to log in re-direct.
Thanks-

Re: login reappeares when navigate tru menu

Posted: Tue Dec 08, 2009 11:34 am
by garvinhicking
Hi deepspace!

Did you check your cookies, and if PHP sessions are enabled? What's your domain name?

Regards,
Garvin