Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Message on Site


hp7166

Recommended Posts

Parse error: syntax error, unexpected '}' in /mounted-storage/home34a/sub001/sc27741-LWKZ/wanderlustwitch.co.uk/shop/includes/functions/sessions.php on line 152

 

Im getting this on my site www.wanderlustwitch.co.uk/shop

 

hope you can help

 

cheers

 

rob

Link to comment
Share on other sites

replace the sessions.php file with the default file as you can download it here.

or paste the code from your sessions.php file from around line 152 here

 

Hi

 

Here is the code

 

}

}

}

 

function tep_session_recreate() {

if (PHP_VERSION >= 4.1) {

$session_backup = $_SESSION;

 

unset($_COOKIE[tep_session_name()]);

 

tep_session_destroy();

 

if (STORE_SESSIONS == 'mysql') {

session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy', '_sess_gc');

}

 

tep_session_start();

 

$_SESSION = $session_backup;

unset($session_backup);

}

}

?>

 

thanks

 

rob

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...