/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(获取表`source`信息发生错误 , /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, 获取表`source`信息发生错误 , /www/wwwroot/www.xiaoshuo688.com/kuxin/model.php, 297, Array ([tablename] => `source`,[fields] => Array (),[tableInfo] => )) #3 trigger_error(获取表`source`信息发生错误 , 256) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:297] #4 Kuxin\Model->Kuxin\{closure}(tablefield_`source`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php:81] #5 Kuxin\Cache->debugGet(tablefield_`source`, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:300] #6 Kuxin\Model->Kuxin\{closure}(tablefield_`source`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/registry.php:32] #7 Kuxin\Registry::get(tablefield_`source`, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:303] #8 Kuxin\Model->getTableField(`source`) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:691] #9 Kuxin\Model->parseWhereCondition(Array ([0] => Array ([novel_id] => 118234),[1] => Array ([site_id] => 10))) 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:462] #11 Kuxin\Model->find() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/model.php:520] #12 Kuxin\Model->getField(from_sign) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/novel/source.php:34] #13 App\Model\Novel\Source->App\Model\Novel\{closure}(source.sign.118234.10) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/cache.php:81] #14 Kuxin\Cache->debugGet(source.sign.118234.10, Closure Object ()) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/novel/source.php:37] #15 App\Model\Novel\Source->getSign(118234, 10) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/novel/chapter.php:162] #16 App\Model\Novel\Chapter->getChapterContent(https://www.69shu.org/book/100452/51105399.html, 118234, 10) called at [/www/wwwroot/www.xiaoshuo688.com/app/model/novel/chapter.php:96] #17 App\Model\Novel\Chapter->getInfo(118234, 3758, 0, , 0, ) called at [/www/wwwroot/www.xiaoshuo688.com/app/controller/novel/chapter.php:55] #18 App\Controller\Novel\Chapter->read() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:109] #19 Kuxin\Kuxin::start() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:202] #20 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/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/kuxin/helper/math.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/chapter.php /www/wwwroot/www.xiaoshuo688.com/app/model/novel/source.php /www/wwwroot/www.xiaoshuo688.com/kuxin/response.php /www/wwwroot/www.xiaoshuo688.com/kuxin/tpl/error.php