Welcome Guest, Not a member yet? Register   Sign In
How to install Code Igniter

[eluser]Fahad Sultan[/eluser]
Dear Friends

I am new to codeigniter. I am having problem while installtion code igniter.

I am not know how to set the base url and what to set.

All the codeigniter file reside in E:\CodeIgniter and i have made a vitual directory to this folder as well like http://localhost/ci.

But when i run this directory only error shows nothing happend. can you please tell me how to get out of this problem ?

This error come while opening the virtual directory.

HTTP 404 - File not found
Internet Information Services

Please help me out!


Pls provide us the information about your config.php which under system/config/.

[eluser]Fahad Sultan[/eluser]
Hi friends

Currently i have set my base url to

$config['base_url'] = "http://localhost/ci";

what should i do in order to make it fix?


[eluser]CI Lee[/eluser]
Try adding the trailing slash
$config[’base_url’] = “http://localhost/ci”;
$config[’base_url’] = “http://localhost/ci/”;

[eluser]Fahad Sultan[/eluser]

Still not working Sad


Have you tried files in that directory that aren't CI-related?

[eluser]Fahad Sultan[/eluser]
No i dint

Try a blank file called something like test.html to see if its the web-server configuration and not CI.

[eluser]Fahad Sultan[/eluser]
yes it work!

Theme © iAndrew 2016 - Forum software by © MyBB