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.

Example of the form key being displayed near the ADD TO CART button:

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.

  • Admin
  • Last modified: 2017/05/08 19:56
  • by Lisa Clarke