Jump to content

Last Admin Login Session


Guest daleross

Recommended Posts

Guest daleross

I upgraded my cubecart to version 3.10 in february. Since I've updated it still shows my last log in session as being the date that i upgraded. It is not updating my sessions now.

Also when I click on server info while logged in as administrator it doesn't show anything, just a blank page on server info.

Any help is appreciated,

Thanks,

daleross

Link to comment
Share on other sites

Guest daleross

There is a 250 logins limitation and last login delete (huh).

Try to backup and truncate Admin sessions table content.

Thanks for your help. I did a successful truncate. It works great.

Link to comment
Share on other sites

Also when I click on server info while logged in as administrator it doesn't show anything, just a blank page on server info.

Yes, there is a bug.

This is the right code in admin/misc/info.php

<?php

include("../../includes/global.inc.php");

include_once("../../includes/functions.inc.php");

$enableSSl = 1;

include_once("../../includes/sslSwitch.inc.php");

$sessionDomain = substr($GLOBALS['rootRel'],0, strlen($GLOBALS['rootRel'])-1);

@ini_set("session.cookie_path",$sessionDomain);

if($glob['rootRel']=="/"){

$sessionName = "ccSID";

} else {

$sessionName = "ccSID-".md5($glob['rootRel']);

}

session_name($sessionName);

session_start();

if(isset($_SESSION['ccAdmin'])){

echo phpinfo();

}

?>

Link to comment
Share on other sites

Guest daleross

I did the above instrutions and it made no difference. It still shows a blank screen

This is the original settings that I overwrote with the ones you suggested above.

<?php

$sessionDomain = substr($GLOBALS['rootRel'],0, strlen($GLOBALS['rootRel'])-1);

@ini_set("session.cookie_path",$sessionDomain);

if($glob['rootRel']=="/"){

$sessionName = "ccSID";

} else {

$sessionName = "ccSID-".md5($glob['rootRel']);

}

session_start();

if(isset($_SESSION['ccAdmin'])){

echo phpinfo();

}

?>

Any help with help a lot

Thanks,

daleross

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