[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing problem



Jason Pincin wrote:
> 
> There is a line in the resultset object that looks sumthin like:
> 
> //echo $query
> 
> Uncomment that line, and determine which query isn't running properly... cuz
> that'll print every query before they're executed.  The changes you made to the
> ObjectActions table seem to be correct.

ok....  it still doesn't seem to be getting to my include.  Seems like
something's being corrupted somewhere.  :-(

http://localhost:81/render.php3?act=Edit&type=8&op=1.2.10.12

and I'm getting a whole load of it....  looks like $conn isn't being set
properly somewhere, but I'm not sure where.  The queries seem to be
OK... but I'm not 100% sure about that.

---------------
select ObjectID, ObjectClass, ExtensionTable from KBObjects, ObjectTypes
where
KBObjects.ObjectType = ObjectTypes.ObjectTypeID and ObjectID = 12

select ObjectID, ObjectName, ObjectLocation, ObjectType, ObjectFlags,
ObjectClass,
ExtensionTable, DefaultActionID, date_format(ExpireTime, '%M %D, %Y') as
ExpireTime,
date_format(InceptTime, '%M %D, %Y') as InceptTime,
date_format(LastUpdateTime, '%M %D,
%Y') as LastUpdateTime, Users.* from KBObjects, ObjectTypes LEFT JOIN
Users ON
Users.KBObjectID = KBObjects.ObjectID where ObjectTypes.ObjectTypeID =
KBObjects.ObjectType and KBObjects.ObjectID = 12

select ObjectType, PropertyName, PropertyType, FieldMap, EditProp from
ObjectProperties where
ObjectType = 0 OR ObjectType = 8

select RenderFile, ActionName, ActionID from ObjectActions where
(ObjectType = 8 AND
ActionName = 'Edit') OR (ObjectType = 8 AND ActionID = 'Edit')

select ObjectType, ActionID, ActionName from ObjectActions

select KBObjects.ObjectID as ObjectID, ObjectName, ObjectType,
ObjectLocation,
DefaultActionID, ObjectLinkRef.ObjectID as LinkParent from KBObjects,
ObjectTypes LEFT
JOIN ObjectLinkRef ON ObjectLinkRef.LinkObjectID = KBObjects.ObjectID
where
(KBObjects.ObjectLocation = '1.2.10.12' OR ObjectLinkRef.ObjectID = 12)
and
ObjectTypes.ObjectTypeID = KBObjects.ObjectType

select ObjectID, ObjectClass, ExtensionTable from KBObjects, ObjectTypes
where
KBObjects.ObjectType = ObjectTypes.ObjectTypeID and ObjectID = 18


Warning: 0 is not a MySQL link index in includes/functions.php3 on line
124

Warning: 0 is not a MySQL result index in includes/functions.php3 on
line 129

Warning: 0 is not a MySQL result index in includes/functions.php3 on
line 130

Warning: 0 is not a MySQL result index in includes/functions.php3 on
line 135

Warning: 0 is not a MySQL result index in includes/functions.php3 on
line 136

Warning: 0 is not a MySQL result index in includes/functions.php3 on
line 137

Fatal error: is not a class in includes/functions.php3 on line 63