• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI3 Tutorial Help Needed

#1
Hi,

I've been working through the CI3 tutorial.  I need help tracking down what I've done wrong.  When I go to the form to create a news item and click the button I get '404 Page Not Found Error,' and the URL looks like this:  http://localhost/codeigniter3/index.php/news/localhost/index.php/news/create

I was expecting the URL to look like this:  http://localhost/codeigniter3/input.php/create, but even if I type in the previous URL, I still receive the 404 error page.  

I've also looked at the database and no entries are being entered from the form submission.  How can I check the database connection? 

Thank you
Timothy
Reply

#2
I figured out what I did wrong.  I didn't have the base_url set correctly.
Reply

#3
@tspowell001,

When you submit the form what is the action parameter of the form tag set to?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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