Jump to content

Regarding task #320


Guest CCS

Recommended Posts

I experienced the same problem as in task #320... http://bugs.cubecart.com/?do=details&id=320

It worked just fine on my WinXP development machine but not on my server that runs Windows 2000 Server. Around line 73 in "/admin/login.php" I added a couple of lines with "exit;" and now it works on both my WinXP and W2K machines.

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

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

  exit;

} else {

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

  exit;

}

My PHP skills are very limited so I don't really have a clue of what I've done... but who cares as long as I got it up and running again ;)

Link to comment
Share on other sites

I had to do the same thing in "/includes/content/login.inc.php" to get customer login to work in the shop on my W2K box.

Added a couple of "exit;"s in the if-statement on line 53.

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...