XF 2.1 Why this cookie message

iadzemovic

Member
I keep getting this message "Oops! We ran into some problems. Cookies are required to use this site. You must accept them to continue using the site."

How can I solve this/prevent it from happening. Haven't seen anywhere to Accept?
 
Some browser configurations or extensions can actually block cookies entirely from being saved, hence the wording of that message.

That said, I don't think that's the issue here.

I have visited the site that is on your license and I can reproduce the issue you're talking about, but only if I go to the http:// URL of your site.

Your site is accessible from both http://s...com as well as https://s...com.

All is fine if you go to the https:// version.

It is wise to have a single canonical URL of your site. The easiest way to do this is to go to Admin CP > Options > Basic board information and enable the "Enable board URL canonicalization". You will need to make sure your board URL setting is correct too (it should be the https:// version).

Once that is in place, people who visit your site on the http:// version of the URL will be automatically redirected to the https:// version, and the error will not occur.
 
I had a member complain, and I can recreate it. The issue is that the user cannot update his avatar, he gets the aforementioned error. I recreated it by clicking the default avatar from a test account. On inspecting the URL, I tried to directly go to the /account/avatar page, and I'm prompted to login, even though I'm already logged in everywhere else. I tried to enter http and https -- I believe my redirects are set up properly as it always goes to https. Thoughts?
 
Because it should contain the correct URL to your site. It should use the correct sub domain so www, something else or none at all, the correct path and the correct scheme so http or https
 
Because it should contain the correct URL to your site. It should use the correct sub domain so www, something else or none at all, the correct path and the correct scheme so http or https
I guess i have the right settings, but i whole forum is unreachable when I activate "board URL canonicalization".
You can try in my signature, www and http get forced to https://s...com
Here settings:1586372254682.webp
 
Back
Top Bottom