Closed amjtn closed 1 year ago
same issue exist but resolved https://github.com/litespeedtech/lscache-opencart/commit/4ec23f9917ae8aa1d23a278faf319ed3f0a7d250
may be some incompatibles with php 8.xx versions
are you try disable cache for 404 option?
Hi,
Thank you for your reply
Issue persists with both Cache 404 Pages enabled and disabled
In admin page also showing Add to cart success alert message
Can you provide any solution to solve the same
Thanks
what server environment are you use? LSWS (LiteSpeed Web Server) or OLS (OpenLiteSpeed)?
P.S. and remember - after any change of LSCache settings you must Purge All Caches
P.S.P.S. your theme Basel is Last Update | 21 September 2020
are you sure Basel is full compatible with PHP 8.xx?
may be try PHP 7.3 or 7.4?
LiteSpeed web server. Not Open LiteSpeed
On Tue, May 30, 2023, 10:08 PM Andrey Popov @.***> wrote:
what server environment are use? LSWS (LiteSpeed Web Server) or OLS (OpenLiteSpeed)?
— Reply to this email directly, view it on GitHub https://github.com/litespeedtech/lscache-opencart/issues/28#issuecomment-1568745332, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVSWU5NM5NLSI2LKEPCKZ3XIYPBVANCNFSM6AAAAAAX7BHTSU . You are receiving this because you authored the thread.Message ID: @.***>
LiteSpeed web server. Not Open LiteSpeed
are you use ESI feature?
and also enabled or disabled Ajax options for Shopcart/Wishlist/Compare?
No ESI feature
Ajax Load Shopcart alone enabled Wishlist and compare disabled
ESI disabled on General tab - yes? all ESI features disabled on ESI Modules tab - yes?
what other settings?
Separate View for Logged-in Users ? on General other Separate View?
on Page Settings tab Page cache for Login ?
and again: Basel theme Version 1.3.1.0
you have Opencart 3.0.3.8 and PHP 8.1
Hi,
Please find the details
a) General - LiteSpeed ESI Feature - Enabled b) General - Separate View for All Options - Enabled c) General - Ajax Load Shopcart - Enabled d) Page Settings - Page Cache ( Login ) - Enabled for all Default Page Routes e) ESI Modules - ESI Disabled for all ESI Module Routes f) Basel Theme:
1) Scenario 1:
OpenCart Version - 3.0.3.8 (https://github.com/opencart/opencart/tree/3.0.x.x_Maintenance) PHP Version - 8.1 or 7.4 Latest Basel Theme LiteSpeed Cache Disabled
Result: No Errors Reported in Log & Also NO "Add to cart success alert message displayed on the account page and a few other irrelevant pages"
2) Scenario 2:
OpenCart Version - 3.0.3.8 (https://github.com/opencart/opencart/tree/3.0.x.x_Maintenance) PHP Version - 8.1 or 7.4 Latest Basel Theme LiteSpeed Cache - Enabled with above options a) to e)
Result: No Errors Reported in Log Issue ---> "Add to cart success alert message is displayed on the account page and a few other irrelevant pages"
Thanks
first: b) General - Separate View for All Options - Enabled
in .htaccess uncommented LiteSpeed rewrite rules?
very hard to understand!!!!!!
but this rule
RewriteCond %{REQUEST_URI} !/admin/ [NC]
not in original plugin installation!!!!
P.S. after RewriteCond always must be RewriteRule! otherwise RewriteCond combine with next RewriteCond like logical AND
P.S.P.S. also you must check thath LiteSpeed rewrite rules placed before any other rewrite rules (like Opencart SEO) with [L] flag
If remove below line also same issue
RewriteCond %{REQUEST_URI} !/admin/ [NC]
if I seen - Login page modified by your theme check route paths that used for these pages and try add these paths on URL Settings tab to Exclude URLs for logged-in users and/or Exclude URLs
Even after excluding URLs for logged-in users also the Same issue persists
If LiteSpeed Cache is Enabled in Admin Page we are getting this alert message
post your whole .htaccess (please use code tag on editor bar)
what SEO engine you use?
``### LITESPEED_CACHE_START - Do not remove this line
Options +FollowSymlinks
Options -Indexes
<FilesMatch ".(cgi|pl|py|log|ini|twig|zip)$"> Deny from all
RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^google-feed$ index.php?route=extension/feed/google_base [L] RewriteRule ^facebook-feed$ index.php?route=extension/feed/facebook_feed [L] RewriteRule ^appcore/storage/(.) index.php?route=error/not_found [L] RewriteRule ^securestoragesvefiles/(.) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !..(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]) index.php?route=$1 [L,QSA]
who add this to you .htaccess ?!?!?!!?!?!?!
I see
open tag <FilesMatch
but WHERE close tag </FilesMatch>
"Deny from" all and next "Allow from all" - for what ??????
RewriteRule ^appcore/storage/(.) index.php?route=error/not_found [L]
RewriteRule ^securestoragesvefiles/(.) index.php?route=error/not_found [L]
but original is
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_URI} !..(ico|gif|jpg|jpeg|png|js|css)
but original
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]) index.php?route=$1 [L,QSA]
but original
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
who makes these changes and for what?
P.S. please use format tag CODE <> on editor tab for correct view of your post. very difficult to understand where your mistakes and where editor re-format
Hi,
Everything is correct in .htaccess file as you have mentioned
While pasting to this editor things were removed
Kindly check this screenshot
Thanks
for LiteSpeed exist recommendation
replace
Options +FollowSymlinks
to
Option +SymLinksIfOwnerMatch
another question
# redirect all http to https
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
?????????
and show other part of .htaccess
may be it contain another rules like RewriteCond %{REQUEST_URI} !/admin/ [NC]
;)
P.S. may be continue here: https://www.litespeedtech.com/support/forum/forums/litespeed-cache-extension-for-opencart.46/
Hi,
Changed Options +FollowSymlinks to Option +SymLinksIfOwnerMatch
And Removed Below Mentioned Lines from Htaccess
RewriteCond %{REQUEST_URI} !/admin/ [NC] RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Still, Same Issue Persists
Thanks
until:
impossible qualification help to you
in support forum more possibilities to edit/format text and add images
Hello LiteSpeed Team,
Your plugin improves the OpenCart website performance to a great extent. Just a few issues alone
Issue with Basel theme - Add to cart success alert message is cached and displayed on the account page and a few other irrelevant pages. Please refer to this attachment
OpenCart Version - 3.0.3.8 (https://github.com/opencart/opencart/tree/3.0.x.x_Maintenance) PHP Version - 8.1 LiteSpeed Plugin Used - https://github.com/litespeedtech/lscache-opencart/tree/master/3.0/upload
Kindly can you fix this Issue
Also, can you kindly add support for this theme (https://themeforest.net/item/basel-ajax-driven-opencart-theme/20199321) similar to the Journal theme
Thanks