CodeIgniter's index.php
- by 01010011
Hi,
Following CodeIngiter's installation instructions, I extracted CodeIgniter into XAMPP's htdocs folder and placed its index.php at the root. When I navigated to the following url
h t t p://127.0.0.1/index.php
I got the following error messages:
Warning: require_once(C:\xampp\htdocs/system/codeigniter/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 115
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs/system/codeigniter/CodeIgniter.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\index.php on line 115
When I checked line 115 in the index.php, it stated:
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;
Experimenting a little, I put CodeIniter's "system" folder at the root as well, and it worked, providing me access to CodeIgniter's Welcome page, but the instructions did not say to do this.
Experimenting further, when I put back the "system" folder and navigated to the original place where the index.php
h t t p://127.0.0.1/codeigniter_1.7.2/index.php
it worked. But myquestion is, how do I get to the CodeIgniter's welcome page by placing only the index.php in XAMPP's htdocs as instructed by CodeIgniter? Any assistance will be appreciated.