最近,我遇到了一个问题:
Warning:include(C:\xampp\htdocs\crackverbal\application\views\errors\html\error_php.php): failed to open stream: No such file or directory in C:\xampp\htdocs\crackverbal\system\core\Exceptions.php on line 269
Warning: include(): Failed opening 'C:\xampp\htdocs\crackverbal\application\views\errors\html\error_php.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\crackverbal\system\core\Exceptions.php on line 269
Warning: include(C:\xampp\htdocs\crackverbal\application\views\errors\html\error_php.php): failed to open stream: No such file or directory in C:\xampp\htdocs\crackverbal\system\core\Exceptions.php on line 269
Warning: include(): Failed opening 'C:\xampp\htdocs\crackverbal\application\views\errors\html\error_php.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\crackverbal\system\core\Exceptions.php on line 269
我使用了
Xampp
和codeigniter-3
。 最佳答案
我猜是
在application\view\errors\html\
文件夹下,error_php.php
文件不存在或
在application\view\
文件夹下,根本不存在errors
文件夹。
您可以创建虚拟文件,看看是否有任何错误。
在application/view/
下,创建文件夹名称errors
,
然后在errors
文件夹中,创建文件夹名称html
然后在html
文件夹中,创建php文件名error_php.php
在error_php.php
中,
<?php echo "Sample text."; ?>
关于codeigniter-3 - 如何解决此警告:无法打开流:没有此类文件或目录,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38431340/