forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 permissions => Topic started by: keokar on February 25, 2020, 11:26:19 am

Title: Warning your browser does not accept script's cookies
Post by: keokar on February 25, 2020, 11:26:19 am
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?
Title: Re: Warning your browser does not accept script's cookies
Post by: ron4mac on February 25, 2020, 01:51:21 pm
Can you provide links to galleries?
Title: Re: Warning your browser does not accept script's cookies
Post by: keokar on February 25, 2020, 09:11:16 pm
Just the one with the problem or the other ones as well?  The problematic one is at http://timothee-chalamet.net/gallery/ (http://timothee-chalamet.net/gallery/)
Title: Re: Warning your browser does not accept script's cookies
Post by: ron4mac on February 25, 2020, 10:23:40 pm
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://).
Title: Re: Warning your browser does not accept script's cookies
Post by: keokar on February 25, 2020, 11:40:33 pm
Oh, wow. That was it. I accessed the site from https:// and I could log in. Thanks!