Post by letxobnav » Wed Apr 08, 2020 8:34 pm

well, perfectly is a strong word.

Attachments

Capture.JPG

Capture.JPG (53.81 KiB) Viewed 2868 times


Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Wed Apr 08, 2020 8:59 pm

letxobnav wrote:
Wed Apr 08, 2020 8:34 pm
well, perfectly is a strong word.
my god it starts to p**s me off this thing. I have no error on the www on my side, only on the non www
Where can this come from ?

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by stef83136 » Wed Apr 08, 2020 9:14 pm

I replaced :

### Force https
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} !on
RewriteRule ^(.*)$ https://www.aquamagasin.com/$1 [R=301,L]

### Force www
RewriteCond %{HTTP_HOST} ^aquamagasin\.com$
RewriteRule ^/?$ "https\:\/\/www\.aquamagasin\.com\/" [R=301,L]

to :

### Force https
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} !on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

### Force www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

On my side it seems to work. And yours

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by letxobnav » Wed Apr 08, 2020 11:36 pm

still error, seems to happen after I clear your cookies.

Attachments

Capture.JPG

Capture.JPG (35.53 KiB) Viewed 2835 times


Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Wed Apr 08, 2020 11:49 pm

letxobnav wrote:
Wed Apr 08, 2020 11:36 pm
still error, seems to happen after I clear your cookies.
strange I don't reproduce anymore

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by stef83136 » Thu Apr 09, 2020 2:23 am

letxobnav wrote:
Wed Apr 08, 2020 11:36 pm
still error, seems to happen after I clear your cookies.
letxobnav do you still see the error? I couldn't reproduce on my side.

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by letxobnav » Thu Apr 09, 2020 10:16 am

clear cookies, then load home page.

Attachments

Capture1.JPG

Capture1.JPG (34.43 KiB) Viewed 2786 times

Capture.JPG

Capture.JPG (60.73 KiB) Viewed 2786 times


Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Thu Apr 09, 2020 10:18 am

after clicking the first alert away, one more

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Thu Apr 09, 2020 4:18 pm

For global site analytic, I am trying to operate a function accepting cookies but I can't do it, I deactivated. however I don't understand where these 307 redirects come from for:

/index.php?route=account/wishlist/add
/index.php?route=product/compare/add
/index.php?route=checkout/cart/remove

In my .htaccess I only have 301 redirects.

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by letxobnav » Thu Apr 09, 2020 5:19 pm

I think it has something to do with the response headers from those ajax calls
(why those ajax calls on the home page anyway?)

Code: Select all

cache-control: private, max-age=0, no-cache
content-type: application/octet-stream
date: Thu, 09 Apr 2020 09:13:18 GMT
expires: Mon, 01 Jan 2000 01:01:42 GMT
server: o2switch-PowerBoost-v3
set-cookie: o2s-chl=a0fe41580fd8660f82aae44a9309ce923bd0d6311c5303d9d5329b98af737663; path=/
status: 307
ones you cookies are set (after I click away the 3 error alerts) everything reloads ok.
But when I delete the o2s-chl cookie and reload the homepage, errors again.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Thu Apr 09, 2020 5:22 pm

letxobnav wrote:
Thu Apr 09, 2020 5:19 pm
I think it has something to do with the response headers from those ajax calls
(why those ajax calls on the home page anyway?)

Code: Select all

cache-control: private, max-age=0, no-cache
content-type: application/octet-stream
date: Thu, 09 Apr 2020 09:13:18 GMT
expires: Mon, 01 Jan 2000 01:01:42 GMT
server: o2switch-PowerBoost-v3
set-cookie: o2s-chl=a0fe41580fd8660f82aae44a9309ce923bd0d6311c5303d9d5329b98af737663; path=/
status: 307
ones you cookies are set (after I click away the 3 error alerts) everything reloads ok.
But when I delete the o2s-chl cookie and reload the homepage, errors again.
When I deactivate the LiteSpeed Cache module in Opencart it disappears, if I activate it it comes back, even with all the functions in LiteSpeed Cache deactivated.

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by letxobnav » Thu Apr 09, 2020 6:25 pm

well, it has to do with the o2s-chl cookie.
When that is not present, it gives the errors.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Thu Apr 09, 2020 8:42 pm

letxobnav wrote:
Thu Apr 09, 2020 6:25 pm
well, it has to do with the o2s-chl cookie.
When that is not present, it gives the errors.
There are 3 functions in the Litespeed Cahce module of opencart:

Ajax Load Wishlist
Ajax Load Compare
Ajax Load Shopcart

When we activate them =
Image

When we deactivate them = They disappear.

But I don't understand how or why they negatively impact when they should be there to improve.

I deactivate, there should no longer be errors ... Finally I hope.

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by letxobnav » Thu Apr 09, 2020 10:12 pm

But I don't understand how or why they negatively impact when they should be there to improve.
I also do not know why they give a 307 which is normally generated internally by a browser on a header, STS for instance (because of your STS header, my browser will issue an internal 307 redirect to https when I try to access your site with http) This is good as that prevents you from having to do that redirect yourself in htaccess, saves a roundtrip.

But I also do not know what these ajax calls are supposed to improve on the home page.
you are triggering a wishlist add function, a compare add function and a cart remove function without any arguments, for what?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Thu Apr 09, 2020 10:15 pm

letxobnav wrote:
Thu Apr 09, 2020 10:12 pm
But I don't understand how or why they negatively impact when they should be there to improve.
I also do not know why they give a 307 which is normally generated internally by a browser on a header, STS for instance (because of your STS header, my browser will issue an internal 307 redirect to https when I try to access your site with http) This is good as that prevents you from having to do that redirect yourself in htaccess, saves a roundtrip.

But I also do not know what these ajax calls are supposed to improve on the home page.
you are triggering a wishlist add function, a compare add function and a cart remove function without any arguments, for what?
This is a good question, I am an e-merchant and not a specialist in this :-)

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by letxobnav » Thu Apr 09, 2020 10:41 pm

well, looks good now.

content-encoding: br
content-type: text/html; charset=utf-8
date: Thu, 09 Apr 2020 14:40:06 GMT
etag: W/"131818-1586443180;;;"
server: o2switch-PowerBoost-v3
status: 304
strict-transport-security: max-age=31536000
vary: Accept-Encoding
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-litespeed-cache-control: public,max-age=1200000
x-litespeed-tag: 56f7page_product_product,56f7P_1600,56f7M_25,56f7
x-lsadc-cache: hit
x-powered-by: PHP/7.3.16
x-xss-protection: 1; mode=block

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by stef83136 » Thu Apr 09, 2020 10:45 pm

alleluia thank you for your precious help letxobnav. Take care of yourself

Opencart 3.0.3.2
Journal 3

Aquamagasin votre spécialiste du Traitement d'eau et des Adoucisseurs d'eau


Active Member

Posts

Joined
Tue Dec 09, 2014 3:29 am
Location - France

Post by AndreyPopov » Wed May 27, 2020 8:09 pm

Opencart 3.0.3.1
Journal 3.0.46
LiteSpeed cache plugin 1.3.1

https://www.priazha-shop.com/brands lscache exist

on others manufacturer pages like
https://www.priazha-shop.com/bbb
https://www.priazha-shop.com/alize
lscache absent

to use Journal Filter on manufacturer pages journal's developer say add % (product/manufacturer%) in OpenCart Manufacturer Layout

default mask in LSCache Page Settings for Brands is product/manufacturer
what mask I can add to LSCache Page Settings to enable lscache on all manufacturer pages? anybody know?

-------------------------------------
I create threads on LiteSpeed support, create ticket, send e-mails, create issues in Github - week gone :( any answer :(
------------------------------------

Journal developer says that they not use LiteSpeed and LSCache and not know solution ("ask LiteSpeed Support")

New member

Posts

Joined
Sat Feb 04, 2017 2:53 am
Who is online

Users browsing this forum: No registered users and 11 guests