[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing problem
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.
Also... make sure the constrcture function for the user object (the user()
function within the object) is accepting the exact same parameters as the
object() function within the "object" class, and then calling
set_object_properties()...
OK - I just looked, and on my copy at least, it appears to be doing that...
OH!
I just looked at your URL again... and your missing op= !!! :)
render.php3 NEEDS an object to render... and yur not giving it an object.
Try doing:
http://localhost:81/render.php3?op=1.2.10.12&oid=12&act=Edit&type=8&si=History()
Don't worry about si=, it's only important for header.php3 at the moment, and you
don't have to do ANYTHING special to accomodate it.
The above URL should solve your problem. Dan had a similar problem when he
started developing... it's important for everyone to note, that an object is
REQUIRED. Here are the parameters required for render.php3:
op=
act=
Thats it. Everything else is needed for our search engine, display purposes, or
sum other reason. But you NEED those two.
So lemme know how that works for you Micah.
Jason
On Sat, Dec 18, 1999 at 05:26:43PM -0800, Micah K Yoder wrote:
> Ok, not *quite* out of the water yet. Using this URL:
>
> http://localhost:81/render.php3?act=Edit&type=8&si=History()
>
> (and a few other variations) and getting this error:
>
> Error encountered (render halted): Render agent not specified. Giving up
> on displaying object!
>
> In the ObjectActions table I added:
> ObjectType = 8
> ActionName = Edit
> ActionDesc = Edit User Info
> RenderFile = user/tools/useredit.php3
>
> I looked at the query in the functions.php3 that comes just before that
> error, and it seems like it should have found my record. Anyone know
> what gives???
>
> I'm also not clear on what the si variable is for.
>
> The sooner this gets explained, the better. :-)
--
Jason
http://vodka.linuxkb.org/~chardros