Page 1 of 1

How to run my project using codeigniter?

Posted: Mon Jun 23, 2014 6:42 am
by rkrathor
Hi,
I am just start using code igniter and i donot have much knowledge of it.
I recently get a project to view built in codeigniter. i put this folder in www of wamp and start execution.
first i got error related phpadmin i solved that but now i could not able to go further of this page message.

"Welcome to CodeIgniter!

The page you are looking at is being generated dynamically by CodeIgniter.

If you would like to edit this page you'll find it located at:
application/views/welcome_message.php

The corresponding controller for this page is found at:
application/controllers/welcome.php

If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
".

I just want to know how to come out of this and start viewing my website pages.

Thanks

Re: How to run my project using codeigniter?

Posted: Mon Jun 23, 2014 6:52 am
by Celauran
rkrathor wrote:"If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide."
I'd start there. Have you worked with frameworks before? Are you familiar with OOP? The MVC paradigm?

Re: How to run my project using codeigniter?

Posted: Tue Aug 19, 2014 2:15 am
by danial32
I did not get your problem exactly, however i would like to reply for your question.

Follow the steps to rectify your problem.

Go to config.php file and point the base url to the correct location

$config['base_url'] = '';

Then go to the database.php and enter the right database parameters


$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'user';
$db['default']['password'] = 'password';
$db['default']['database'] = 'dbname';

now if you want to redirect it to specific controller by default go to routes.php file in config directory and change this vairable $route['default_controller'] = "yourcontrollername"

I hope this would help to run your project.

Re: How to run my project using codeigniter?

Posted: Wed Oct 15, 2014 4:26 am
by ethansamuel17
I agree with danial that above all steps will help you to solve your problem. Have you tried it to solve your issue?