Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional Ajax ISBN: 978-0-471-77778-6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 7th, 2007, 05:37 PM
Registered User
 
Join Date: Feb 2007
Location: santa barbara, ca, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ch5 Fooreader zxmlDom is undefined

howdy ajaxers....

uploaded the code for the fooreader to my server (chapter 5)
when i direct my browser (ie7) to the test page suggested
http://readerdomain/xml.aspx?xml=....

i get yahoo top stories so it looks like the instal was good.

when i point the browser to the default.htm page i get a javascript error 'zXmlDom' is undefined and the loading never completes. I tried in firefox and it doenst give the js error but the loading just keeps going like ie.

the server is 2003 and is currently running a few asp sites and some php sites as well.

I am a little uncertain about server administration so I assume that there is probably a setting associated with this application that is not right. Does this zxml library need to be "installed" as well or pointed to? I used the code directly downloaded from here so i assume that the files in the reader app are updated and work fine...

i have full access to the server so can mess around directly with it.

thanks,

rich


Reply With Quote
  #2 (permalink)  
Old February 8th, 2007, 04:13 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

This means the zXml.js file hasn't downloaded properly, could be a number of reasons:
  • you haven't a script tag pointing to the zXml.js file
  • The zXml.js file is not on the server
  • the zXml.js file is in a different place to where your script tag is pointing

To test try copy-and-pasting the code into the HTML rather than including it and see what happens.

--

Joe (Microsoft MVP - XML)
Reply With Quote
  #3 (permalink)  
Old February 8th, 2007, 05:01 AM
Registered User
 
Join Date: Feb 2007
Location: santa barbara, ca, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

omg...

yur absolutely right joe... the version on the server was corrupted in the upload... odd.. but i guess it does happen :)

thanks!

Reply With Quote
Reply


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
Ch5 Ex5_03 yetri56 BOOK: Ivor Horton's Beginning Visual C++ 2005 1 April 14th, 2008 02:36 AM
Chapter 15 FooReader.Net Question maxint40 BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 5 April 13th, 2007 09:14 AM
CH5 ObjectDataSource nabeelalkaff BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 March 8th, 2007 01:19 PM
having problem with zXmlDom kaos_frack BOOK: Professional Ajax ISBN: 978-0-471-77778-6 10 May 17th, 2006 11:12 PM
CH5 p 184 wadesmart BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 November 17th, 2003 04:41 PM



All times are GMT -4. The time now is 10:01 PM.


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