[Dojo-interest] Problem with hosting on a different port?

tfl tfl at netcabo.pt
Mon Apr 3 15:44:42 MDT 2006


I'm running dojo at port 8080 with no issues.

________________________________

De: dojo-interest-bounces at dojotoolkit.org em nome de Alex Russell
Enviada: seg 03-04-2006 17:09
Para: dojo-interest at dojotoolkit.org
Cc: Chadwick Wood
Assunto: Re: [Dojo-interest] Problem with hosting on a different port?



So it's not clear from this description whether or not you're serving
both Dojo and your test page from the same high port or if Dojo is
being served from a different port than the test page.

If they're both being loaded from the same high port, this is a bug and
should be filed against us in Trac: http://trac.dojotoolkit.org

OTOH, if you're trying to serve Dojo and your test page from different
ports, it's not a bug, simply a browser restriction on cross-domain
requests.

Regards

On Sunday 02 April 2006 9:37 pm, Chadwick Wood wrote:
> Hi,
>
> I keep getting an error from dojo loading.  I think the problem has
> to do with the fact that I'm hosting the test site on a different
> port (3000).
>
> When I include dojo on one of my local test domains that is hosted at
> http://localhost:3000 I get a javascript error:
>
> mll[x] is not a function
>
> I looked in the source, and the section that the error refers to is:
>
> dojo.hostenv.loaded = function(){
>       this.post_load_ = true;
>       var mll = this.modulesLoadedListeners;
>       for(var x=0; x<mll.length; x++){
>               mll[x]();
>       }
>       dojo.loaded();
> }
>
> If I install the same version of dojo on a local test site that is
> hosted on the normal port, I don't have this error.  Any ideas, or is
> this a bug?

--
Alex Russell
alex at jot.com
alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5326 bytes
Desc: not available
Url : http://mastodon.dojotoolkit.org/pipermail/dojo-interest/attachments/20060403/e980ef8d/attachment-0001.bin


More information about the Dojo-interest mailing list