Welcome Guest, Not a member yet? Register   Sign In
Multiple DB connections and caching
#1

[eluser]skunkbad[/eluser]
When I use multiple DB connections and caching with CI 3.0, I get an error that says the construct of DB_Results is missing it's first parameter. The call to the construct happens in the DB_Driver on line 695:

Code:
$CR = new CI_DB_result();

Should this be changed to:

Code:
$CR = new CI_DB_result( $RES );

It seems to work when I do this, but I don't want to break anything.

Also related to caching, it seems that when DB_Cache checks to see if a file exists, it has no suppression of error for file_get_contents() on line 125. Perhaps there should be an is_file() or @file_get_contents().



Messages In This Thread
Multiple DB connections and caching - by El Forum - 11-12-2012, 09:45 PM
Multiple DB connections and caching - by El Forum - 11-13-2012, 01:59 AM
Multiple DB connections and caching - by El Forum - 11-13-2012, 08:58 AM
Multiple DB connections and caching - by El Forum - 11-13-2012, 12:21 PM
Multiple DB connections and caching - by El Forum - 11-13-2012, 01:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB