Jump to content

V3 Beta cannot login to Store


Guest

Recommended Posts

With ver 3 alpha I had no problem logging in or out, with ver 3 Beta I cannot login to the Store or Admin unless I delete the Session cookie, has something changed in the handling of cookie's between the two versions?

I am really trying to solve this myself but it's beyond my skills.

Frank

Link to comment
Share on other sites

  • 2 weeks later...

Guest majorsky

For me the session thing....did not work..so here it goes what I have seen so far...

Ok, I think I know what's going on....I have noticed in some developments of mine, that for some strange reason, sometimes the sentence "header (Location:....") is ignored and the execution goes on like if that sentence was not there at all...so for those who applied my "die (here)" solution...take that out cos it is not clean and instead insert an "exit;" after the "header (Location:....")

So basically, you get this in the admin/login.php:

if(isset($_GET['goto']) && !empty($_GET['goto'])){

header("Location: ".urldecode($_GET['goto']));

exit; // -->added

} else {

header("Location: ".$GLOBALS['rootRel']."admin/index.php");

exit; //--> added

}

Greetings to you all!

Clauz

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...