Jump to content

Edit History

Alexander Firsov

Alexander Firsov

On 5/23/2021 at 8:22 AM, DouglasB16 said:

I do not have PREFIX_COOKIE_CHECKIP in my prefix_configuration phpmyadmin database file. and I deleted !Configuration::get('PS_COOKIE_CHECKIP')) in classes/cookies.php file and still I am getting logged out of my back office. I did notice when I checked my browsers cookie log my domain with and without www is showing up with numerous cookies. this problem just started when I obtained and linked a cloudflare ssl certificate. I installed prestashop 1.7 via godaddy's  1-click installation cpanel option. I am really stuck, I need some help!

 

Yes, absolutely. This problem is caused by Cloudflare. After I applied this solution the problem disappeared immediately!

Quote

UPDATE ps_configuration SET value = 0 WHERE name='PS_COOKIE_CHECKIP'

So it appears that you cannot use the "Check the IP address on the cookie" feature if you are using Cloudflare in "Full SSL" mode.

 

Full SSL mode.jpg

Alexander Firsov

Alexander Firsov

On 5/23/2021 at 8:22 AM, DouglasB16 said:

I do not have PREFIX_COOKIE_CHECKIP in my prefix_configuration phpmyadmin database file. and I deleted !Configuration::get('PS_COOKIE_CHECKIP')) in classes/cookies.php file and still I am getting logged out of my back office. I did notice when I checked my browsers cookie log my domain with and without www is showing up with numerous cookies. this problem just started when I obtained and linked a cloudflare ssl certificate. I installed prestashop 1.7 via godaddy's  1-click installation cpanel option. I am really stuck, I need some help!

 

Yes, absolutely. This problem is caused by Cloudflare. After I applied this solution the problem disappeared immediately!

Quote

UPDATE ps_configuration SET value = 0 WHERE name='PS_COOKIE_CHECKIP'

 

×
×
  • Create New...