首次加载TP5应用出错的问题

浏览:2026 发布日期:2016/05/09 分类:ThinkPHP5专区
TP5应用首次加载出错刷新后正常的问题,还望大神们指导,
错误提示:
PHP Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'Undefined index: first' in D:\TP5\tpl\think_exception.tpl:196
原因分析:
1、根据错误提示(<?php echo $source['first']; ?>),$source['first']无值?
2、配置原因(TP5目录外置)
最佳答案
评论( 相关
后面还有条评论,点击查看>>