Forum OpenACS Q&A: Re: Res: Re: Problem with newest xowiki

Posted by Gustaf Neumann on
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 postgres updates from openacs 5.3 to handle the deadlock problems (using stored procedures such as "xowiki_object_f" instead of the old postgres 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

Posted by Jose Agustin Lopez Bueno on
Ok, Gustaf.

You are right in all!

This works ok now.
I'll test it and I'll tell you my comments.