Welcome Guest, Not a member yet? Register   Sign In
CI 1.7 Output->enable_profiler(TRUE); "Database driver is not currently loaded"
#7

[eluser]jeephnx[/eluser]
[quote author="Maglok" date="1245761566"]Sorry for bumping this, but I am running into this bug.

On the bug tracker someone posted a reply:

Code:
Bugfix:
Open \system\libraries\Profiler.php
Find line 110 and replace this:
if ( is_subclass_of(get_class($CI_object), ‘CI_DB’) )
with this:
if ( strtoupper(get_parent_class(get_class($CI_object))) == ‘CI_DB’ )

This does NOT work. Is there another workaround? I really want my profiler to get me to show my queries badly. Smile[/quote]

Hi Maglok
I had the same problem and found that the bug fix is correct BUT you must ensure that the quotes around 'CI_DB' are normal single quotes - not the smart quotes the text editor has inserted.


Messages In This Thread
CI 1.7 Output->enable_profiler(TRUE); "Database driver is not currently loaded" - by El Forum - 07-15-2009, 02:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB