ThinkPHP 5.1框架报错记录

( ! ) Fatal error: Un caught think\exception\ErrorException: include(): Filename cannot be empty in /www/wwwroot/101.200.123.324/CMS1/thinkphp/library/think/exception/Handle.php on line 184
( ! ) think\exception\ErrorException: include(): Filename cannot be empty in /www/wwwroot/101.200.123.324/CMS1/thinkphp/library/think/exception/Handle.php on line 184

程序中使用了.env用作参数配置,且配置项中出现特殊字符,且没有使用双引号引入。如下图:

如果上面的双引号去掉就会报上面的错。

更多推荐