Recent Topics

The login window has expired. Please try again.

Started by on May 16, 2008 – Contents updated: May 16, 2008

May 16, 2008 19:50    

My b2evolution Version: Not Entered

I get the above message & "Note: You are already logged in as maggie! Continue »" everytime anyone tries to login. Clicking continue works, but it is confusing. Why is this and is there a way to stop it?

Thanks

Tom

May 16, 2008 20:42

I think maybe you could crack open conf/_advanced.php and look for something that looks like this:

$instance_name = 'b2evo'; // MUST BE A SINGLE WORD! NO SPACES!!


Now change it to something amazingly creative that also happens to follow the rules that it yells at you. For example:

$instance_name = 'blog'; // MUST BE A SINGLE WORD! NO SPACES!!

IF it works we'll both be surprised. All I'm doing is randomly cracking open a file and saying "what the heck might as well tell him to change ... THAT". ;)

May 16, 2008 21:15

Nope. That's not it.

May 16, 2008 21:28

Bummer. It was a reasonable guess based on some other folk having login problems fixed with the instance name. Instance name has something to do with the cookie that you have to eat to stay logged in is the thing. Oh hey if you are hip to how to do it you could clear the cookies for your domain name and try again.

Also if your $baseurl value in conf/_basic_config.php has a www. in it then you need to make sure you use it when you try to login or visit your web. Same goes for if it doesn't of course. So like my $baseurl is http://wonderwinds.com and even though http://www.wonderwinds.com gets there I never use it that way.

May 16, 2008 22:52

The $baseurl value must have something to do with it. When login without www., there is no problem.

However, I do not know how to change $baseurl to accept www, as I believe most users will attach it.

May 17, 2008 12:32

Just discovered that this problem does not appear when you click "Log into backoffice!".

Anyone have a clue?

May 17, 2008 12:35

Add this to your htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} www\.(.*)
RewriteRule (.*) http://%1/$1 [R=301,L]

¥

May 23, 2008 21:10

¥åßßå wrote:

Add this to your htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} www\.(.*)
RewriteRule (.*) http://%1/$1 [R=301,L]

¥

Now I just get: The login window has expired. Please try again.


Form is loading...

Free CMS – This forum is powered by b2evolution CMS, a complete engine for your website.