Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:cache:litemage:troubleshooting:form-keys-displayed-on-page [2016/05/06 14:24] Michael Alegre created |
litespeed_wiki:cache:litemage:troubleshooting:form-keys-displayed-on-page [2017/05/08 19:56] (current) Lisa Clarke |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Form Keys Being Displayed On Web Page ====== | + | ~~NOTOC~~ |
+ | ====== Form Keys Displayed On Site Page or the Footer Disappears ====== | ||
- | When using LiteMage with certain other extensions, a problem can be introduced where these other extensions attempt to parse the web page containing LiteMage's ESI tags and being unfamiliar with the ESI syntax, stripping them. For example, <esi:include> and <esi:inline> tags would become <include> and <inline>. This will cause the ESI content to not be parsed and processed by LiteSpeed Web Server, causing form keys to be displayed on the page, the footer to disappear, as well as possible other issues. | + | ==== Problem ==== |
+ | When using LiteMage with certain other extensions, sometimes form keys are displayed on the page, or the footer disappears. | ||
- | Example of Form Key being displayed near "ADD TO CART" button:\\ | + | Example of the form key being displayed near the **ADD TO CART** button: |
{{:litespeed_wiki:litemage-form-key.png?nolink|}} | {{:litespeed_wiki:litemage-form-key.png?nolink|}} | ||
- | To correct this, Navigate to System >> Configuration and click on LiteMage Configuration under LITEMAGE CACHE. In General Settings, set "Use Alternative ESI Syntax" to "Yes". Enabling this setting will change the ESI Syntax used by LiteMage to something only it and LiteSpeed Web Server are aware of. With a new syntax being used, other extensions should no longer alter LiteMage's ESI tags and your web pages should once again display properly. | + | ==== Cause ==== |
+ | Some other extensions attempt to parse the web page containing LiteMage's ESI tags while being unfamiliar with the ESI syntax, thereby stripping them. For example, ''<esi:include>'' and ''<esi:inline>'' tags would become ''<include>'' and ''<inline>''. Because of this, the ESI content will not be parsed or processed by LiteSpeed Web Server, which in turn causes the form keys to be displayed as text. | ||
+ | |||
+ | ==== Solution ==== | ||
+ | Use alternative, LiteSpeed-specific ESI syntax: Navigate to **System > Configuration > LITEMAGE CACHE > LiteMage Configuration**. In General Settings, set **Use Alternative ESI Syntax** to ''Yes''. Enabling this setting will change the ESI Syntax used by LiteMage to something only itself and LiteSpeed Web Server are aware of. With the new syntax being used, other extensions should no longer alter LiteMage's ESI tags and your web pages should display properly. | ||