CodeIgniter Forums
Database Connection Problem - 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: Database Connection Problem (/showthread.php?tid=74941)



Database Connection Problem - laxutraly - 11-27-2019

Hello I am looking for a bit a help, I keep receiving this error. Any help would be really great this is my first time setting this up.

Unable to connect to your database server using the provided settings.
Filename: /home/laxutraly/public_html/third_party/MX/Loader.php
Line Number: 102


RE: Database Connection Problem - Digital_Wolf - 11-27-2019

Set the environment to development mode
for CI4 this is done using:
(just put this line at the beginning of the /public/.htaccess)

PHP Code:
# Setup environment
SetEnv CI_ENVIRONMENT development 

next, reload the page, and attach the resulting images to your next post. or just send us the code you are working on, it will give us more information to help you.
just if you can then send logs from the directory "writable/logs"


RE: Database Connection Problem - InsiteFX - 11-29-2019

IF your using HMVC then there are all kinds of bug reports and the fixes on the forums here.


RE: Database Connection Problem - marketads - 01-12-2020

I have same problem


RE: Database Connection Problem - InsiteFX - 01-14-2020

Search the forums there are several updates to fix problems with the HMVC code.

Search Results