You seem to have a mixed versions of several packages.
The error message says "Query was not a DML or DDL command." which means, that
- you are using the PostgreSQL updates from OpenACS 5.3 to handle the deadlock problems (using stored procedures such as "xowiki_object_f" instead of the old PostgreSQL rewrite rules),
- but you are using the core of 5.2, in which case xotcl-core uses the db_dml operation.
Correct?
As long you have this configuration, look into xotcl-core/tcl/generic-procs and search for the insert_view_operation. uncomment the following line:
#CrItem set insert_view_operation db_0or1row
This command will set the db-operation to the given value, no matter what your acs-core says.
Hope this helps!
best regard
-gustaf neumann