How to fix problem on ajax module that does not load in HTTPS Server?


How to fix ajax module does not load in HTTPS Server?

The problem with the ajax module is the HTTPS CONFIGURATION does not match with the url. To fix it, add the global variable $request_type as a parameter in tep_href_link function where the fetcher url that builds the XML is being called.


Ex. tep_href_link('filename_of_fetcher.php', 'pID=' . $new_products['products_id'], $request_type)

The last parameter $request_type determines if you are using SSL, of course make sure that the configured HTTPS url match with the url build in tep_href_link


You can view this article online at:
http://docs.algozone.com/article/how-to-fix-ajax-module-does-not-load-in-https-sever