login reappeares when navigate tru menu

Having trouble installing serendipity?
Rodnox
Regular
Posts: 75
Joined: Thu Jan 18, 2007 2:09 am
Location: Ennis Co. Clare, Ireland
Contact:

Re: login reappeares when navigate tru menu

Post 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?
solraun
Regular
Posts: 6
Joined: Thu Oct 29, 2009 5:18 pm

Re: login reappeares when navigate tru menu

Post 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?
solraun
Regular
Posts: 6
Joined: Thu Oct 29, 2009 5:18 pm

Re: login reappeares when navigate tru menu

Post 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!
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: login reappeares when navigate tru menu

Post by Don Chambers »

Welcome aboard and thanks for taking the time to post your solution. I wish everyone did that! :wink:
=Don=
alltag
Regular
Posts: 8
Joined: Sat Oct 10, 2009 12:08 pm

Re: login reappeares when navigate tru menu

Post 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
alltag
Regular
Posts: 8
Joined: Sat Oct 10, 2009 12:08 pm

Re: login reappeares when navigate tru menu

Post by alltag »

Tried that on several browsers and several machines.
Still the same issue.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: login reappeares when navigate tru menu

Post 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
# 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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: login reappeares when navigate tru menu

Post 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?
=Don=
alltag
Regular
Posts: 8
Joined: Sat Oct 10, 2009 12:08 pm

Re: login reappeares when navigate tru menu

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: login reappeares when navigate tru menu

Post 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
# 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/
deepspace
Regular
Posts: 17
Joined: Sat Nov 07, 2009 7:12 pm
Location: Upper NW Corner of Continetal US

Re: login reappeares when navigate tru menu

Post 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-
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: login reappeares when navigate tru menu

Post by garvinhicking »

Hi deepspace!

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

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/
Post Reply