Essenzielle Cookies nicht vorhanden
Closed this issue · 4 comments
Hallo oveleon,
ich habe eine Multidomain-Projekt mit drei Unterdomains.
Ich habe pro Siteroot eine Cookiebar angelegt. Bei der letzen Domain werden jedoch im Reiter "Essentiell" die Cookies "Contao CSRF Token", "Contao HTTPS CSRF Token", "PHP SESSION ID" nicht angezeigt.
Dann habe ich versucht, die Cookies von der einen Domain zur anderen zu kopieren, welches auch nicht funktioniert hat. Sie werden schlichtweg im BE nicht angezeigt. Bei den anderen beiden Domains sind die essenziellen Cookie-Einträge vorhanden.
Hast du eine Ahnung, woran das liegen könnte?
PHP 8.1
Contao 4.13.16
Cookiebar: 1.12.9
@akroii what happens if you try to create a new group?
I did create new cookiebar settings and they should be created on copy and on creating a new cookiebar.
I can't reproduce it right now so I'd need more information.
Could you try copying the main cookiebar again and see if it works?
Its possible to create a new group and its also possible to add new cookies in it.
Its not possible to replace the "Essential" category from another cookiebar in my multidomain-project. Essential cookies still remain empy. Even I add new cookies (type: hint) inside of essential group, it remains an empty group in frontend.
In my multidomain project I've created several cookiebar settings for each domain and mapped then to its root in site structure.
I had the same thing and gave the cookies a different name within the new "Essential" group.
The cookies were automatically deleted or not created as soon as they had an identical name. I added (EN) in the name of the English domain cookies, and it works. Like this:
Contao CSRF Token (EN) [Hinweis]
Contao HTTPS CSRF Token (EN) [Hinweis]
PHP SESSION ID (EN) [Hinweis]
@akroii I couldn't reproduce the issue with the latest version and the latest Contao 4.13.
I am able to:
- copy a whole cookiebar configuration with all groups and cookies inside of it
- can create essential groups inside of it
@klimeckt
Same for your comment #158 (comment), I can not reproduce this Issue with:
PHP 8.2
Contao 4.13.37
Cookiebar 1.13.3
Feel free to reopen if you can still reproduce the issue.