10-30-2018, 02:02 PM
Hi.
I followed the tutorial.
I have done all the tasks up to this page.
For some reason when I try to submit this simple form the framework try to redirect me to this address: http://0.0.0.0/news/create, and this address not exist of course.
I added some record to my empty DB just to check if the other pages is working well and to test the links in the 'news' page.
When I try to press on one of the View_article links its also redirect me to the same strange address, http://0.0.0.0/news/Good-news for example.
When I inspect the web page code generated by the framework I can see that
<?php echo site_url('news/'.$news_item['slug']); ?>
is translated to the previous address, http://0.0.0.0/news/Good-news for example, So for some reason the site_url method generate this address.
I followed the tutorial.
I have done all the tasks up to this page.
For some reason when I try to submit this simple form the framework try to redirect me to this address: http://0.0.0.0/news/create, and this address not exist of course.
I added some record to my empty DB just to check if the other pages is working well and to test the links in the 'news' page.
When I try to press on one of the View_article links its also redirect me to the same strange address, http://0.0.0.0/news/Good-news for example.
When I inspect the web page code generated by the framework I can see that
<?php echo site_url('news/'.$news_item['slug']); ?>
is translated to the previous address, http://0.0.0.0/news/Good-news for example, So for some reason the site_url method generate this address.