Joomla Tags - Permission denied to call method XMLHttpRequest open

Permission denied to call method XMLHttpRequest open Permission denied to call method XMLHttpRequest open

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Beacause of a browser security policy (called Same Origin Policy) dating back to Netscape days, the complex AJAX and Javascript contained in our Tags and KB components will not work unless you access the website using the exact same domain name as you have configured in configuration.php.

The most common problem is that you have configured www.domain.com and you are accessing now with domain.com. These two are considered by your browser to be totally different sites and thus the browser security stops you running javascript between them.

The solution - easy!

In order to proceed just retype the correct web address into your web browser making sure you access the site with the same url as in configuration.php

Remember that www.domain.com and domain.com are DIFFERENT HOSTS/DOMAINS for the purpose of the "Same Origin Policy"

This is not a bug or an issue with our code !! It is a security feature of all web browsers.

the same origin policy is an important security measure for client-side scripting (mostly JavaScript). The policy dates from Netscape Navigator 2.0, with necessary coverage fixes in Navigator 2.01 and Navigator 2.02. It prevents a document or script loaded from one "origin" from getting or setting properties of a document from a different "origin".

Article is in the following categories:
KB » General Information


Leave A Comment

or close

Email This Article

or close

Existing Comments

There are currently no comments.

Attachments Attachments

There are currently no files.

myNotes My Notes

You currently have no notes on this article. You can leave your own note on this page, the note can only be seen by you (and our administrators) but not other users.

You need to login first

Permission denied to call method XMLHttpRequest open Article Information

Hits:
1248
Created:
Wednesday, 19 December 2007
Author:
Administrator
Last Modified:
Wednesday, 19 December 2007
Access:
Public
Version:
3

Powered by Joomla Knowledgebase
Now Available For Joomla 1.5.x and Joomla 1.0.x!