/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php LINE: 297
错误位置
287 $fields = []; 288 if ($tableInfo = $this->db()->fetchAll("SHOW FIELDS FROM {$tablename}")) { 289 foreach ($tableInfo as $v) { 290 if ($v['Key'] == 'PRI') 291 $pks[] = strtolower($v['Field']); 292 $fields[strtolower($v['Field'])] = strpos($v['Type'], 'int') !== false; 293 } 294 DI::Cache()->set('tablefield_' . $tablename, $fields); 295 return $fields; 296 } else { 297 trigger_error('获取表' . $tablename . '信息发生错误 ', E_USER_ERROR); 298 return false; 299 } 300 }); 301 Registry::set('tablefield_' . $tablename, $fields); 302 return $fields; 303 }); 304 } 305 306 public function getPk(): string 307 {
TRACE
#0 include() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/response.php:332] #1 Kuxin\Response::error(获取表`page`信息发生错误 , /www/wwwroot/www.xiaoshuo688.com/kuxin/model.php, 297) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:188] #2 Kuxin\Kuxin::error(256, 获取表`page`信息发生错误 , /www/wwwroot/www.xiaoshuo688.com/kuxin/model.php, 297, Array ([tablename] => `page`,[fields] => Array (),[tableInfo] => )) #3 trigger_error(获取表`page`信息发生错误 , 256) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:297] #4 Kuxin\Model->Kuxin\{closure}(tablefield_`page`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php:81] #5 Kuxin\Cache->debugGet(tablefield_`page`, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:300] #6 Kuxin\Model->Kuxin\{closure}(tablefield_`page`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/registry.php:32] #7 Kuxin\Registry::get(tablefield_`page`, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:303] #8 Kuxin\Model->getTableField(`page`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:691] #9 Kuxin\Model->parseWhereCondition(Array ([0] => Array ([status] => 1))) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:683] #10 Kuxin\Model->parseWhere() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:482] #11 Kuxin\Model->select() called at [/www/wwwroot/www.xiaoshuo688.com/app/model/system/page.php:45] #12 App\Model\System\Page->getInfoList() called at [/www/wwwroot/www.xiaoshuo688.com/app/block/page.php:17] #13 App\Block\Page->list(Array ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/block.php:39] #14 Kuxin\Block::Kuxin\{closure}(e5a5d353a96fc8361b677759e2de6802) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php:81] #15 Kuxin\Cache->debugGet(e5a5d353a96fc8361b677759e2de6802, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/block.php:45] #16 Kuxin\Block::show(page.list, Array ()) called at [/www/wwwroot/www.xiaoshuo688.com/storage/template/xiaoshuo688pc模板,novel,info.phtml:540] #17 include(/www/wwwroot/www.xiaoshuo688.com/storage/template/xiaoshuo688pc模板,novel,info.phtml) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/view.php:142] #18 Kuxin\View::make(/novel/info) called at [/www/wwwroot/www.xiaoshuo688.com/app/controller/novel/novel.php:42] #19 App\Controller\Novel\Novel->index() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:109] #20 Kuxin\Kuxin::start() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:202] #21 include(/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php) called at [/www/wwwroot/www.xiaoshuo688.com/public/index.php:34]
文件加载
/www/wwwroot/www.xiaoshuo688.com/public/index.php /www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php /www/wwwroot/www.xiaoshuo688.com/kuxin/loader.php /www/wwwroot/www.xiaoshuo688.com/kuxin/config.php /www/wwwroot/www.xiaoshuo688.com/app/config/kuxin.php /www/wwwroot/www.xiaoshuo688.com/env.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/arr.php /www/wwwroot/www.xiaoshuo688.com/app/config/const.php /www/wwwroot/www.xiaoshuo688.com/kuxin/registry.php /www/wwwroot/www.xiaoshuo688.com/app/helper.php /www/wwwroot/www.xiaoshuo688.com/app/version.php /www/wwwroot/www.xiaoshuo688.com/kuxin/plugin.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/serialize.php /www/wwwroot/www.xiaoshuo688.com/app/plugin/configcache/configcache.php /www/wwwroot/www.xiaoshuo688.com/kuxin/di.php /www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php /www/wwwroot/www.xiaoshuo688.com/kuxin/cache/memcached.php /www/wwwroot/www.xiaoshuo688.com/kuxin/db/mysql.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/json.php /www/wwwroot/www.xiaoshuo688.com/kuxin/router.php /www/wwwroot/www.xiaoshuo688.com/app/controller/novel/novel.php /www/wwwroot/www.xiaoshuo688.com/app/improve/web.php /www/wwwroot/www.xiaoshuo688.com/kuxin/controller.php /www/wwwroot/www.xiaoshuo688.com/app/model/stat/stat.php /www/wwwroot/www.xiaoshuo688.com/app/improve/model.php /www/wwwroot/www.xiaoshuo688.com/kuxin/model.php /www/wwwroot/www.xiaoshuo688.com/kuxin/traits/instance.php /www/wwwroot/www.xiaoshuo688.com/app/model/spider.php /www/wwwroot/www.xiaoshuo688.com/app/model/user/user.php /www/wwwroot/www.xiaoshuo688.com/kuxin/cookie.php /www/wwwroot/www.xiaoshuo688.com/kuxin/input.php /www/wwwroot/www.xiaoshuo688.com/kuxin/view.php /www/wwwroot/www.xiaoshuo688.com/app/component/domain.php /www/wwwroot/www.xiaoshuo688.com/kuxin/request.php /www/wwwroot/www.xiaoshuo688.com/kuxin/filter.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/novel.php /www/wwwroot/www.xiaoshuo688.com/app/provider/novel.php /www/wwwroot/www.xiaoshuo688.com/kuxin/storage.php /www/wwwroot/www.xiaoshuo688.com/kuxin/storage/file.php /www/wwwroot/www.xiaoshuo688.com/app/model/keywords/tags.php /www/wwwroot/www.xiaoshuo688.com/app/model/keywords/baidu.php /www/wwwroot/www.xiaoshuo688.com/app/model/keywords/googlecn.php /www/wwwroot/www.xiaoshuo688.com/app/model/keywords/googlehk.php /www/wwwroot/www.xiaoshuo688.com/app/model/keywords/googletw.php /www/wwwroot/www.xiaoshuo688.com/app/model/author/author.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/category.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/site.php /www/wwwroot/www.xiaoshuo688.com/app/model/tag/tag.php /www/wwwroot/www.xiaoshuo688.com/app/model/tag/data.php /www/wwwroot/www.xiaoshuo688.com/storage/template/xiaoshuo688pc模板,novel,info.phtml /www/wwwroot/www.xiaoshuo688.com/storage/template/parsetpl/9e09c5e5c4e32971e834bb85b726cbcd.php /www/wwwroot/www.xiaoshuo688.com/storage/template/parsetpl/10d654b2d57006a5d3893fc0bf49882a.php /www/wwwroot/www.xiaoshuo688.com/storage/template/parsetpl/e5480f040d8a44e187b1d94918aebe25.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/url.php /www/wwwroot/www.xiaoshuo688.com/kuxin/response.php /www/wwwroot/www.xiaoshuo688.com/kuxin/block.php /www/wwwroot/www.xiaoshuo688.com/app/block/category.php /www/wwwroot/www.xiaoshuo688.com/app/improve/block.php /www/wwwroot/www.xiaoshuo688.com/app/block/novel.php /www/wwwroot/www.xiaoshuo688.com/app/model/user/ticketlog.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/rewardlog.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/stat.php /www/wwwroot/www.xiaoshuo688.com/app/block/chapter.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/chapter.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/rank.php /www/wwwroot/www.xiaoshuo688.com/app/block/rank.php /www/wwwroot/www.xiaoshuo688.com/app/block/page.php /www/wwwroot/www.xiaoshuo688.com/app/model/system/page.php /www/wwwroot/www.xiaoshuo688.com/kuxin/tpl/error.php