MennoniteHobbit wrote: mickal555: Well, it seems you installed a MOD that conflicted... in your case, your best bet is to uninstall the MOD that made that change in includes/sessions.php.
I would have no idea what MOD did that...
it's a "repace with" command too...
Just had a look
Here is what is there instead...
Looks the same...
// Delete expired sessions
$expiry_time = $current_time - $board_config['session_length'];
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE UNIX_TIMESTAMP() - session_time >=172800
AND session_id <> '$session_id'";
if ( !$db->sql_query($sql) )
message_die(CRITICAL_ERROR, 'Error clearing sessions table', '', __LINE__, __FILE__, $sql);
setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure);