Forum OpenACS Development: query to onerow $var

Collapse
Posted by Lourdes Martínez on
I'm new in OpenACS and I'm trying to migrate from ACS to OpenACS 5.14

Help me with this error.
"query to onerow"

What change?

-------------------------
wrong # args: should be "query statement_name result_name type sql args"
while executing
"query to onerow $total"
invoked from within
"if { ! [string equal $nombre {}] } {
--------------------------

Collapse
2: Re: query to onerow $var (response to 1)
Posted by Torben Brosten on
Hello Lourdes Martinez,

Apparently, template::query[1] is being executed somewhere, but not getting the parameters it needs.

1. https://openacs.org/api-doc/proc-view?proc=template%3a%3aquery

Can you provide more information about the error? What page were you accessing to get the error? What steps did you take prior to the error? What were you intending to do or expecting instead of the error?