• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setup Codeigniter - How to Make It Work?

#1
[eluser]HelpGame[/eluser]
Hello,

I am new to CodeIgniter.

I have been trying to setup CI to run on several hosts.

Not one has worked so far!


____________________________________________________


BASEURL

The tutorials on CI seemed to say that all you have to do is
set your BASEURL---and then you should be able to see the welcome page.

I have NOT gotten that to work once yet!

I tried several hosts and it did not work!

What I Did:


$config['base_url'] = “http://apple.com/CI/” ;



FOLDER STRUCTURE:


apple.com/CI/system

Put index.php in CI.



RUN:


http://www.apple.com/CI

Is this correct?



____________________________________________________



HTACCESS


There is a lot of talk about HTACCESS. But is that necessary
to bring up a welcome page?

The HTACCESS seems to vary from host to host.

It seems you have to Google around in the HOPES of finding the right HTACCESS file--and then try it.

Is there any better way?


____________________________________________________


DATABASE SETTINGS


Once you have the welcome page up and running, all you need to do
is define your database settings, you should have a working system--
to start testing sample applications---correct?

Is there any other setup that needs to be done?

____________________________________________________


Thanks for your help!

David

#2
[eluser]jdfwarrior[/eluser]
There are several video tutorials on the Codeigniter site that may help you get started. Along with a brand new video that was posted today by Jeffrey Way on Nettuts.

http://codeigniter.com/tutorials/
http://net.tutsplus.com/videos/screencas...tch-day-1/

Check these out and if your still having problems, check back in and I'll try to help you

#3
[eluser]HelpGame[/eluser]



Hello Jdfwarrior,


Thanks for your reply.

I am running DIALUP--so I cannot watch VIDEOS.

_________________________________________________________




I am simply asking whether the above setup is correct.


It did NOT work on several hosts.

_________________________________________________________



Thanks for your help.

David

#4
[eluser]garymardell[/eluser]
What server are u using for it, and what is the actual domain you are using it on. I assume your not actually setting the base_url as apple.com/CI


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.