Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter not working on localhost
#1

Hello,
I have a problem. It is that CodeIgniter doesn't seem to work on localhost.

Base URL in config.php:

Code:
$config['base_url'] = 'http://sample_localhost/mysite/';

Settings in database.php:


Code:
$db['default']['hostname'] = 'sample_localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = 'admin';
$db['default']['database'] = 'my_database';

Any help is very much appreciated. Thanks in advance!
Reply
#2

1) What is it doing?
2) What version of CodeIgniter?
3) What OS (Operating System) are you using?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB