致命错误:未捕获CurlException:26:抛出创建formpost数据失败 [英] Fatal error: Uncaught CurlException: 26: failed creating formpost data thrown

查看:137
本文介绍了致命错误:未捕获CurlException:26:抛出创建formpost数据失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:

Fatal error: Uncaught CurlException: 26: failed creating formpost data thrown in /home/u801961841/public_html/inc/lib/base_facebook.php on line 814

这是我使用的代码:

    if ($result === false) {
      $e = new FacebookApiException(array(
        'error_code' => curl_errno($ch),
        'error' => array(
        'message' => curl_error($ch),
        'type' => 'CurlException',
        ),
      ));
      curl_close($ch);
      throw $e;
    }
    curl_close($ch);
    return $result;
  }

有谁知道如何解决这个问题?

Does anyone know how to solve this problem?

推荐答案

图像的路径不正确。
纠正它,问题将被解决。

The path to the image is not correct. Correct it and the problem will be solved.

这篇关于致命错误:未捕获CurlException:26:抛出创建formpost数据失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆