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:litemage:troubleshooting:form-keys-displayed-on-page [2017/05/01 19:18]
Jackson Zhang
litespeed_wiki:cache:litemage:troubleshooting:form-keys-displayed-on-page [2017/05/08 19:56]
Lisa Clarke
Line 1: Line 1:
-====== Form Keys Displayed On Site Page or the footer disappears ​======+~~NOTOC~~ 
 +====== Form Keys Displayed On Site Page or the Footer Disappears ​======
  
-**Problem**: When using LiteMage with certain other extensions, sometimes form keys are displayed on the page, or the footer disappears.+==== 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|}}
  
-**Cause**: These "other" exentions ​attempt to parse the web page containing LiteMage'​s ESI tags while being unfamiliar with the ESI syntax, ​and so 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 are displayed.+==== 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.+==== 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.
  
  • Admin
  • Last modified: 2017/05/08 19:56
  • by Lisa Clarke