Login problem with recent nightly

Discussion corner for Developers of Serendipity.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Login problem with recent nightly

Post by yellowled »

Hey guys,

I installed the latest nightly snapshot on my local machine (Debian Etch, Apache 2.2.3, PHP 5.2.0). Once I'm logged in to that installation, a click on any link in the admin panel's menu leads back to the login screen where I have to log in once again, so I can't do anything in that blog.

Any idea why this happens?

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Login problem with recent nightly

Post by garvinhicking »

Hi!

Does this only happen with the latest nightly? Or with 1.1.2 as well?

If it happens on 1.1.2 as well, your PHP sessions on your localhost might not be properly setup, or your browser rejects 'localhost' cookies.

HTH,
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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Login problem with recent nightly

Post by yellowled »

garvinhicking wrote:Does this only happen with the latest nightly? Or with 1.1.2 as well?
Only with the latest nightly (and with the one before the latest). I have a 1.1.2, erm, sorry, still 1.1.1 on that machine also which works perfectly.

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Login problem with recent nightly

Post by garvinhicking »

Hi!

Maybe you can report that here: http://board.s9y.org/viewtopic.php?t=8413

I believe there already was a mention that if you use "localhost" as the server host name, cookies might not get stored properly. Perhaps you can use the IP to access the blog instead of your network hostname?

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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Login problem with recent nightly

Post by yellowled »

garvinhicking wrote:Maybe you can report that here: http://board.s9y.org/viewtopic.php?t=8413
Erm, I don't see any connection (which might be because I don't understand all that coder babble :wink:) ..?
garvinhicking wrote:I believe there already was a mention that if you use "localhost" as the server host name, cookies might not get stored properly. Perhaps you can use the IP to access the blog instead of your network hostname?
That does indeed work, thanks.

YL
Post Reply