Book Errata: Downloadable Code Archive
Hi there! Welcome to our blog. Don't forget to sign up for our free RSS feed. We Triple Dog Dare Ya! And thanks for visiting!
I just received this note from a reader, Leisha Cook. I don’t know if anyone else is having this problem with the downloadable code archive that comes with the book. I include the entire note for completeness sake.
I sent this message to Sitepoint, but I thought you’d be interested as well . . .
Just thought you might want to know about a problem with the downloadable code archive for your book “No Nonsense XML Web Development with PHP.” I had a problem getting some of the code to work, and I thought I might point this out in case others were having the same problem.
It’s not an error per se, but because the code is organized in folders by chapter, the “common.inc.php” file which tells (ALOT of) other files to look in the document root folder for the /xml/ directory doesn’t function as expected. Everything works fine if you move the /xml/ folder to the document root folder.
Maybe this should be obvious, but it’s not explicitly stated in the book or on the code download page. It took me two hours to figure it out on my own. Maybe you could post this on the errata page and save others the trouble.
Otherwise, though, great book.
Thanks.




