php - PHP/HTML:require_once(config.php):打开流失败:没有这样的文件或目录
问题描述
这里只是简单的问题。
我放在dashboard.php
文件夹
pages/dashboard/dashboard.php.
但是错误看起来就像我的问题一样。我能知道如何解决这个问题吗?
解决方案
该错误几乎解释了问题所在:you are trying to include a file that is not there.
您必须在dashboard.php
页面上使用它:-
require_once("../../dbconn.php");
推荐阅读
- dart - 如何解决 Flutter 中的“断言失败:布尔表达式不得为空”异常
- java - MalformedURLException:未知协议:android
- html - 如何在 MVC 中为一个属性获取多个复选框
- java - 将 kafka 与 jpa 一起使用时的良好做法
- google-apps-script - copyTo(destination, copyPasteType, transposed) 停止执行其余函数
- schema - JSON-LD 架构不会在 SDTT 中验证
- php - 在调用其成员函数之前检查 DOMnode 是否存在
- javascript - 我想像台球母球一样进行约束
- asp.net - Visual Studio 中的 FTPS 发布失败,导致“安全连接已被远程连接端关闭”。
- python - 熊猫数据框分组到列表中,单元格数据中包含列表