CodeIgniter Forums

Full Version: localhost problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i am working on website i have download it and trying to make it work on local host to make some updates but the controllers are not working i think because when i try to make registration for example its taking me to object not found page any one have idea about what should i do to make it work ?
i think it depends on your installation. Have you set the config.php, database.php, etc. with your local needs? Also have you copied the files in your correct local root directory?
yes i have change the config file and database file what else should i do?
the main page is working but not the controllers
should i install the CodeIgniter because i only added it to htdocs in xampp ?
Hadeel -

Please don't post duplicate replies. I've deleted the extras. I understand you're looking for answers, but post the same reply every hour for 3+ hours won't make the answer come any faster.
Normaly its enough to copy the CI installation to your local folder. Your document root should start with the index.php etc. and have included the /system /application, etc. folders.

Can you post your exact error message.
First I am really sorry I think I have a problem I didn't see the dublicated posts
and second I attached a screen shot of error page
Dont worry about the double post, i think it was because we have to approve new members posts and so you couldnt see them ;o) And dont worry about us we cant to keep the board clean.

Do you have a controller /application/talentmena.php in your directory. your ci files must be direct in your homedirectory for e.g.

/var/www/html <-- if this ist the path to localhost

/var/www/html/index.php
/var/www/html/...
/var/www/html/application/...
/var/www/html/system/...

Do you have a .htaccess file in you root?
/var/www/html
my website is working online but i want to make changes on local server but when i try to work on it only the main page working other pages that need controller are not working .
This is a stretch but I would also check the .htaccess file.  I have seen that at times affect the routing and cause funny things.  I would try and setup a clean CI with .htaccess.  Then use that as the .htaccess file for the project.  Also try getting the .htaccess file from the live server and putting it in place on your local machine.