/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 {
#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}(89cb451d7a327708230f89bcde0636ab) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php:81] #15 Kuxin\Cache->debugGet(89cb451d7a327708230f89bcde0636ab, 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,read.phtml:427] #17 include(/www/wwwroot/www.xiaoshuo688.com/storage/template/xiaoshuo688pc模板,novel,read.phtml) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/view.php:142] #18 Kuxin\View::make(/novel/read, Array ([allvisit] => 0,[monthvisit] => 0,[weekvisit] => 0,[dayvisit] => 0,[words] => 0,[mark] => 0,[monthmark] => 0,[weekmark] => 0,[daymark] => 0,[vote] => 0,[monthvote] => 0,[weekvote] => 0,[dayvote] => 0,[down] => 0,[comment] => 0,[star_score] => 0,[star_num] => 0,[star] => 0)) called at [/www/wwwroot/www.xiaoshuo688.com/app/controller/novel/chapter.php:118] #19 App\Controller\Novel\Chapter->read() 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/chapter.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/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/kuxin/helper/math.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/chapter.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/novel/source.php /www/wwwroot/www.xiaoshuo688.com/app/component/collect/collect.php /www/wwwroot/www.xiaoshuo688.com/app/component/collect/kernel.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/rule.php /www/wwwroot/www.xiaoshuo688.com/app/component/collect/provider/preg.php /www/wwwroot/www.xiaoshuo688.com/app/component/collect/provider/provider.php /www/wwwroot/www.xiaoshuo688.com/app/component/compare.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/search.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/down.php /www/wwwroot/www.xiaoshuo688.com/app/model/user/mark.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/collect.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/http.php /www/wwwroot/www.xiaoshuo688.com/app/provider/format.php /www/wwwroot/www.xiaoshuo688.com/kuxin/helper/url.php /www/wwwroot/www.xiaoshuo688.com/storage/template/xiaoshuo688pc模板,novel,read.phtml /www/wwwroot/www.xiaoshuo688.com/storage/template/parsetpl/d73323e9b8278f9add3364f81e44d40c.php /www/wwwroot/www.xiaoshuo688.com/storage/template/parsetpl/2e16bb3450b68753f010e60f1e4e3ec8.php /www/wwwroot/www.xiaoshuo688.com/storage/template/parsetpl/cdbf2232112e0ac4169c0cb34ce053ad.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/mark.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