1 out of 1 members found this post helpful.
Re: 7 Year old OscMAX store now only blank pages
That is a pretty easy fix I think.
Just need to edit 2 files: catalog/includes/application_top.php and /catalog/admin/includes/application_top.php
You need to replace the language set code, as it doesn't work on PHP 5.6.
Here is the code that needs to be replaced in both files:
Code:
// set the language
if (!tep_session_is_registered('language') || isset($_GET['language'])) {
Replace it with this and your site may start working properly again:
Code:
// set the language
if (!tep_session_is_registered('language') || isset($_GET['language']) || strlen(trim($_SESSION['language'])) <1 ) {
That should fix the Fatal error.
Bookmarks