CMS的内容管理报错

glengong 4月前 264

TIM图片20180413171858.png
CMS模块的错误,随便点击哪一个链接都报错

最新回复 (7)
  • F4NNIU 打赏 4月前
    感谢TA
    0 引用 2
  • kanganxi 4月前
    感谢TA
    0 引用 3

    @glengong git昨天下午以后安装的就会出现这个问题,估计git代码有bug,本地下载安装没问题

  • glengong 楼主 4月前
    感谢TA
    0 引用 4

    [10501] PDOException in Connection.php line 388
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'channel.id AS channel__id' in 'field list'

            $this->PDOStatement->execute();
            // 调试结束
            $this->debug(false);
            // 返回结果集
            return $this->getResult($pdo, $procedure);
        } catch (\PDOException $e) {
            if ($this->isBreak($e)) {
                return $this->close()->query($sql, $bind, $master, $pdo);
            }
            throw new PDOException($e, $this->config, $this->getLastsql());
        } catch (\Throwable $e) {
            if ($this->isBreak($e)) {
                return $this->close()->query($sql, $bind, $master, $pdo);
            }
            throw $e;
        } catch (\Exception $e) {
            if ($this->isBreak($e)) {
                return $this->close()->query($sql, $bind, $master, $pdo);
            }

    Call Stack
    in Connection.php line 388
    at Connection->query('SELECT archives.`i...', [], false, false) in Query.php line 227
    at Query->query('SELECT archives.`i...', [], false, false) in Query.php line 2444
    at Query->select() in Archives.php line 86
    at Archives->index()
    at ReflectionMethod->invokeArgs(object(Archives), []) in App.php line 343
    at App::invokeMethod([object(Archives), 'index'], []) in App.php line 602
    at App::module(['admin', 'cms.archives', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
    at App::exec(['type' => 'module', 'module' => ['admin', 'cms.archives', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
    at App::run() in start.php line 19
    at require('D:webroothtmlfast...') in index.php line 24

  • glengong 楼主 4月前
    感谢TA
    0 引用 5

    以上是开启调试后出来的错误报告

  • glengong 楼主 4月前
    感谢TA
    0 引用 6

    image.png

  • glengong 楼主 4月前
    感谢TA
    0 引用 7

    数据库字段未作修改

  • Karson 打赏 4月前
    感谢TA
    0 引用 8

    @glengong 你是更新了Thinkphp5吧,再更新一下。TP5.0.17有BUG,请更新到5.0.18

  • 未登录
    9
返回