Post by alexlii1971 » Tue Oct 13, 2020 10:47 pm

phpscript wrote:
Fri Aug 21, 2020 7:47 pm
Image
session id problem
please go database open oc_session table and field session_id set "Uniqe" then issue solved.
like see image attachment
Hello,

I checked opencart 2.2.0.0, opencart 3.0, and opencart-3.0.3.6 , but all same issue here.

and I checked the database, I did not find the oc_sessoin database:
http://prntscr.com/uyjlmu

It would be great thanks if anyone could help, thanks

Newbie

Posts

Joined
Tue Oct 13, 2020 10:31 pm

Post by worldcart » Tue Aug 02, 2022 8:35 pm

We had the same issue. And this is how I fixed this.
In following file, I changed the config to "true". It was set to false somehow. (Probably someone from my team copied the code and messed up with this)

system/config/catalog.php:$_['db_autostart'] = true;

This is used in framework.php where the sessions are read from db. Without this, I was getting invalid token error as the token was not being read at all.

Newbie

Posts

Joined
Sun Apr 18, 2021 12:09 am

Post by reginamor » Fri Nov 04, 2022 12:23 am

i have this problem with a clean opencart installation
¿what could be?

User avatar
Active Member

Posts

Joined
Wed Sep 21, 2011 4:44 am
Location - GB
Who is online

Users browsing this forum: HAO and 24 guests