The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. July 22, 2019, 09:46:26 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: XMLHttp.Status 404 in production environment  (Read 3020 times)
mreuben
n00b
*
Offline Offline

Posts: 1


View Profile
« on: May 29, 2012, 04:16:04 AM »

Hi All,

I use xmlHTTPRequest to do a callback and fill the response in a dropdown. The code works fine in local. But in the Production server it gives 404 alert.
Please help.

Thanks in advance,
Mercy
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: May 30, 2012, 02:44:53 PM »

A 404 is a "not found" error ... I'd check the URL you are hitting. try putting the URL that you are passing to the requestor right into a browser and see what you get back.

May I suggest that if you do not need multiple concurrent requests (it doesn't sound like you do) then you'd find the jQuery implementation of AJAX quite superior. If you need to do multiple concurrent, then my AJAX object here at the forum will be better for you.

Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!