CodeIgniter Forums
how to redirect to a certain page or not let this appeat? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how to redirect to a certain page or not let this appeat? (/showthread.php?tid=44011)



how to redirect to a certain page or not let this appeat? - El Forum - 07-30-2011

[eluser]Alpha[/eluser]
my hosting company have problem with db and i got this,

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 232


i have changed the environment to "production" and this still appears

tnx


how to redirect to a certain page or not let this appeat? - El Forum - 07-31-2011

[eluser]isawhat[/eluser]
Your database settings in "config/database.php" are wrong, ask your host for the "hostname", "username", "password", "database name" then make sure whats in the database config matches what your host gave you.