无法打开流:无此文件 [英] failed to open stream: No such file

查看:73
本文介绍了无法打开流:无此文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将我的项目从codeigniter 2更新到codeigniter 3.1.0时,出现了这样的错误

when i update my project from codeigniter 2 to codeigniter 3.1.0 am getting error like this

警告:include(C:\ wamp64 \ www \ hosteliam \ application \ views \ errors \ html \ error_php.php):无法打开流:C:\ wamp64 \ www \ hosteliam \中没有此类文件或目录system \ core \ Exceptions.php行269`.这是我的例外情况

"Warning: include(C:\wamp64\www\hosteliam\application\views\errors\html\error_php.php): failed to open stream: No such file or directory in C:\wamp64\www\hosteliam\system\core\Exceptions.php on line 269"`. this is my line on exception

ob_start();
include($templates_path.$template.'.php');
$buffer = ob_get_contents();
ob_end_clean();
echo $buffer;

第269行是 include($ templates_path.$ template.'.php');

推荐答案

抱歉,问题是视图中缺少错误文件夹,现在我发现了它

sorry the problem was the missing of error folder in views and now i found it out

这篇关于无法打开流:无此文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆