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-management/sourcecode/codeigniter/index.php/vacancyManagement
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/';
/*
I have my project Internship-Management inside the C drive under www within wamp.
C:\wamp\www\Internship-Management\SourceCode\CodeIgniter
The project structure of the controllers are as follows
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
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