Wednesday, January 21, 2015

Invalid Token Session. Please login again - opencart resolved

This is a very common issue in opencart. Sometime when you are opening opencart admin pages in multiple tabs you will get this error.
There is a simple fix to see if this is more than just human error. Open
system/library/user.php
Search for this code
user WHERE username
replace it with
user #WHERE username
after this just clear the cache in your browser or open this in a new browser... Problem Solved

2 comments:

  1. Here is no path like system/library/user.php

    ReplyDelete
  2. Not only the path missing. I found the user.php elsewhere ADMIN/CONTROLLER/USER/user.php. But no 'WHERE' tag in the file.

    I begin to think the OPENCART is a shit.

    ReplyDelete

How to get Logged In Username in Wordpress or Woocommerce

It is really easy to get the logged-in user’s information in Wordpress or Woocommerce. In this article we will show you how to get the relat...