Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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.


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.