CodeIgniter Forums
Tutorial - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Tutorial (/thread-64892.html)



Tutorial - sqpp - 04-08-2016

Hello Smile

I am totally new to CodeIgniter, but seems a very nice PHP Framework.  Just did the tutorial, and may sounds strange but something bad happened.  Just followed the instruction, understood what i need to do, what connectors, etc does, but after did create function, getting errors, which is strange.

My baseurl is: localhost/ci cause all CodeIgniter put in my htdocs/ci directory.

However, after creating an article seems URL having a problem:

http://localhost/ci/index.php/news/localhost/ci/index.php/news/create

even tried just localhost, but same happened.. 

any idea? if you need any part of code, just ask, so i gonna provide pastebin copy Smile


RE: Tutorial - albertleao - 04-08-2016

(04-08-2016, 08:37 AM)sqpp Wrote: Hello Smile

I am totally new to CodeIgniter, but seems a very nice PHP Framework.  Just did the tutorial, and may sounds strange but something bad happened.  Just followed the instruction, understood what i need to do, what connectors, etc does, but after did create function, getting errors, which is strange.

My baseurl is: localhost/ci cause all CodeIgniter put in my htdocs/ci directory.

However, after creating an article seems URL having a problem:

http://localhost/ci/index.php/news/localhost/ci/index.php/news/create

even tried just localhost, but same happened.. 

any idea? if you need any part of code, just ask, so i gonna provide pastebin copy Smile



Try putting http:// before 'localhost' in your config file.