Page 1 of 3

i keep getting logged out

Posted: Wed Nov 08, 2006 10:31 am
by mugs
i keep getting logged out once i login and when i click a link, it keeps sending me back to the login page, why is that

Re: i keep getting logged out

Posted: Wed Nov 08, 2006 11:00 am
by garvinhicking
Hi!

Either your browser is not supporting cookies, or your server is not supporting PHP sessions, or you are not using the domain to enter your blog that you entered in the s9y configuration page.

So, check your browser first, then check the URL you use, and if all is okay, create a test.php script with this content:

Code: Select all

<?php phpinfo(); ?>
and give me the URL to that script.

Best regards,
Garvin

Posted: Wed Nov 08, 2006 11:04 am
by mugs
i just switched servers yesterday and this has been happening since then

http://www.mugsinc.com/test.php

this is the link to the php info

Posted: Wed Nov 08, 2006 12:11 pm
by garvinhicking
Hi!

Did you check your browsers cookies and the configured URLs first?

Your PHP confugration for the value "session.save_path" looks odd. It points to ".\" which does not seem right. Can you please ask your provider if he can point that varaible to a proper directory like "/tmp"?

Best regards,
Garvin

Posted: Wed Nov 08, 2006 12:20 pm
by mugs
is that the reason i am getting logged out

Posted: Wed Nov 08, 2006 12:21 pm
by mugs
i made a change to the following "extension_dir = ./" could this be a reason

Posted: Wed Nov 08, 2006 12:31 pm
by garvinhicking
Hi!

No, extension_dir is completely unrelated.

A wrong session-path leads to your session getting not saved, and thus once you login and go to a next page, no data can tell you were already logged in. This is related to the server though, not serendipity.

HTH,
Garvin

Posted: Wed Nov 08, 2006 12:38 pm
by mugs
can i make the changes in the php.ini file

Posted: Wed Nov 08, 2006 12:40 pm
by mugs
now the admin page is not loading

Posted: Wed Nov 08, 2006 12:44 pm
by garvinhicking
Hi!

If you have full access to php.ini, yes you can change that. You also need to restart your Webserver after changing the file.
mugs wrote:now the admin page is not loading
What happens? What did you change? Maybe you broke a file or made invalid settings in php.ini. Check the error logfiles of both webserver and PHP in that case.

Best regards,
GArvin

Posted: Wed Nov 08, 2006 12:45 pm
by mugs
actually the .com/?/admin link is not working anymore

Posted: Wed Nov 08, 2006 12:46 pm
by mugs
i have access to the php.ini file which is in my folder, and i am on a shared hosting, so i don't think i can restart the machine

Posted: Wed Nov 08, 2006 12:49 pm
by garvinhicking
Again: What happens when you go to admin? What did you change?

Posted: Wed Nov 08, 2006 12:51 pm
by mugs
should i change "session.save_path = .\ "option to "session.save_path = /tmp"

Posted: Wed Nov 08, 2006 12:59 pm
by mugs
ok, i made the change and now it works, except that the /?/admin link does not work anymore