I've been searching for a long time and can't find a solution to my problem, it is causing some serious issues as we have orders which have been placed, but we cannot access our site to fulfill them so we are very concerned!
I am using opencart-2.0.1.1
Our website has been running fine for a couple of years with no problems after setting it up. We have made no changes recently and suddenly a few days ago have started receiving an error message when trying to log into our admin back end. The error reads:
Fatal error: Call to a member function get() on a non-object in /var/sites/p/paper-jungle.co.uk/public_html/admin/index.php on line 83
Line 83 of index.php reads:
Code: Select all
if ($config->get('config_error_display')) {
echo '<b>' . $error . '</b>: ' . $errstr . ' in <b>' . $errfile . '</b> on line <b>' . $errline . '</b>';
The only progress I have had so far was following a suggestion to change the code in my session.php file from:
Code: Select all
session_start();
Code: Select all
session_save_path(realpath(dirname($_SERVER['DOCUMENT_ROOT']) . '/../tmp'));
Please if anyone could shed any light on this it would be a real help!