Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscps:troubleshooting:some-page-do-not-show-logged-in-username [2019/01/15 14:05]
Jackson Zhang
litespeed_wiki:cache:lscps:troubleshooting:some-page-do-not-show-logged-in-username [2020/08/11 19:16]
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== PrestashopSome Pages Not Showing Logged-in Username ====== +~~REDIRECT>​https://docs.litespeedtech.com/​lscache/​lscps/​troubleshoot/​~~
-In PrestaShop 1.6, with LiteSpeed Cache for PrestaShop enabled, a logged-in visitor may see their logged-in usernames on some pages but not on others. +
- +
-{{ :​litespeed_wiki:​cache:​lscps:​troubleshooting:​prestashop-overrides-must-be-enabled-1.png?​800 |}} +
- +
-{{ :​litespeed_wiki:​cache:​lscps:​troubleshooting:​prestashop-overrides-must-be-enabled-2.png?​800 |}} +
- +
-This is caused by incorrect ESI hole-punching. +
- +
-To fix the problem, enable overrides, like so: +
- +
-Navigate to **PrestaShop Admin > Advanced Parameters > Debug mode** and set **Disable all overrides** to ''​NO''​. This setting must be ''​NO'',​ because both PrestaShop 1.6 & 1.7 rely on overrides to execute ESI hole punching. +
- +
-NOTE: For some cases, especially for PrestaShop 1.7, the above solution may not be sufficient. The PrestaShop theme code may need to be analyzed to be able to identify the root cause. This may be a very time-consuming process. If you'd like someone else to do it, you can engage LiteSpeed through paid support. Feel free to ask for a quote if you have such a need. +
  • Admin
  • Last modified: 2020/08/11 19:16
  • by Lisa Clarke