[Dojo-interest] Permission denied to call method XMLHttpRequest.open

Dean Karres karres at itg.uiuc.edu
Fri Feb 16 12:47:22 MST 2007


Hi,

I am running dojo-0.4.1-widget on a linux box along with the CGI::Ajax
perl module.

I have an existing non-Dojo ajax'd app that I am trying to convert
to use Dojo widgets.  I may go the rest of the wat to using Dojo's
ajax interface depending on how things sort of feel.

I have just mocked up a UI based on a Dojo LayoutContainer,
ContentPanes and TabContainers.  I tried running the app but get a lot
of Dojo debug messages about:

DEBUG: failed loading http://my.domain.com/dojo/src/widget/ContentPane.js with error:
Permission denied to call method XMLHttpRequest.open
DEBUG: failed loading
http://my.domain.com/dojo/src/widget.js with error:
Permission denied to call method XMLHttpRequest.open
DEBUG: failed loading
http://my.domain.com/dojo/src/__package__.js with error:
Permission denied to call method XMLHttpRequest.open
DEBUG: failed loading http://my.domain.com/dojo/src.js
with error: Permission denied to call method XMLHttpRequest.open
DEBUG: failed loading
http://my.domain.com/dojo/__package__.js with error:
Permission denied to call method XMLHttpRequest.open
FATAL exception raised: Could not load 'dojo.widget.ContentPane';
last tried '__package__.js'
DEBUG: failed loading
http://my.domain.com/dojo/src/widget/LayoutContainer.js
with error: Permission denied to call method XMLHttpRequest.open
DEBUG: failed loading
http://my.domain.com/dojo/src/widget.js with error:
Permission denied to call method XMLHttpRequest.open

... and lots more...

I am mixing CGI::Ajax in the mix and maybe they are colliding.

Do you have any advice?


More information about the Dojo-interest mailing list