CodeIgniter Forums
DB not working once db_cache was set to FALSE - 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: DB not working once db_cache was set to FALSE (/showthread.php?tid=33453)



DB not working once db_cache was set to FALSE - El Forum - 08-26-2010

[eluser]smilie[/eluser]
Hi,

I have enabled DB caching in config > database.php

This worked nice.
Then - I decided to turn cache off, by setting:
$db['core']['cache_on'] = FALSE;

But, once I have done that, I do not get ANY result back from the database Sad
Just like a DB is empty (which it is not).

WTF? Smile)

Where did I took wrong turn here? Sad

Thanks!
Smilie


DB not working once db_cache was set to FALSE - El Forum - 08-26-2010

[eluser]smilie[/eluser]
Seems all my result offsets were '%^$%' up for some reason Sad
I had to do a major DB changes...

Probably I did not understand how DB caching actually works Smile

Regards,
Smilie