CodeIgniter Forums
Starting code igniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forum-9.html)
+--- Thread: Starting code igniter (/thread-64025.html)



Starting code igniter - vinnyvrj - 01-05-2016

I have started codeigniter from the cpanel install.

I am fallowing this page i am new to this program although i like to learn can someone help me with this page. I stated from 
https://ellislab.com/codeIgniter/user-guide/tutorial/static_pages.html

I then have made it to adding logic controller.

I have added all of the code from the list and created my files i have not removed any files from the install.
Although i seem to no be able to get to my page i made called "hello-world"

I made the two pages home and about.

Maybe i should remove the wordpress install it is located at a test site i have coverandcare.com/members

It says to go to the [your-site-url]index.php/pages/view 
If i go to http://www.coverandcare.com/members/index.php/pages/view
or http://www.coverandcare.com/members/index.php/pages/view/home

I get a 404 error page not found do i need to add the controller for this somewere.

Regards Vinny


RE: Starting code igniter - PaulD - 01-05-2016

In the config file, make sure you have defined your base url to include /members/

Quote:$config['base_url'] = 'http://www.mysite.co.uk/mysubfolder/';

Hope that helps,

Paul.


RE: Starting code igniter - Narf - 01-05-2016

(01-05-2016, 08:07 AM)vinnyvrj Wrote: https://ellislab.com/codeIgniter/user-guide/tutorial/static_pages.html

That is an old user-guide, the official one is at codeigniter.com.