How to Resolved Error Loading XML Data


Resolving Error Loading XML on Templates with Ajax Modules

If you notice that your site does not load data in AJAX module in some cases/pages you might have a problem related to configuration of your shopping cart.

Reason:
There is know JavaScript security measures built into web browsers that prevent Javascript to contact remote domains. You can check details in this page: jssec.html . If you have your cart configured to use www.domain.com and you go to just domain.com you will not see AJAX load any data. This is because that AJAX reads data based on URL/Doamin setting in your configuration and will always use that setting.

Solution:
You need to add .htaccess redirect from domain.com to www.domain.com That will force always use that one domain as in configuration.
You can view this article online at:
http://docs.algozone.com/article/how-to-resolved-error-loading-xml-data