• When I look at my portfolio, I get this error repeated for every thumbnail:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in …wp-content/plugins/wp-portfolio/lib/thumbnailer.inc.php on line 383 (or 426)
    (the … is the path to the directory)

    After I refresh the page it goes away, but the first time I look at the portfolio, I always get the errors.

    Is there any way I can fix this?

Viewing 1 replies (of 1 total)
  • Some hosting companies have paranoid security levels, which means certain aspects are disabled.

    If you edit thumbnailer.inc.php
    at line 383: Change

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    to
    // curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

    and If you edit thumbnailer.inc.php
    at line 426: Change

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    to
    // curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

    The // will comment out that bit of the code, and stop it from causing the errors. I’ll investigate this more for the next release.

    Thanks
    Dan

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Portfolio Plugin (WP Portfolio)] cURL error’ is closed to new replies.