Jump to content

Prestashop and cloudflare cookie error


adamek0123

Recommended Posts

Hi. I have a problem with my prestashop store. I have everything directed by cloudflare (there is a gray cloud on the subdomain) but unfortunately I get a message that cookies are expiring. I have installed the same version of prestashop on localhost and it works fine here. The apache web server is correctly configured. I will paste photos from the console (they will be in Polish, but I will add them in bluntly).
store redirected by cloudflare - admin panel

one.thumb.PNG.59ae951cf04cb3029a39b7f681822c42.PNG

1. 

This page uses the “zoom” custom property. Consider using calc () in appropriate property values, or using “transform” together with “transform-origin: 0 0”.

2.

The cookie “PrestaShop-21902aefebdbf34803eaf1a0e93b4987” will soon be rejected as it has the “SameSite” attribute set to “None” or an invalid value but without the “secure” attribute. https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite for more information on the “SameSite” attribute

user panel
two.PNG.fab099a9ab9ab70af399b10072b1ff56.PNG

Source Map Error: Error: NetworkError when attempting to fetch resource.
Resource URL: https://sklep./themes/core.js
Source map URL: core.js.map

localhost

localhost.PNG.7517619bc5572595f50df78194af6f89.PNG

virtualhost configuration
<VirtualHost *:80>
	ServerAdmin admin@sklep.
    ServerName sklep.
    ServerAlias www.sklep.
	DocumentRoot /var/www/sklep
    
<Directory "/var/www/sklep">
    AllowOverride All
</Directory>
	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
    
</VirtualHost>

<VirtualHost *:443>
	
	ServerAdmin admin@sklep.
    ServerName sklep.
    ServerAlias www.sklep.
	DocumentRoot /var/www/sklep
<Directory "/var/www/sklep">
    AllowOverride All
</Directory>

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined


 
    SSLEngine On
    SSLCertificateFile /etc/ssl/certs/u.crt          
    SSLCertificateKeyFile /etc/ssl/private/u.key   

    
</VirtualHost>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...