Wrox Programmer Forums
|
BOOK: Professional Joomla! ISBN: 978-0-470-13394-1
This is the forum to discuss the Wrox book Professional Joomla! by Dan Rahmel; ISBN: 9780470133941
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Joomla! ISBN: 978-0-470-13394-1 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
 
Old April 30th, 2009, 05:17 PM
Registered User
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ajax failed request in Chp 7

Hi,

I am getting a return code of 404 in the mod_articleajax.php code example. No matter what browser I use or weather I use my own typed in code or code directly from the book I get the same result. I modified the the line:

overlib('There was a problem with the request.',CAPTION,'Retrieval Error',BELOW,RIGHT);

to:

overlib(myRequest.status,
CAPTION,'Retrieval Error',BELOW,RIGHT);

so that I could see the return code I was getting and it is always 404. That means there is something wrong with the 'myRequest' but I cannot figure out what it is.

Does anyone have this example working?

Thanks
 
Old April 30th, 2009, 09:36 PM
Registered User
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem solved...

I had inadvertently damaged a routine written earlier, I did not realize this program was calling the other program. Once it was fixed it worked like a charm!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax upload failed jmccollor BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 3 March 31st, 2010 09:57 PM
request forwarging & request redirection hafizmuhammadmushtaq Servlets 2 April 24th, 2008 12:42 AM
request failed with HTTP status 401: Unauthorized deeptisingh20 ASP.NET 1.0 and 1.1 Basics 13 December 7th, 2007 04:26 PM
System.Net.WebException: The request failed with H deeptisingh20 ASP.NET 1.0 and 1.1 Professional 0 July 19th, 2006 11:18 PM
The request failed with HTTP status 401: Unauthori CBS .NET Web Services 3 November 30th, 2004 10:07 AM





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