Welcome Guest, Not a member yet? Register   Sign In
Tutorial "Create news items"
#1

Hello,

I started the CodeIgniter Tutorial and got every part running except for the creation of a news item.
I struggle on the same spot if I write down the code myself or if I copy&paste it.

When browsing to http://localhost:8888/ci/index.php/news/create i get all forms and no errors but when I click on submit nothing happens.
I get no error and the data seems to be not send.

Things I have done:
  • Changed database.php and its working at least for the connection and getting data from it.
  • I did change the baseurl to ['base_url'] = 'localhost:8888/ci';
  • I did change routes according to the last tutorial step on The tutorial
  • I did change form validation check to "if ($this->form_validation->run() == FALSE)" to be sure it is not a different type and it errors out on that
Did I maybe miss something?
Reply
#2

PHP Code:
$config['base_url'] = 'http://localhost:8888/ci/'
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(12-15-2016, 10:40 AM)InsiteFX Wrote:
PHP Code:
$config['base_url'] = 'http://localhost:8888/ci/'

Thank you very much. *reaching you a cup of coffee*
Reply




Theme © iAndrew 2016 - Forum software by © MyBB