Skip to main content
July 17, 2007
Question

Spry and Permission denied to call method XMLHttpRequest.open

  • July 17, 2007
  • 3 replies
  • 588 views
hi all,

I'm using Spry to call an RSS feed and display on a webpage. I'm running this locally on my computer for testing measures and it works fine in IE but i'm getting a message saying "Permission denied to call method XMLHttpRequest.open" when using FF.

I googled around a bit and found that it has to do something with FF's cross domain security, but nothing much more than that. I was just wondering if anyone would be able to point me to a good resource that explains the issue more and how to fix it, keeping it in mind that i want to fix it using Dreamweaver's Spry options.
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Inspiring
July 17, 2007
5h4k42u1u wrote:
> I googled around a bit and found that it has to do something with FF's cross
> domain security, but nothing much more than that. I was just wondering if
> anyone would be able to point me to a good resource that explains the issue
> more and how to fix it, keeping it in mind that i want to fix it using
> Dreamweaver's Spry options.

It's not just Firefox. The security aspect applies to all browsers. The
XML source must be located on the same domain as the web page.

You cannot get round this using Spry's options. The only way is to use a
server-side solution, such as PHP to retrieve the remote XML source, and
act as a proxy on your local domain.

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
July 23, 2007
thx for the quick reply, but i'm just a little confused about few things. Like if i'd use the spry tables with an RSS feed, it'll work with IE but not with FF, but then when i try it with a local XML file, it'll work with FF but not IE? In fact, why does it have trouble at all with the local file, there should be no cross domains to worry about, right?

Sry, like i said i'm a little confused by it all