在本地主机上运行控制器。它显示codelgniter错误:未能打开流:没有这样的文件或目录
Warning: include(): Failed to open stream: No such file or directory in (C:\wamp\www\Codelgniter\system\core\Exceptions.php)
添加来自备注:
signUpController
<?php
class SignupController extends CI_Controller {
public function index() {
$this->load->view('signUpView');
}
}
signUpView
<?php
include 'header.php';
include 'footer.php';
?>
显示您的包括功能 –
** ** SignUpController负载>视图( 'signUpView'); } } ?> –
** signUpView ** <?php include'header.php'; ?> <?php include'footer.php'; ?> –