PDA

View Full Version : Error Fetching Ajax Content Server Response



sogeek
03-18-2014, 04:30 PM
1) Script Title: Drop-in content box v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem: Get an error message occasionally, not all the time. Error Fetching Ajax Content Server Response is what it says. There are two sites hosted on the same server, the one site this script works fine and the other seems to be hit and miss when it works. I actually have all the files on our site, including all the .js files and everything is directly linked to the correct folders/files. Any help or direction on resolving this problem is greatly appreciated. Thanks in advance!

Browsers used Chrome and IE.

Thanks again!

ddadmin
03-27-2014, 06:53 AM
Hmm it's unlikely this is due to the script per say, but rather, your web host's network connection. Regardless though, one thing you can try is upgrading the referenced jQuery library from the default:


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>

in the HEAD section of your page to the latest version:


<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Note that due to changes to the library, your page needs a valid doctype at the very top for the script to work properly in the newer library:


<!doctype html>