Post by glolar » Mon Sep 27, 2021 5:17 pm

Hello all,

I am using a ZEMEZ theme with OpenCart 3.0.2.0 at the following site (in case anyone wants to go there with their browser tools on):

https://www.ddecarcare.com/store/

I am getting dozens of errors like the following example:

Cookie “traffic_target” will be soon treated as cross-site cookie against “https://ddecarcare.com/store/catalog/vi ... ap.min.css” because the scheme does not match.

I have the exact same theme on another site, and I am not getting the same cookie errors. For both sites, I set the SameSite parameter to true, and httponly=true, and that has helped me eliminate some CORS errors. I have attached a screen capture from the site ddecarcare.com/store showing the site's cookie settings that I set in the session.php file.

Any help is appreciated!

Attachments

cookie_errors2.jpg

cookie_errors2.jpg (209.74 KiB) Viewed 760 times

Last edited by glolar on Tue Sep 28, 2021 8:54 am, edited 2 times in total.

User avatar
Active Member

Posts

Joined
Thu Jul 29, 2010 12:35 pm
Location - San Diego, CA

User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by glolar » Tue Sep 28, 2021 6:46 am

paulfeakins wrote:
Mon Sep 27, 2021 6:23 pm
Duplicate post with viewtopic.php?f=202&t=225684 ?
I don't see how. One is a post asking about cookie errors, the other is a post asking about map errors with JavaScript. I didn't want to ask separate questions in the same post.

Increase Your Child's I.Q.
iPad Wallpapers
Turtle & Tortoise Screen Savers


User avatar
Active Member

Posts

Joined
Thu Jul 29, 2010 12:35 pm
Location - San Diego, CA

Post by straightlight » Tue Sep 28, 2021 6:53 am

Switch back to the default theme and see if the error can be replicated. If not, contact the extension theme developer to resolve this issue.

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 glolar » Tue Sep 28, 2021 7:34 am

straightlight wrote:
Tue Sep 28, 2021 6:53 am
Switch back to the default theme and see if the error can be replicated. If not, contact the extension theme developer to resolve this issue.
Thank you for the helpful answer. You are one of the better souls on this forum, and I appreciate it.

Increase Your Child's I.Q.
iPad Wallpapers
Turtle & Tortoise Screen Savers


User avatar
Active Member

Posts

Joined
Thu Jul 29, 2010 12:35 pm
Location - San Diego, CA

Post by straightlight » Tue Sep 28, 2021 8:40 am

glolar wrote:
Tue Sep 28, 2021 7:34 am
straightlight wrote:
Tue Sep 28, 2021 6:53 am
Switch back to the default theme and see if the error can be replicated. If not, contact the extension theme developer to resolve this issue.
Thank you for the helpful answer. You are one of the better souls on this forum, and I appreciate it.
Appreciated. Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

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 ADD Creative » Tue Sep 28, 2021 4:21 pm

glolar wrote:
Mon Sep 27, 2021 5:17 pm
Hello all,

I am using a ZEMEZ theme with OpenCart 3.0.2.0 at the following site (in case anyone wants to go there with their browser tools on):

https://www.ddecarcare.com/store/

I am getting dozens of errors like the following example:

Cookie “traffic_target” will be soon treated as cross-site cookie against “https://ddecarcare.com/store/catalog/vi ... ap.min.css” because the scheme does not match.

I have the exact same theme on another site, and I am not getting the same cookie errors. For both sites, I set the SameSite parameter to true, and httponly=true, and that has helped me eliminate some CORS errors. I have attached a screen capture from the site ddecarcare.com/store showing the site's cookie settings that I set in the session.php file.

Any help is appreciated!
The error you list is often down to mismatch between http and https. It could just of been down to your browser having an old cookie that just needed to be deleted.

You have probably got rid of the error by setting SameSite to None. Be careful with doing that, it removes a security feature designed to protect site against various attacks. You should only need to set SameSite to None with certain payment providers.

You might want to try deleting your cookies and setting SameSite back to Lax, then working out which assets are not using correctly using https.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by glolar » Tue Sep 28, 2021 11:00 pm

ADD Creative wrote:
Tue Sep 28, 2021 4:21 pm
glolar wrote:
Mon Sep 27, 2021 5:17 pm
Hello all,

I am using a ZEMEZ theme with OpenCart 3.0.2.0 at the following site (in case anyone wants to go there with their browser tools on):

https://www.ddecarcare.com/store/

I am getting dozens of errors like the following example:

Cookie “traffic_target” will be soon treated as cross-site cookie against “https://ddecarcare.com/store/catalog/vi ... ap.min.css” because the scheme does not match.

I have the exact same theme on another site, and I am not getting the same cookie errors. For both sites, I set the SameSite parameter to true, and httponly=true, and that has helped me eliminate some CORS errors. I have attached a screen capture from the site ddecarcare.com/store showing the site's cookie settings that I set in the session.php file.

Any help is appreciated!
The error you list is often down to mismatch between http and https. It could just of been down to your browser having an old cookie that just needed to be deleted.

You have probably got rid of the error by setting SameSite to None. Be careful with doing that, it removes a security feature designed to protect site against various attacks. You should only need to set SameSite to None with certain payment providers.

You might want to try deleting your cookies and setting SameSite back to Lax, then working out which assets are not using correctly using https.
Thank you very much for the input. I will try that.

Increase Your Child's I.Q.
iPad Wallpapers
Turtle & Tortoise Screen Savers


User avatar
Active Member

Posts

Joined
Thu Jul 29, 2010 12:35 pm
Location - San Diego, CA
Who is online

Users browsing this forum: Bing [Bot], moreduff and 269 guests