/www/wwwroot/www.xiaoshuo688.com/kuxin/view.php LINE: 198
错误位置
188 } elseif (substr($tpl, 0, 1) === '/') { 189 $filepath = self::getPath() . $tpl . self::$suffix; 190 } elseif (substr($tpl, 0, 1) === '@') { 191 $filepath = self::getPath() . '/' . substr($tpl, 1) . self::$suffix; 192 } else { 193 $filepath = dirname(self::getPath() . '/' . str_replace('\\', '/', Router::$controller)) . '/' . $tpl . self::$suffix; 194 } 195 if (is_file($filepath)) { 196 return realpath($filepath); 197 } else { 198 trigger_error("模版{$tpl}不存在[" . $filepath . ']', E_USER_ERROR); 199 return false; 200 } 201 } 202 203 /** 204 * @param $tplfile 205 * @return string 206 */ 207 protected static function checkCompile(string $tplfile) 208 {
TRACE
#0 include() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/response.php:332] #1 Kuxin\Response::error(模版/public_404不存在[/www/wwwroot/www.xiaoshuo688.com/template/xiaoshuo688pc模板/public_404.phtml], /www/wwwroot/www.xiaoshuo688.com/kuxin/view.php, 198) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:188] #2 Kuxin\Kuxin::error(256, 模版/public_404不存在[/www/wwwroot/www.xiaoshuo688.com/template/xiaoshuo688pc模板/public_404.phtml], /www/wwwroot/www.xiaoshuo688.com/kuxin/view.php, 198, Array ([tpl] => /public_404,[filepath] => /www/wwwroot/www.xiaoshuo688.com/template/xiaoshuo688pc模板/public_404.phtml)) #3 trigger_error(模版/public_404不存在[/www/wwwroot/www.xiaoshuo688.com/template/xiaoshuo688pc模板/public_404.phtml], 256) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/view.php:198] #4 Kuxin\View::getTplFilePath(/public_404) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/view.php:139] #5 Kuxin\View::make(/public_404) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/controller.php:149] #6 Kuxin\Controller->_404(控制器[App\Controller\index]对应的方法[detail]不存在) called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:112] #7 Kuxin\Kuxin::start() called at [/www/wwwroot/www.xiaoshuo688.com/kuxin/kuxin.php:202] #8 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/kuxin/request.php /www/wwwroot/www.xiaoshuo688.com/kuxin/response.php /www/wwwroot/www.xiaoshuo688.com/app/controller/index.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/log.php /www/wwwroot/www.xiaoshuo688.com/kuxin/tpl/error.php