Categories

Featured templates

JS Animated. How to fix “Failed to load resource: the server responded with a status of 406 error”

Emily Rose April 6, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial shows how to fix “Failed to load resource: the server responded with a status of 406 error” issue in Ajax based template.

JS Animated. How to fix “Failed to load resource: the server responded with a status of 406 error”

In case you uploaded the ajax-based template to your server and the inner pages keep loading without showing any content, you need to find out what error is coming up in your browser Console tab:

How_to_fix Failed_to_load_resource-1

To locate the error message, press F12 key and go to the Console tab:

How_to_fix Failed_to_load_resource-2

In case the mentioned error comes up, please follow the steps listed below to fix the issue:

  1. Connect to your FTP and go to JS folder:

    How_to_fix Failed_to_load_resource-3
  2. Locate the following file: ajax.js.switch.js:

    How_to_fix Failed_to_load_resource-4
  3. Press CTRL+G to indicate the required line of code which is 61 in our case:

    How_to_fix Failed_to_load_resource-5
  4. Locate the following line:

    accepts: "html",

    and comment it to make it look this way:

    //accepts: "html",
    How_to_fix Failed_to_load_resource-6
  5. Save the changes and re-upload the file to the server. The error is gone now and you can see all the template pages working with no issues.

Feel free to check the detailed video tutorial below:

JS Animated. How to fix “Failed to load resource: the server responded with a status of 406 error”
This entry was posted in JS Animated tutorials and tagged address, error, failed, fix, load. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket