Post by BumMan » Tue Jan 09, 2018 4:37 am

Hey guys,

I performed a fresh install of OpenCart 3.0.2 on a server running CentOS 7.x (latest version).

On my Linux computer using Firefox, I can do anything I want once inside the admin. Everything seems to work fine. I set up a client with their own admin user/pass. Every time they try do do something, the get a "Invalid token session. Please login again.". It seems to vary with browser and computer used as to when this pops up.

Does anyone know how to fix this?

Thanks!

Newbie

Posts

Joined
Sat Jan 06, 2018 12:25 am

Post by straightlight » Wed Jan 10, 2018 7:33 am

Every time they try do do something
Incomplete information. Where?

Are you using .htaccess? If so, try without SEO (if installed) and by renaming your .htaccess file back to htaccess.txt file and see if you are then able to save the changes from the admin afterwards.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by BumMan » Thu Jan 11, 2018 7:47 am

Sorry for the delay on responding, I was supposed to be notified via email and was't, so I thought I'd check, glad I did.

No, I'm not using an .htacess file. It's strange, she apparently can now apparently access the admin via her old Windows 7 computer, but not her Mac. I run Linux and have no problems. I've checked the OC error log, but nothing shows up.

Newbie

Posts

Joined
Sat Jan 06, 2018 12:25 am

Post by straightlight » Thu Jan 11, 2018 7:58 am

she apparently can now apparently access the admin via her old Windows 7 computer, but not her Mac. I run Linux and have no problems.
Could be an issue with Safari. Try with Firefox noticing if the same issue can be reproduced. Also reset the Safari settings from the file option.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by BumMan » Thu Jan 11, 2018 8:01 am

Already tired that, had her perform a fresh install of the newest version of Firefox. Still the same issue. I run Windows 7 under Virtualbox on my Linux. Ironically, I got the same error on the Windows with Firefox and I.E. that she was getting on her Mac. Yet Firefox on my Linux is fine.

Newbie

Posts

Joined
Sat Jan 06, 2018 12:25 am

Post by straightlight » Thu Jan 11, 2018 8:30 am

Are each sessions using different admin account or all the same admin account?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gee38l » Sun Jun 16, 2019 4:19 pm

Having a similar issue with OpenCart 3.0.2.0 anyone on a Mac using safari gets logged it constantly as soon as you click on something in admin. All other browsers are fine any ideas?

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by straightlight » Sun Jun 16, 2019 7:40 pm

See these posts on this commit: https://github.com/opencart/opencart/issues/7259 . Once those fixes applied, clear your entire Safari cache and restart your browser.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gee38l » Sun Jun 16, 2019 8:03 pm

straightlight wrote:
Sun Jun 16, 2019 7:40 pm
See these posts on this commit: https://github.com/opencart/opencart/issues/7259 . Once those fixes applied, clear your entire Safari cache and restart your browser.
Is the fix adding:

// Sync PHP and DB time zones
$db->query("SET time_zone = '" . $db->escape(date('P')) . "'");

To framework.php?

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by straightlight » Sun Jun 16, 2019 10:46 pm

The fix is the entire commit has addressed above.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gee38l » Mon Jun 17, 2019 11:31 am

straightlight wrote:
Sun Jun 16, 2019 10:46 pm
The fix is the entire commit has addressed above.
Thanks just read the entire page. Will make the fixes and post the results here.

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by gee38l » Mon Jun 17, 2019 6:39 pm

straightlight wrote:
Sun Jun 16, 2019 10:46 pm
The fix is the entire commit has addressed above.
I’m running opencart 3.0.2.0 just compared some of the files and they seem different to the ones on the commit.

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by gee38l » Mon Jun 17, 2019 6:39 pm

straightlight wrote:
Sun Jun 16, 2019 10:46 pm
The fix is the entire commit has addressed above.
I’m running opencart 3.0.2.0 just compared some of the files and they seem different to the ones on the commit.

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by gee38l » Mon Jun 17, 2019 6:40 pm

straightlight wrote:
Sun Jun 16, 2019 10:46 pm
The fix is the entire commit has addressed above.
I’m running opencart 3.0.2.0 just compared some of the files and they seem different to the ones on the commit. Do i just add the additions to the relevant files?

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by straightlight » Mon Jun 17, 2019 7:48 pm

Upgrading to the latest OC version would be best. Then, to compare the results with the commit.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gee38l » Mon Jun 17, 2019 8:08 pm

straightlight wrote:
Mon Jun 17, 2019 7:48 pm
Upgrading to the latest OC version would be best. Then, to compare the results with the commit.
Is this the only way to apply the fix? I wasn’t planning on upgrading for a few months

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by straightlight » Mon Jun 17, 2019 10:43 pm

Then, you'd reconsider your planning transition and support strategies on this one since a new OC version has been announced on Github to come very soon.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gee38l » Tue Jun 18, 2019 8:44 pm

straightlight wrote:
Mon Jun 17, 2019 10:43 pm
Then, you'd reconsider your planning transition and support strategies on this one since a new OC version has been announced on Github to come very soon.
How soon are we talking?

Newbie

Posts

Joined
Tue Jul 17, 2018 5:16 pm

Post by straightlight » Tue Jun 18, 2019 9:30 pm

This post is the latest update about it: https://github.com/opencart/opencart/is ... -502633440

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: NicNie and 256 guests