Welcome Guest, Not a member yet? Register   Sign In
Conflicting Libraries and Helpers?
#11

[eluser]whobutsb[/eluser]
So I wanted to make a reply on this thread because I finally found out what the issue was. The issue was when I made a query on Database X and then made query on Database Y and then back to Database X the CI wasn't sending the "USE Database X" command. So instead of using loading the database in the constructor of the model I added the the load->database() method into the individual model functions. This makes it so that CI changes the database every single time.

This was a seriously confusing bug. I had to use the SQL Server Profiler application to find this out.

Quick question to the CI community:
If in the Database config file if I changed the pconnect option to TRUE, would this solve the issue?

Thanks for the help!


Messages In This Thread
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 08:14 AM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 09:02 AM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 09:08 AM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 09:16 AM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 09:22 AM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 09:35 AM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 12:41 PM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 12:58 PM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 01:08 PM
Conflicting Libraries and Helpers? - by El Forum - 09-01-2009, 01:23 PM
Conflicting Libraries and Helpers? - by El Forum - 09-24-2009, 09:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB