|
Mailing Lists
|
Home /
Groups /
Ajax
CFAjax - Permission denied to call method XMLHttpRequest open
I have a few minutes, so I thought I would see what all the hype about AJaxJeff D. Chastain 11/01/05 03:18 P Could it be you're trying to run the examples in a way that has themcharlie arehart 11/01/05 03:34 P As far as I can tell, no. I have not made any changes to the code. I justJeff D. Chastain 11/01/05 03:51 P How about this: are you trying to run the code in an SSL-protected area ofcharlie arehart 11/01/05 06:21 P Are you browsing the examples from your server or by opening the filesJames Holmes 11/01/05 08:19 P > As far as I can tell, no. I have not made any changes to the code. IJim Davis 11/01/05 11:54 P Jeff, I think I figured out the problem you were hitting. If you setup CFAXAC (or by default left it setup) to respondCharlie Arehart 11/14/05 06:14 P If you haven't solved this yet, are you calling the page using HTTP orDawson, Michael 11/04/05 08:12 A I have a few minutes, so I thought I would see what all the hype about AJax is. I downloaded CFAjax onto my server, but when I try to run the examples, I am getting an error message in Firefox ("Permission denied to call method XMLHttpRequest.open") and a security warning in IE. When I run the examples online however, things work fine. Is there something special that needs to be setup on the server for CFAjax to work? Thanks -- Jeff Could it be you're trying to run the examples in a way that has them pointing at a remote server (to get data) that's not the same one on which you served the pages (to view the data)? Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@newatlanta.com www.newatlanta.com/bluedragon/ ----- Excess quoted text cut - see Original Post for more ----- As far as I can tell, no. I have not made any changes to the code. I just downloaded the 1.2.1 zip, expanded it into my wwwroot, and renamed the folder to be 'ajax' in order to correspond to the includes. I have not changed any of the code. Thanks -- Jeff Could it be you're trying to run the examples in a way that has them pointing at a remote server (to get data) that's not the same one on which you served the pages (to view the data)? Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@newatlanta.com www.newatlanta.com/bluedragon/ ----- Excess quoted text cut - see Original Post for more ----- How about this: are you trying to run the code in an SSL-protected area of your site? It's possible/likely that some portion of the code or generated code makes reference to a hard-coded http:, where for that scenario it may be necessary to change that to https:. Just a guess. Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@newatlanta.com www.newatlanta.com/bluedragon/ ----- Excess quoted text cut - see Original Post for more ----- Are you browsing the examples from your server or by opening the files directly from the hard drive? > As far as I can tell, no. I have not made any changes to the code. I just > downloaded the 1.2.1 zip, expanded it into my wwwroot, and renamed the > folder to be 'ajax' in order to correspond to the includes. I have not > changed any of the code. > As far as I can tell, no. I have not made any changes to the code. I > just > downloaded the 1.2.1 zip, expanded it into my wwwroot, and renamed the > folder to be 'ajax' in order to correspond to the includes. I have not > changed any of the code. I believe that both browsers will limit what script can run on the local machine.... is your webroot on the local machine? In IE you can get around this by placing the code in an HTA container (which loosens restrictions) or by checking the "Allow active content to run on files on my computer" option in the "Tools" menu, "Internet Options" item, "Advanced" tab, "Security" group. I'm not sure that it will help, but doing so allowed certain script I was working on to finally run. Jim Davis Jeff, I think I figured out the problem you were hitting. If you setup CFAXAC (or by default left it setup) to respond to localhost requests, but you're running it at 127.0.0.1, that will cause this problem. Either change the URL, or run the installation.cfm to change the setup. Let me know if that works for you. Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@newatlanta.com www.newatlanta.com/bluedragon/ ----- Excess quoted text cut - see Original Post for more ----- If you haven't solved this yet, are you calling the page using HTTP or are you just opening the files, locally, with your browser? You must use HTTP or you will get these warnings. M!ke XMLHttpRequest.open As far as I can tell, no. I have not made any changes to the code. I just downloaded the 1.2.1 zip, expanded it into my wwwroot, and renamed the folder to be 'ajax' in order to correspond to the includes. I have not changed any of the code. Thanks -- Jeff XMLHttpRequest.open Could it be you're trying to run the examples in a way that has them pointing at a remote server (to get data) that's not the same one on which you served the pages (to view the data)? Charlie Arehart CTO, New Atlanta Communications, makers of BlueDragon (678) 256-5395 charlie@newatlanta.com www.newatlanta.com/bluedragon/ ----- Excess quoted text cut - see Original Post for more -----
|
May 16, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||