gudhe 2023-03-25 17:43 采纳率: 100%
浏览 21
已结题

关于#php#的问题,如何解决?

Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'include(): Filename cannot be empty' in D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\exception\Handle.php:184 Stack trace: #0 D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\exception\Handle.php(184): think\Error::appError(2, 'include(): File...', 'D:\cth\phpstudy...', 184, Array) #1 D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\exception\Handle.php(184): think\exception\Handle->convertExceptionToResponse() #2 D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\exception\Handle.php(97): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #3 D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\Error.php(56): think\exception\Handle->render(Object(think\exception\ErrorException)) #4 D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\Error.php(90): think\Error::appException(Object(think\exception\ErrorException)) #5 [internal function]: think\Error::appShutdown() #6 {main} thrown in D:\cth\phpstudy_pro\WWW\jy\thinkphp\library\think\exception\Handle.php on line 184

这是我在phpstudy上面运行网站打开的瑾焱系统的php源码
这是什么意思

  • 写回答

1条回答 默认 最新

  • IT_service_mesh 2023-03-25 17:49
    关注

    参考GPT和自己的思路:根据错误提示,这可能是由于在代码中应该包含文件的位置为空,导致无法包含文件而出现的致命错误。建议检查代码中是否存在没有设置正确路径或者为空的包含文件操作。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 4月4日
  • 已采纳回答 3月27日
  • 创建了问题 3月25日

悬赏问题

  • ¥170 如图所示配置eNSP
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改
  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥15 键盘指令混乱情况下的启动盘系统重装