JavaScript errors when using Internet Explorer

When you use the author instance with Internet Explorer 6 or 7, the browser sometimes throws JavaScript errors.

For example, you receive the error, "CQ is undefined on /libs/wcm/content/siteadmin.html," or "Invalid character."


By default, CQ5 compresses js and CSS files for better performance.

To disable gzip compressing of js and CSS, do the following:

  1. Open http://{host:port}/system/console/configMgr.
  2. Select CQ HTML Library Manager from the list.
  3. Deselect the Gzip checkbox.
  4. Save.
  5. Open http://{host:port}/crxde.
  6. Log in as admin.
  7. Browse to /var/clientlibs and delete all subnodes.
  8. Click "Save All."

Another option is to use Firefox.

Additional information

Internet Explorer 6 and 7 have known issues related to decompressing gzipped data:

For debugging the javascript errors further with Internet Explorer, you could use Visual Web Developer [1] or the IE Developer Toolbar [2].