Forum OpenACS Q&A: Problem whith ACS Functiones

Collapse
Posted by Rod Cap on
Hello, hope someone could help me.
I call the acs-admin/users/  and I get the folowing error.
invalid command name "util_quote_double_quotes"
    while executing
"util_quote_double_quotes [lindex $option $value_index"
    (procedure "db_html_select_value_options" line 15)

Then i chek the index.tcl in users directory, and it call the db_html_select_value_options function, then I chek en utilities-procs.tcl and in the definitions it calls
<option value=\"[util_quote_double_quotes [lindex .....
But the  util_quote_double_quotes  function I checked is in text-html-procs.tcl. But this file has some trouble loged in the aolserver.log, so I add a brace at the end of the file.  Besides, I cheked in the text-html-procs.tcl and search for util_quote_double quote but it calls /api-doc/proc-view?proc=ad_quotehtml. This proc-view.tcl is in /web/myServer/packages/acs-api-browser/www/.
What should I do?  I don't know maybe I've been doing innecessary work , but if someone can help I'll apreciate some help.

Collapse
Posted by Jade Rubick on
A couple of suggestions:

1) make a new page and test out just that one function.

2) Look in your Aolserver log and see what error comes up with the text-html-procs.tcl  Let us know what that error is -- it's probably important.

Collapse
Posted by Rod Cap on
Hi, Thx Jade I've tried testing only the db_html_select_value_options    function. But it throws the same error, that is: invalid command name "util_quote_double_quotes"
    while executing
"util_quote_double_quotes [lindex $option $value_index"
    (procedure "db_html_select_value_options" line 15)

This "util_quote_double_quotes" is in the text-html-procs.tcl and the weird thing is that it redirect it to a path href="/api-doc/proc-view?proc=ad_quotehtml" and the proc-view.tcl is not in that path.  I've think manaly change the path to the rigtht one. But I dont know that is the best thing.  The other thing is that the error I notice in the aolserver.log says that a brace is missing in the text-html-procs.tcl, so I just add the brace at the end of the file. Then I reload aolserver and that error does not apear again.
Thanks for your help, I'll apreciate response
Rod