Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Warning your browser does not accept script's cookies  (Read 5585 times)

0 Members and 1 Guest are viewing this topic.

keokar

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Warning your browser does not accept script's cookies
« 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?
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Warning your browser does not accept script's cookies
« Reply #1 on: February 25, 2020, 01:51:21 pm »

Can you provide links to galleries?
Logged

keokar

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Warning your browser does not accept script's cookies
« Reply #2 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/
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Warning your browser does not accept script's cookies
« Reply #3 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://).
Logged

keokar

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Warning your browser does not accept script's cookies
« Reply #4 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.