Page 1 of 3
Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 4:51 pm
by cwh2000
Hi all,
Customers cannot login or checkout as cookie_usage.php page is being loaded. I checked on different web browsers Firefox and Chrome to make sure the cookie settings are correct. I also checked the Session settings in the admin and force cookies is disabled. Have CE Phoenix v1.0.9.5 - Any idea how to resolve this?
Thanks,
Craig
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 4:55 pm
by burt
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 5:51 pm
by cwh2000
Attached is a screenshot of the session area in admin.
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 5:54 pm
by raiwa
Try with recreate session set to “false” and /or with force cookie use to “true”
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 6:00 pm
by cwh2000
I just tried the Recreate Session to false and Force Cookie Use to true. The same behavior occurs with cookie message.
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 6:38 pm
by cwh2000
In the Cache directory includes/work there was a .htaccess file with the following lines in it.
<Files *>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</IfModule>
</Files>
I deleted that file from the directory and the login and checkout process appears to be working properly now.
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 7:21 pm
by cwh2000
It was working with the Firefox browser, but now its back to that same cookie message for both Chrome and Firefox browsers. I rechecked that cache directory but there are no files there.
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 7:44 pm
by azpro
Customers cannot login or checkout as cookie_usage.php page is being loaded.
So - it was working before? Did you get feedback from customers lately about the cookie message?
The .htaccess you changed/deleted in includes/work does not affect anything as far as I know ..
Just thinking out loud:
- Ask a friend or family member what they experience on their pc/device. Maybe it's something in your own pc / device.
- Did your hosting provider do an (php) update?
- Did you make a change on your server? File uploaded to wrong directory?
Especially if checkout etc. worked before - there must be a perfectly logical reason why it stopped working.
Re: Cookies must be enabled to purchase online
Posted: Wed Aug 20, 2025 9:48 pm
by cwh2000
It worked before and then several customers stated they couldn't buy on the site.
This problem occurs on every device and several different web browsers.
The php version is the same
Not aware of any changes on the server, but I will open a ticket to verify.
Re: Cookies must be enabled to purchase online
Posted: Thu Aug 21, 2025 4:55 am
by ecartz
cwh2000 wrote: ↑Wed Aug 20, 2025 6:38 pm
I deleted that file from the directory
I'd delete the whole directory if you delete that file. The file is meant to protect the directory, which got special permissions at one point.
Another place you can look for cookie related settings is in your includes/configure.php file. You could post your COOKIE_OPTIONS. These are public values, so safe to post.
A third place is in the PHP configuration.
The only places I see that redirect to the cookie_usage page are login (if the test cookie fails) or when doing an action, if the session isn't started.