J!Extensions Store™
Faq Why popups show an {ERROR} message and don't load?

Why popups show an {ERROR} message and don't load?

Created on:Friday, 10 October 2014 11:03

This is the effect of a mixed domains usage along with Joomla! configured with a hardcoded single domain URL. Browser won't allow scripts to work across different domains such as http://mysite.com and http://www.mysite.com, thus for security policy scripts are blocked accordingly.


Normally Joomla uses dynamic base address for the site, having a look at the Joomla configuration.php you can check that the variable named '$live_site' has empty value as by default.


Keep in mind that you should always use only 1 domain for your website to have good SEO, so it's recommended that you redirect from one domain to another using the htaccess.


When Joomla routing resolves dynamically the site base address this will affect also the scripts, for this reason if the '$live_site' variable is not forced to a specific domain also scripts will work in any case.