当我将我的项目从codeigniter 2更新为codeigniter 3.1.0时,我发现错误
"警告:include(C:\ wamp64 \ www \ hosteliam \ application \ views \ errors \ html \ error_php.php):无法打开流:C:\ wamp64 \ www中没有此类文件或目录\ hosteliam \ system \ core \ Exceptions.php on 269"`。 这是我的异常
ob_start();
include($templates_path.$template.'.php');
$buffer = ob_get_contents();
ob_end_clean();
echo $buffer;
第269行是include($templates_path.$template.'.php');
答案 0 :(得分:1)