• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue querying database

#1
I'm completely new to CI, so I'm just following the tutorial. Everything was working well, except when trying to create a "news" item.
I'm being redirected to the actual IP address of my server, and 404 page generated by my hosting provider's cPanel is being displayed, with the message: "The server can not find the requested page:

198.20.112.34/cp_errordocument.shtml (port 443)"

I don't know what's going on here, as far as I can tell the CI database configuration is correct.
Reply

#2
Which part dosen't work?

You cant view the form?
You cant submit the form?
etc...

Have you set base_url in application/config/config?
Reply

#3
(06-22-2019, 09:43 PM)jreklund Wrote: Have you set base_url in application/config/config?

This was indeed the problem, silly me  Rolleyes
Thanks for your response.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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