This is an old revision of the document!


Form Keys Being Displayed On Web Page

Problem: When using LiteMage with certain other extensions, sometimes form keys are displayed on the page, or the footer disappears.

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.

Example of Form Key being displayed near “ADD TO CART” button:

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: 2016/05/09 19:46
  • by Long Hu