Forum OpenACS Development: Re: xql files don't work

Collapse
7: Re: xql files don't work (response to 6)
Posted by Iuri Sampaio on
precisely hamilton,

I have checked, tcl and xql pages are not part of a tcl library function.

i am working on /www directory, in the index page of an application i installed.

PLus, i have changed tcl and xql code a little

set item_status_options [list]
db_foreach select_state { *SQL* } { lappend item_status_options [list $state $state $num_items] }

fullquery name="select_state.select_states"
querytext
select c.category as state, count(c.category_id) as num_items
from im_categories c,im_conf_items i
where c.category_id = i.conf_item_status_id
group by c.category
/querytext
/fullquery

The error remains the same

based on what you are saying i don't see how the pages "/acs-subiste/www/members/index" works then.
I have based the code i wrote code on it.