在localhost上运行网页
我正在开发一个具有MVC架构和使用codeigniter框架的项目。我继续得到一个错误,当我尝试以下列方式运行该文件。
I am working on a project with MVC architecture and using the codeigniter framework. I keep on getting an error when i try running the file in the following way.
http:// localhost:9080 / internship-源代码/ codeigniter / index.php / vacancyManagement
我在config目录中的config.php文件中设置了base_url,如下
I've set the base_url in the config.php file in the config directory as follows
*/
$config['base_url'] = 'http://localhost:9080/internship-management/sourcecode/codeigniter/';
/*
我有我的项目Internship- 。
I have my project Internship-Management inside the C drive under www within wamp.
C:\wamp\www\Internship-Management\SourceCode\CodeIgniter
控制器的项目结构如下
尝试使用开头指定的路径运行控制器后(打开wamp服务器后),我收到此错误
After trying to run the controller with the path specified in the beginning (after turning on the wamp server), I get this error
在这方面的任何帮助将受到高度赞赏,因为我已经围绕这个包围我几个小时了,我知道这是微不足道的
Any help in this regard will be highly appreciated as I've been wrapping my head around this for hours now and I know this is trivial
这个问题是由几个缺少的CodeIgniter系统文件
在CodeIgniter目录,需要维护以下结构
This issue was caused by a few missing CodeIgniter System Files Within the CodeIgniter directory, the following structure needs to be maintained
CodeIgniter
- .idea(directory)
- application(directory)
- system(directory)
- user_guide(directory)
- .gitignore (text file)
- composer.json (JSON file)
- contributing.md (MD file)
- index.php
- license.txt