If this is just php4 to php5 ... edit the files:
/includes/functions/sessions.php
and change the code to read:
Code:
function _sess_write($key, $val) {
global $db;
if (!is_object($db)) {
//PHP 5.2.0 bug workaround ...
$db = new queryFactory();
$db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
}
global $SESS_LIFE;
and then edit the file:
/admin/includes/functions/sessions.php
and change the code to read:
Code:
function _sess_write($key, $val) {
global $SESS_LIFE, $db;
if (!is_object($db)) {
//PHP 5.2.0 bug workaround ...
$db = new queryFactory();
$db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
}
$expiry = time() + $SESS_LIFE;
and see if the magic happens ...
Bookmarks