Warning your browser does not accept script's cookies Warning your browser does not accept script's cookies
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Warning your browser does not accept script's cookies

Started by keokar, February 25, 2020, 11:26:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keokar

Hi. Since two days ago, I have gotten this message when trying to log in. I have several galleries and this error only occurs in one of them and only in Chrome (meaning, I can log in on Firefox for example).

My Coppermine and Chrome are both up to date. I tried looking for the solution and found a similar error in threads from 2003 and 2004 and tried those solutions, but they didn't work (my clock is correct, clearing history did nothing).

Also weird is the fact that this problem only occurs in one gallery. I can access others on Chrome without any problems.

Can anyone help me?

ron4mac


keokar

Just the one with the problem or the other ones as well?  The problematic one is at http://timothee-chalamet.net/gallery/

ron4mac

Chrome seems particular about cookies. If you access the gallery as https://..., a secure cookie gets set. Accessing it like that is happening from the "Gallery" link at the top of your WP page(s). If you later access the gallery as http://..., Chrome refuses to accept the non-secure cookie that will overwrite the secure one.

One way to counter this would be to have the link to the gallery start with http://.  Another way would be to have server code that automatically forces gallery access to be secure (https://).

keokar

Oh, wow. That was it. I accessed the site from https:// and I could log in. Thanks!