Thread: flXHR issues
View Single Post
  #6 (permalink)  
Old March 13th, 2014, 05:38 AM
echo echo is offline
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2014
Location: Changsha,China
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello. I am a Chinese who buy your book,a wonderful one!
i do have some questions while i am trying to program the hello program.(chap 3)
here is the situation:
i set up the openfire on my own computer, and i created a user with the JID: zhengqilong@127.0.0.1
i change your code to ( var conn = new Strophe.Connection("http://127.0.0.1:7070/http-bind/"); ) [hello.js]
i am 100% sure that i had made all the js file included. while i tried to connect to the openfire, it returned a status, the value = 1, which means 'connecting', then nothing happened.
and the firebug (a plugin in firefox) presented a error: flXHR dependencies failed to load

this makes me crazy, thank you for your time.