-----------------------------------------
Deprecated: Function session_register() is deprecated in /home/XXXXXXX/public_html/includes/functions/sessions.php on line 71
Solución:
Buscar:
function tep_session_register($variable) {
global $session_started;
if ($session_started == true) {
return session_register($variable);
} else {
return false;
}
}
Reemplazar por:
function tep_session_register($variable) {
global $session_started;
if ($session_started == true) {
if (PHP_VERSION < 4.3) {
return session_register($variable);
} else {
if (isset($GLOBALS[$variable])) {
$_SESSION[$variable] =& $GLOBALS[$variable];
} else {
$_SESSION[$variable] = null;
}
}
}
return false;
}
------------------------------------
Deprecated: Function session_is_registered() is deprecated in /home/XXXXXXXX/public_html/includes/functions/sessions.php on line 75
Solución:
Buscar:
function tep_session_is_registered($variable) {
return session_is_registered($variable);
}
Reemplazar por:
function tep_session_is_registered($variable) {
if (PHP_VERSION < 4.3) {
return session_is_registered($variable);
} else {
return isset($_SESSION) && array_key_exists($variable, $_SESSION);
}
}