Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 27th, 2010, 03:33 AM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default source code problem

i like your book very much. i able to connect properly on chapter 8 to jabber.org but for chapter 9 ,chapter 7, chapter 11, my firebug give me below error

15, securityError, A security sandbox error occured with the flXHR request.
http://10.1.1.2/~user/metajack/scripts/flensed.js
Line 12

is there something wrong with the code?

Last edited by cometta; February 27th, 2010 at 03:35 AM..
  #2 (permalink)  
Old March 10th, 2010, 07:54 PM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

What BOSH service URL are you attempting to use? The one in the book (http://bosh.metajack.im:5280/xmpp-httpbind)?

This looks like a simple security policy violation. Did the other chapters work just not this one?
  #3 (permalink)  
Old March 10th, 2010, 09:33 PM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default hi

Yup, i'm using the default bosh you specified. I use it to connect to jabber.org. for chapter 8, it's ok, but other 7,9,11 chapters not ok. how to troubleshoot this?
  #4 (permalink)  
Old April 14th, 2010, 06:53 PM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

It appears you are accessing you application from http://10.1.1.2/~user/metajack/foo

Is that correct? The flash plugin will not work if you attempt to access the app from a file:// URL.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to save html page source code? Jaymond Flurrie Access VBA 2 July 2nd, 2019 06:04 PM
ASP.NET E-Commerce Programming problem-design-solution: Source Code TPoint BOOK: ASP.NET Website Programming Problem-Design-Solution 1 March 22nd, 2012 07:31 PM
code source fmn All Other Wrox Books 7 September 24th, 2006 03:21 AM
Problem downloading source code Luce BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 May 31st, 2006 08:35 AM
Source code bcshen All Other Wrox Books 1 April 19th, 2004 11:43 AM



All times are GMT -4. The time now is 09:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.