login reappeares when navigate tru menu

Having trouble installing serendipity?
User avatar
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 » Mon Aug 31, 2009 11:25 am

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 » Thu Oct 29, 2009 5:29 pm

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 » Thu Oct 29, 2009 6:09 pm

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!

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: login reappeares when navigate tru menu

Post by Don Chambers » Thu Oct 29, 2009 6:37 pm

Welcome aboard and thanks for taking the time to post your solution. I wish everyone did that! :wink:

alltag
Regular
Posts: 8
Joined: Sat Oct 10, 2009 12:08 pm

Re: login reappeares when navigate tru menu

Post by alltag » Sun Nov 01, 2009 2:03 pm

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 » Sun Nov 01, 2009 6:51 pm

Tried that on several browsers and several machines.
Still the same issue.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: login reappeares when navigate tru menu

Post by garvinhicking » Sun Nov 01, 2009 10:26 pm

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/

User avatar
Don Chambers
Regular
Posts: 3638
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: login reappeares when navigate tru menu

Post by Don Chambers » Mon Nov 02, 2009 3:56 am

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?

alltag
Regular
Posts: 8
Joined: Sat Oct 10, 2009 12:08 pm

Re: login reappeares when navigate tru menu

Post by alltag » Mon Nov 02, 2009 5:32 pm

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

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: login reappeares when navigate tru menu

Post by garvinhicking » Tue Nov 03, 2009 10:20 am

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 » Mon Dec 07, 2009 7:55 pm

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-

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: login reappeares when navigate tru menu

Post by garvinhicking » Tue Dec 08, 2009 11:34 am

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