Welcome Guest, Not a member yet? Register   Sign In
Is there an issue with the dbutil class in 1.7?
#3

[eluser]Joe_Archer[/eluser]
OK I have a fix that works for me.

on line 178 of system/database/DB_utility.php we have:
Code:
if ( ! is_object($query) OR ! method_exists($query, 'field_names'))

field_names does not exist in the result object, so i've changed it to
Code:
if ( ! is_object($query) OR ! method_exists($query, 'result_object'))

and all seems fine.

I guess somewhere in the changes to the database class, field_names got removed from the result object.

I'm not sure if my solution is the best, but it works for me.


Messages In This Thread
Is there an issue with the dbutil class in 1.7? - by El Forum - 10-30-2008, 07:43 AM
Is there an issue with the dbutil class in 1.7? - by El Forum - 10-30-2008, 08:21 AM
Is there an issue with the dbutil class in 1.7? - by El Forum - 10-30-2008, 11:07 AM
Is there an issue with the dbutil class in 1.7? - by El Forum - 11-09-2008, 01:49 AM
Is there an issue with the dbutil class in 1.7? - by El Forum - 11-09-2008, 02:15 AM
Is there an issue with the dbutil class in 1.7? - by El Forum - 11-09-2008, 06:29 PM
Is there an issue with the dbutil class in 1.7? - by El Forum - 02-11-2009, 03:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB