EllisLab text mark
Advanced Search
     
Need help getting basic CodeIgnitor installation to work
Posted: 11 November 2012 05:30 PM   [ Ignore ]
Joined: 2012-11-11
1 posts

Hi all;

I’ve been a developer for 15+ years but setting up CodeIgniter is baffling me and I can’t figure out what I’m missing in the setup.

I actually posted a question on ServerFault.com trying to figure this out: http://serverfault.com/questions/447631/need-help-setting-up-codeignitor-on-an-xampp-server-on-windows-7

I’m sure there is a simple config setting either in Apache or CodeIgniter that I need to set but it isn’t very clear, or I am really dumb.

In short I have XAMPP installed just fine, I “installed” (e.g. unzipped) CodeIgniter into my C:\xampp\htdocs\CodeIgniter folder.

I created a header.php/footer.php template, home.php and about.php, my pages.php controller, but I can’t get any content of any kind from CodeIgniter to render in my browser when I access the suggested URL’s.

Did I mess my setup? Or is there a simple config item I need to set to get Apache to route requests to CodeIgniter?

 
Posted: 21 November 2012 04:29 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2011-03-03
94 posts

Nettuts has excellent videos to help you dive into CI, http://net.tutsplus.com/sessions/codeigniter-from-scratch/.

 
Posted: 21 November 2012 11:19 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2009-06-19
6267 posts

It maybe an ACL access problem with windows make sure you are logged in as an Administrator.

Make sure your htdocs directory is readable.

c:\xammp\htdocs\application-name\
-- application
-- system
-- .htaccess
-- index.php 

I am running on Windows 7 Pro

 

 Signature 

Ceritfied State of CT Computer Programming Teacher.
Custom Designed Icons, eBook Covers Software Boxes. CD, DVD Etc. New iPhone® Tab Bar Icons and iPhone® Applications Icons.

STOP! Before posting your questions, remember the WWW Golden rule:
What did you try? What did you get? What did you expect to get?

Input -> Controller | Processing -> Model | Output -> View