Welcome Guest, Not a member yet? Register   Sign In
Link buttons not working
#1

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.

Reply


Messages In This Thread
Link buttons not working - by farkash7 - 10-30-2018, 02:02 PM
RE: Link buttons not working - by dave friend - 10-30-2018, 05:18 PM
RE: Link buttons not working - by php_rocs - 10-30-2018, 05:23 PM
RE: Link buttons not working - by farkash7 - 10-30-2018, 05:49 PM
RE: Link buttons not working - by InsiteFX - 10-31-2018, 03:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB