Welcome Guest, Not a member yet? Register   Sign In
External DB - error from __construct
#2

You definitely shouldn't remove the parent::__construct() from your constructor, as this would break things. I'm guessing that the reason this error is coming up at this particular point is because you have 'database' listed in $autoload['libraries'] in your autoload config. The location of the error isn't the important part, anyway, it's the error message itself:

Quote:Unable to connect to database server using the specified settings.

The specified settings would be whatever default settings you have configured for your database.
Reply


Messages In This Thread
RE: External DB - error from __construct - by mwhitney - 11-13-2015, 08:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB