【发布时间】:2020-09-27 15:32:02
【问题描述】:
在我创建 index.php 并向我显示此错误消息之前,我的网站运行正常。
警告:require_once(../_asset/faker/vendor/fzaninotto/faker/src/autoload.php):无法打开流:C:\xampp\htdocs\belajar\covid_config\config 中没有这样的文件或目录.php 在第 10 行
致命错误:require_once():在 C 中打开所需的 '../_asset/faker/vendor/fzaninotto/faker/src/autoload.php' (include_path='C:\xampp\php\PEAR') 失败: \xampp\htdocs\belajar\covid_config\config.php 在第 10 行
这是我的程序,可能会导致错误(index.php)
include "_config/config.php";
这是我的 config.php
require_once "../_asset/faker/vendor/fzaninotto/faker/src/autoload.php";
我的文件夹表:从 htdocs 开始
belajar-covid-_asset
|-_config
|-auth
|-dashboard
|-index.php
【问题讨论】: