CodeIgniter Forums
Issue querying database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Issue querying database (/showthread.php?tid=73909)



Issue querying database - EzraZebra - 06-22-2019

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.


RE: Issue querying database - jreklund - 06-22-2019

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?


RE: Issue querying database - EzraZebra - 06-22-2019

(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.