CodeIgniter Forums
Tutorial "Create news items" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Learn More (https://forum.codeigniter.com/forumdisplay.php?fid=15)
+--- Thread: Tutorial "Create news items" (/showthread.php?tid=66892)



Tutorial "Create news items" - frederikkunze - 12-15-2016

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?


RE: Tutorial "Create news items" - InsiteFX - 12-15-2016

PHP Code:
$config['base_url'] = 'http://localhost:8888/ci/'



RE: Tutorial "Create news items" - frederikkunze - 12-15-2016

(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*