您好,欢迎来到易妖游戏网。
搜索
您的当前位置:首页【ThinkPHP】Fatal error: Uncaught think\exception\ErrorException: include(): Filename cannot be empty.

【ThinkPHP】Fatal error: Uncaught think\exception\ErrorException: include(): Filename cannot be empty.

来源:易妖游戏网

ThinkPHP 5.1框架报错记录

Fatal error: Uncaught think\exception\ErrorException: include(): Filename cannot be empty in /www/wwwroot/abc.com/framework/library/think/exception/Handle.php:184 Stack trace: #0 /www/wwwroot/abc.com/framework/library/think/exception/Handle.php(184): think\Error::appError(2, 'include(): File...', '/www/wwwroot/yc...', 184, Array) #1 /www/wwwroot/abc.com/framework/library/think/exception/Handle.php(184): include() #2 /www/wwwroot/abc.com/framework/library/think/exception/Handle.php(97): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #3 /www/wwwroot/abc.com/framework/library/think/Error.php(56): think\exception\Handle->render(Object(think\exception\ErrorException)) #4 /www/wwwroot/abc.com/framework/library/think/Error.php(90): think\Error::appException(Object(think\exception\ErrorException)) #5 [internal function]: think\Error::appShutdown() #6 {main} thrown in /www/wwwroot/abc.com/framework/library/think/exception/Handle.php on line 184

可能的情况

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

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- vipyiyao.com 版权所有 湘ICP备2023022495号-8

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务