Reply
Help needed with names script
Old 06-15-2008, 06:08 AM Help needed with names script
Skilled Talker

Posts: 73
I have installed a babynames script on a subdomain of my site, but when I try to select a letter or type a letter in the search box it just won't give me results. Firebug reports an error:
uncaught exception: Permission denied to call method XMLHttpRequest.open

I searched in Google and on this forum, but nothing that can help me out so far.
I've asked for help from the developer, but he can't me help out apparently and also send a support ticket to my host, but nothing so far.

Anyone know what's going on?

The url is: http://www.babynames.womansindex.com/
girlgeek is offline
Reply With Quote
View Public Profile Visit girlgeek's homepage!
 
When You Register, These Ads Go Away!
Old 06-15-2008, 08:41 AM Re: Help needed with names script
logic ali's Avatar
Skilled Talker

Posts: 88
Quote:
Originally Posted by girlgeek View Post
I have installed a babynames script on a subdomain of my site, but when I try to select a letter or type a letter in the search box it just won't give me results. Firebug reports an error:
uncaught exception: Permission denied to call method XMLHttpRequest.open

Anyone know what's going on?
You're making a cross-domain request, which isn't allowed. Just move the database and associated PHP onto the same domain as your site, then change the URL in the script and you're done.
logic ali is offline
Reply With Quote
View Public Profile
 
Old 06-16-2008, 06:48 AM Re: Help needed with names script
Skilled Talker

Posts: 73
Thanks Logic Ali. I will give that a try and let you know how it works out.
girlgeek is offline
Reply With Quote
View Public Profile Visit girlgeek's homepage!
 
Old 06-22-2008, 12:05 PM Re: Help needed with names script
Skilled Talker

Posts: 73
Thanks logic ali. It worked! +rep
girlgeek is offline
Reply With Quote
View Public Profile Visit girlgeek's homepage!
 
Old 06-23-2008, 01:24 AM Re: Help needed with names script
Novice Talker

Posts: 11
You need to use techniques like JSONP - script embed to make a cross domain javascript request for data.

you might want to look at $.getScript() in jquery - it is very handy - and cross domain capable...
kceleb9 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help needed with names script
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12922 seconds with 12 queries