Fatal error: Uncaught Exception: Error: session opencart
  • Fatal error: Uncaught Exception: Error: session opencart

Fatal error: Uncaught Exception: Error: session opencart

18 Temmuz 2019 Perşembe 22:49:08

if you move or copy your opencart directory to another place and you get this error, you can follow the steps down below.

you will see there is no session table in the opencart database, you have to create it by manual, go to opencart db and login,

go to mysql and reach to opencart data db, open the sql screen and run the related script to create session table.

 

##########################

DROP TABLE IF EXISTS session;

CREATE TABLE session (

session_id varchar(32) NOT NULL,

data text NOT NULL,

expire datetime NOT NULL,

PRIMARY KEY (session_id)

);

##########################

 

after this operation you will get the session table, you will not loose your current data.