分享
  • 收藏
  • 举报
    X
    无法读取标签
    1841
    6

    [0] ThrowableError in Connection.php line 446

    致命错误: Call to a member function execute() on boolean

                // 是否为存储过程调用            $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']);            // 参数绑定            if ($procedure) {                $this->bindParam($bind);            } else {                $this->bindValue($bind);            }            // 执行语句            $this->PDOStatement->execute();            // 调试结束            $this->debug(false);            $this->numRows = $this->PDOStatement->rowCount();            return $this->numRows;        } catch (\PDOException $e) {            if ($this->isBreak($e)) {                return $this->close()->execute($sql, $bind);            }

    Call Stack

    1. in Connection.php line 446

    2. at Connection->execute('SET sql_mode=''')

    3. at call_user_func_array([object(Mysql), 'execute'], ['SET sql_mode=''']) in Db.php line 178

    4. at Db::__callStatic('execute', ['SET sql_mode=''']) in common.php line 1582

    5. at query('SET sql_mode=''') in Init.php line 192

    6. at Init->run(['type' => 'module', 'module' => ['', nullnull]], null) in Hook.php line 137

    7. at Hook::exec('app\common\behavior\...', 'app_begin', ['type' => 'module', 'module' => ['', nullnull]], null) in Hook.php line 95

    8. at Hook::listen('app_begin', ['type' => 'module', 'module' => ['', nullnull]]) in App.php line 130

    9. at App::run() in start.php line 19

    10. at require('/storage/ssd5/371/35...') in index.php line 29

    Environment Variables

    GET Data

    empty

    POST Data

    empty

    Files

    empty

    Cookies

    user_sid

    e3604b73d4

    Session

    empty

    Server/Request Data

    HTTPS

    on

    UNIQUE_ID

    W7Aq81aGQEMo3yHQ@oCYVAAAAAY

    PHP_DOCUMENT_ROOT

    /storage/ssd5/371/3542371/public_html

    DOCUMENT_ROOT

    /storage/ssd5/371/3542371/public_html

    SERVER_ADMIN

    webmaster@000webhost.io

    HTTP_CONNECTION

    Keep-Alive

    HTTP_PROXY_CONNECTION

    Keep-Alive

    HTTP_HOST

    dovechina.000webhostapp.com

    HTTP_X_FORWARDED_PROTO

    https

    HTTP_X_REAL_IP

    202.107.222.139

    HTTP_X_FORWARDED_FOR

    202.107.222.139

    HTTP_X_DOCUMENT_ROOT

    /storage/ssd5/371/3542371/public_html

    HTTP_X_SERVER_ADMIN

    webmaster@000webhost.io

    HTTP_X_SERVER_NAME

    dovechina.000webhostapp.com

    HTTP_UPGRADE_INSECURE_REQUESTS

    1

    HTTP_USER_AGENT

    Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.90 Safari/537.36 2345Explorer/9.4.2.17629

    HTTP_ACCEPT

    text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

    HTTP_REFERER

    https://www.000webhost.com/members/website/list

    HTTP_ACCEPT_ENCODING

    gzip, deflate, br

    HTTP_ACCEPT_LANGUAGE

    zh-CN,zh;q=0.8

    HTTP_COOKIE

    user_sid=e3604b73d4

    PATH

    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

    SERVER_SIGNATURE

    SERVER_SOFTWARE

    Apache

    SERVER_NAME

    dovechina.000webhostapp.com

    SERVER_ADDR

    2a02:4780:bad:16::504

    SERVER_PORT

    443

    REMOTE_ADDR

    202.107.222.139

    REQUEST_SCHEME

    https

    CONTEXT_PREFIX

    CONTEXT_DOCUMENT_ROOT

    /storage/ssd5/371/3542371/public_html

    SCRIPT_FILENAME

    /storage/ssd5/371/3542371/public_html/index.php

    REMOTE_PORT

    25551

    GATEWAY_INTERFACE

    CGI/1.1

    SERVER_PROTOCOL

    HTTP/1.1

    REQUEST_METHOD

    GET

    QUERY_STRING

    REQUEST_URI

    /

    SCRIPT_NAME

    /index.php

    PHP_SELF

    /index.php

    REQUEST_TIME_FLOAT

    1538271987.166

    REQUEST_TIME

    1538271987

    Environment Variables

    empty

    ThinkPHP Constants

    APP_PATH

    /storage/ssd5/371/3542371/public_html/application/

    ENTRANCE

    index

    THINK_VERSION

    5.0.18

    THINK_START_TIME

    1538271987.1688

    THINK_START_MEM

    379216

    EXT

    .php

    DS

    /

    THINK_PATH

    /storage/ssd5/371/3542371/public_html/thinkphp/

    LIB_PATH

    /storage/ssd5/371/3542371/public_html/thinkphp/library/

    CORE_PATH

    /storage/ssd5/371/3542371/public_html/thinkphp/library/think/

    TRAIT_PATH

    /storage/ssd5/371/3542371/public_html/thinkphp/library/traits/

    ROOT_PATH

    /storage/ssd5/371/3542371/public_html/

    EXTEND_PATH

    /storage/ssd5/371/3542371/public_html/extend/

    VENDOR_PATH

    /storage/ssd5/371/3542371/public_html/vendor/

    RUNTIME_PATH

    /storage/ssd5/371/3542371/public_html/runtime/

    LOG_PATH

    /storage/ssd5/371/3542371/public_html/runtime/log/

    CACHE_PATH

    /storage/ssd5/371/3542371/public_html/runtime/cache/

    TEMP_PATH

    /storage/ssd5/371/3542371/public_html/runtime/temp/

    CONF_PATH

    /storage/ssd5/371/3542371/public_html/application/

    CONF_EXT

    .php

    ENV_PREFIX

    PHP_

    IS_CLI

    false

    IS_WIN

    false

    HTMLPURIFIER_PREFIX

    /storage/ssd5/371/3542371/public_html/vendor/ezyang/htmlpurifier/library

    TEMPLATE_PATH

    /storage/ssd5/371/3542371/public_html/template/

    IS_POST

    false

    PUBLIC_URL

    /public/

    PUBLIC_PATH

    /storage/ssd5/371/3542371/public_html/public/

    PLUGINS_PATH

    /storage/ssd5/371/3542371/public_html/plugins/

    CACHE_DIR

    /storage/ssd5/371/3542371/public_html/runtime/

    ThinkPHP V5.0.18 { 十年磨一剑-为API开发设计的高性能框架 }


    7
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 6
    0 赏钱 赏礼回复
    • admin 超级管理员 消费:3.03元 2018-09-30 10:23 10:236楼

      没做修改就出现这个问题的话,那就是空间有问题.换个PHP环境吧

      gnlt 消费:0元 其他手机 2018-10-07 07:13
      安装时,空间符合安装所有条件。函数语句修改是否会允许执行?靠谱。
    0 赏钱 赏礼回复
    • gnlt 普通粉丝 消费:0元 2018-09-30 10:17 10:176楼

      具体:

    0 赏钱 赏礼回复
    • gnlt 普通粉丝 消费:0元 2018-09-30 10:16 10:166楼

      没有任何修改:

    0 赏钱 赏礼回复
    • admin 超级管理员 消费:3.03元 2018-09-30 10:06 10:066楼

      请说清楚原因, 改过什么东西?

    0 赏钱 赏礼回复
    更多回复
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648