• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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 the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply

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

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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