When I try to add a resource type I get this error:
[17/Feb/2004:21:49:52][4327.114696][-conn:myserver::4] Error: GET .../resource-list/type-add-edit?
referred by ".../resource-list/types"
while executing
"list"
invoked from within
"subst {[list}"
("uplevel" body line 1)
invoked from within
"uplevel [list subst [lindex $extra_arg 1]]"
(procedure "ad_form" line 330)
invoked from within
"ad_form -extend -name add_edit -form [list [list categories:text(checkbox),multiple {label "Auswahl: [set type_short_name]"} {options [list $opti..."
("foreach" body line 10)
invoked from within
"foreach type [db_list_of_lists get_resource_types { } ] {
set category_type_id [lindex $type 0]
set type_short_name [lindex $type 1]
se..."
("uplevel" body line 88)
invoked from within
"uplevel {
ad_page_contract {
Simple add/edit form for resources
@author jade@safe4all.org
@creation-date 2003-08-27
@cvs-id $..."
(procedure "code::tcl::/var/lib/aolserver/myserver/packages/resource-list..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 7)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."
The second problem is the error on adding a recoure to the database. I get this error message:
[17/Feb/2004:22:15:02][4327.65541][-conn:com4biz::1] Error: GET .../resource-list/add-edit?
referred by ".../resource-list/"
Form "add_edit" already has a "select_query_name" section
while executing
"ad_form -extend -name add_edit -select_query_name do_nothing -form $ae_def"
("foreach" body line 17)
invoked from within
"foreach type [db_list_of_lists get_resource_types { }] {
set category_type_id [lindex $type 0]
set type_short_name [lindex $type 1]
ns_..."
("uplevel" body line 131)
invoked from within
"uplevel {
ad_page_contract {
Simple add/edit form for resources
@author jade@safe4all.org
@creation-date 2003-08-27
@cvs-id $..."
(procedure "code::tcl::/var/lib/aolserver/com4biz/packages/resource-list..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 7)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."
I hope someone can help me to solve these problems.
Request notifications