![]() |
"You have specified an invalid database connection group" - 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: "You have specified an invalid database connection group" (/showthread.php?tid=41329) |
"You have specified an invalid database connection group" - El Forum - 05-04-2011 [eluser]kyleb[/eluser] I am running CI 1.74 because my clients still use scaffolding functionality for basic CRUD access. I do not use CI's DB library as I prefer to write my own connection strings and queries, but I do use the database class for scaffolding (perhaps obvious). I've had no problems in the past, but I am getting this error now when I try to set up scaffolding in the exact same way (I think) as I have done many times before: "You have specified an invalid database connection group." Scaffolding controller code: Code: <?php (I've tried taking out the database load command; I get the same error either way.) Database.php code: Code: $active_group = "default"; (I've turned active record on/off, it makes no difference) I am not autoloading the database, I am using the correct scaffolding password. What do you think the issue might be? EDIT: I just checked my scaffolding code that works on another site. The code is exactly identical with only username/password/db name changes. EDIT2: I use tank_auth with this site with no issues. |