I did a fresh install of 3.0.3.8 today. I did install a Journal theme, but this isn't a Journal issue (I don't think).
When I go to add or change an image in either a category or a product I am logged out, When I log back in I get a page that won't totally load. If I refresh the page, I am logged out again. I have included some screen shots. I had this running earlier today with no issues before I did the fresh install. Before I have to uninstall and reinstall everything, is there a way to fix this?
Jill
I have done a fresh install of Opencart 3.0,3,8.
When I go to add or change an image in either a category or a product I am logged out, When I log back in I get a page that won't totally load. If I refresh the page, I am logged out again. I have included some screen shots. I had this running earlier today with no issues before I did the fresh install. Before I have to uninstall and reinstall everything, is there a way to fix this?
Jill
I have done a fresh install of Opencart 3.0,3,8.
Attachments
screenshot-imagepage.jpg (117.72 KiB) Viewed 522 times
Just to add, now it constantly logs me out every minute or so. I even switched over to the default Opencart theme to see if that made any difference, and it did not.
I tried again and clicked "inspect" to see if I could find the issue.
I've attached images of the two error messages I get when I try to add an image and then when I log back in and get the incomplete image manager page.
Jill
I tried again and clicked "inspect" to see if I could find the issue.
I've attached images of the two error messages I get when I try to add an image and then when I log back in and get the incomplete image manager page.
Jill
Attachments
error code image manager.jpg (74.48 KiB) Viewed 475 times
code for log out.jpg (95.52 KiB) Viewed 475 times
Last edited by Jillkm on Sun Oct 24, 2021 8:35 am, edited 1 time in total.
It is not OC 3.0.3.8, so it is from somewhere else.
The only way you can get the "invalid token session" message is when you have a user_token in your session but no user_token variable in your url or you have one but they do not match.
Does this happen when you save the product or when you select an image or when exactly?
When you press edit on an image it will invoke the filemanager via an ajax call to (check the url browser bar)
index.php?route=common/filemanager&user_token=IX2vxxxxxWX&target=input-image5&thumb=thumb-image5
but if that call does not have the user_token as shown above, you will get signed out.
I know you said it is not Journal, but .. does journal replace the filemanager or did you change that?
The only way you can get the "invalid token session" message is when you have a user_token in your session but no user_token variable in your url or you have one but they do not match.
Does this happen when you save the product or when you select an image or when exactly?
When you press edit on an image it will invoke the filemanager via an ajax call to (check the url browser bar)
index.php?route=common/filemanager&user_token=IX2vxxxxxWX&target=input-image5&thumb=thumb-image5
but if that call does not have the user_token as shown above, you will get signed out.
I know you said it is not Journal, but .. does journal replace the filemanager or did you change that?
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
While Journal is unsupported on the forum, see if this fixes the issue: viewtopic.php?t=206449#p786660 as well as this one: viewtopic.php?t=224718#p824712 .Jillkm wrote: ↑Sun Oct 24, 2021 7:42 amI did a fresh install of 3.0.3.8 today. I did install a Journal theme, but this isn't a Journal issue (I don't think).
When I go to add or change an image in either a category or a product I am logged out, When I log back in I get a page that won't totally load. If I refresh the page, I am logged out again. I have included some screen shots. I had this running earlier today with no issues before I did the fresh install. Before I have to uninstall and reinstall everything, is there a way to fix this?
Jill
screenshot logged out.jpgI have done a fresh install of Opencart 3.0,3,8.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Only happens when I try to add an image. Nowhere else. I also switched over to the default theme and it still did it there. Journal adds those images to the image manager, I don't think it replaces it.by mona wrote: ↑Sun Oct 24, 2021 8:29 amIt is not OC 3.0.3.8, so it is from somewhere else.
The only way you can get the "invalid token session" message is when you have a user_token in your session but no user_token variable in your url or you have one but they do not match.
Does this happen when you save the product or when you select an image or when exactly?
When you press edit on an image it will invoke the filemanager via an ajax call to (check the url browser bar)
index.php?route=common/filemanager&user_token=IX2vxxxxxWX&target=input-image5&thumb=thumb-image5
but if that call does not have the user_token as shown above, you will get signed out.
I know you said it is not Journal, but .. does journal replace the filemanager or did you change that?
I did just add a post with the errors that come up. Hopefully that helps.
When I had installed it earlier today, didn't have a problem, and only had to uninstall because I made a screwup in database and figured since it was a fresh install, it was just easier to redo it.
Jill
Well, it happened again. And on a fresh install of Opencart only, no Journal theme added. So I uninstalled again. Reinstalled. Things went fine until I tried to fill in all the store info on the settings. Went to save settings and was logged out. No error message and now I am back in a perpetual log in loop. Hours of work down the drain again. There is no error issue I can find. The frustration is driving me crazy.
Jill
Jill
Are you changing the time zone in the settings? There is a bug that causes session problems. https://github.com/opencart/opencart/issues/9237
Yes, I do change the timezone. I'll do an install and not touch the timezone.ADD Creative wrote: ↑Sun Oct 24, 2021 9:18 pmAre you changing the time zone in the settings? There is a bug that causes session problems. https://github.com/opencart/opencart/issues/9237
See the post below for two workarounds for the time zone issue.
viewtopic.php?f=201&t=222369&start=20#p816440
viewtopic.php?f=201&t=222369&start=20#p816440
Who is online
Users browsing this forum: No registered users and 23 guests