Post by Webstar44 » Wed Jan 24, 2018 8:22 am

Hello house,
Please, I use XAMPP for opencart development before transferring online. I was working on Opencart v3020 when my laptop drive crashed. How can I recover my opencart installation from a crashed hard disk. The issue is that, after changing my system HDD to a new one, I want to recover the websites I developed with XAMPP on the old drive.
What I did was to copy my opencart installation folder within the htdocs path: (F:\xampp\htdocs\opencart) as well as the (databse) with mysql data path: (F:\xampp\mysql\data\opencart) from the old XAMPP to the new XAMPP installation Path: (C:\xampp\htdocs\opencart) and (C:\xampp\mysql\data\opencart) (F: being the old crashed drive) but I got the errors bellow:

Fatal error: Uncaught exception 'Exception' with message 'Error: Table 'opencart.og4c_session' doesn't exist in engine<br />Error No: 1932<br />SELECT `data` FROM `og4c_session` WHERE session_id = '9a63cacb7529123cab12428512' AND expire > 1516740091' in C:\xampp\htdocs\opencart\system\library\db\mysqli.php:40 Stack trace: #0 C:\xampp\htdocs\opencart\system\library\db.php(45): DB\MySQLi->query('SELECT `data` F...') #1 C:\xampp\htdocs\opencart\system\library\session\db.php(21): DB->query('SELECT `data` F...') #2 C:\xampp\htdocs\opencart\system\library\session.php(72): Session\DB->read('9a63cacb7529123...') #3 C:\xampp\htdocs\opencart\system\framework.php(507): Session->start('') #4 C:\xampp\htdocs\opencart\system\startup.php(104): require_once('C:\\xampp\\htdocs...') #5 C:\xampp\htdocs\opencart\index.php(19): start('catalog') #6 {main} thrown in C:\xampp\htdocs\opencart\system\library\db\mysqli.php on line 40

Fatal error: Uncaught exception 'Exception' with message 'Error: Table 'opencart.og4c_session' doesn't exist in engine<br />Error No: 1932<br />REPLACE INTO `og4c_session` SET session_id = '9a63cacb7529123cab12428512', `data` = '[]', expire = '2018-01-23 21:05:32'' in C:\xampp\htdocs\opencart\system\library\db\mysqli.php:40 Stack trace: #0 C:\xampp\htdocs\opencart\system\library\db.php(45): DB\MySQLi->query('REPLACE INTO `o...') #1 C:\xampp\htdocs\opencart\system\library\session\db.php(32): DB->query('REPLACE INTO `o...') #2 C:\xampp\htdocs\opencart\system\library\session.php(81): Session\DB->write('9a63cacb7529123...', Array) #3 [internal function]: Session->close() #4 {main} thrown in C:\xampp\htdocs\opencart\system\library\db\mysqli.php on line 40

Please, what do I do to fix this as to be able to get my work again. Thanks.

Newbie

Posts

Joined
Wed Jan 24, 2018 8:01 am
Who is online

Users browsing this forum: adycobra2003, JNeuhoff and 195 guests