CodeIgniter Forums

Full Version: Issue querying database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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?
(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.