Page 1 of 1
urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Mon May 05, 2025 7:14 am
by loop
Hi
i use cytrio.com as a cookiebanner and i can decide which cookie are "necessary" so also if the customer refuse the cookies, the necessary are accepted...
i have the cookie ceid and cookie_test in the necessary group, but as soon as i click something in the cart with only this 2 cookies allowed and click on shoppincart, the ceid changes and the cart is empty again
at the moment if somebody clicks "decline" and only has ceid and cookie_test cookie accepted, he cannot shop
what do i miss here? Is there a other cookie i need to make "necessary" ?
thanks
Re: urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Mon May 05, 2025 10:09 am
by burt
ceid and cookie_test are the only two needed.
Turn off this `cookiebanner`, and see if `add to cart` all works.
If yes it does work, you know the problem is with this cookiebanner, so you can get help from them.
If `add to cart` does not work with no cookiebanner, you know the problem area is Phoenix.
So you can get help here.
Re: urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Mon May 05, 2025 1:27 pm
by loop
Hi
i know it's because of the cookiebanner blocks cookies, with enabled cookie banner and clicke "accept all cookies" it works normal, if i say only cookie_test and ceid allowed, i have this problem, that on login.php the cart gets empty
that's really strange
whenn i click "only neccesarry and the 2 cookies are there ceid and cookie_test) thenn i can add to cart, i see the cart it's there, but as soon as i click to "checkout" where i can login with email / passwort, the cart is empty again and new session
if i click "accept all cookies" it works normal, don't understand that. it seems that as soon as the cart is to login.php the session is lost again
>of course only if i make only necesserary 2 cookies ceid + cookie_test
with cookiebanner and clicked on "accept all" everything is just fine / normal
Re: urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Tue May 06, 2025 11:09 am
by burt
Maybe play with the session settings in admin ?
Re: urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Thu May 08, 2025 11:40 am
by loop
hi burt
what you mean exaktli with playing with session? my settings are:
Force Cookie Use False
Check SSL Session ID False
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session True
i see the last one: Recreate the session to generate a new session ID when the customer logs on or creates an account (PHP >=4.1 needed).
but i'm not sure what that means, as soon as i click from shoppingcart to login.php the cart gets empty, but i assume that's not the idea from the setting "recreate session" and i also do not know why this setting should change as i allow the cookie ceid and cookie_test ..
Re: urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Thu May 08, 2025 3:33 pm
by ecartz
Burt suggested two things.
1. What happens if you simply turn off the cookiebanner code? Not authorize cookies in cookiebanner, but turn it off entirely.
2. Try changing the session values in admin, as the current ones don't seem to be working for you.
The only other suggestion I can make is to try a browser with Web Dev Tools. Open the Network tab. Click the link that makes stuff not work. What actually happens? You probably see at least one redirect. Does the domain name change at any time during that process? By change, I mean is it example.com for one page and
www.example.com or shop.example.com for a different one? If so, what causes that change. You can also find out what pages are in the sequence and go through it manually one-by-one to see where you lose the session.
Beyond that, what does cookiebanner say about all this? Is this a common problem? Do they have any way of detecting what cookies they are deleting? Do they log why they delete them? Do they have a debug mode that might give you more information? This is what Burt suggested, that you ask them why their code is making things not work. Maybe they have something that they can tell you.
You haven't posted a link to your store, so it would be hard for us to say what's happening. We can't see.
Re: urgent - need help with "cookies" necessary - cookiebanner (which are necessary)
Posted: Fri May 09, 2025 6:11 am
by loop
Hi eCartz
thank you for your reply
it seems that the cookie banner company made something wrong, after 2 days they wrote me i should check again and now it works

thanks for all your help
@ecartz @burt
Philipp