Forum OpenACS Development: Re: XoWiki

Collapse
12: Re: XoWiki (response to 1)
Posted by Nima Mazloumi on
Upgraded from an older version of xowiki and tried to create a new page. But got this:

Database operation "select" failed (exception NSDB, "Query was not a statement returning rows.")

FEHLER: Spalte »link_type« existiert nicht

SQL: SELECT page,ci.name,link_type from xowiki_references, cr_items ci where reference=1456296 and ci.item_id = page
while executing
"ns_pg_bind select nsdb0 {SELECT page,ci.name,link_type from xowiki_references, cr_items ci where reference=1456296 and ci.item_id = page}"
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec select $db $full_statement_name $sql"
invoked from within
"set selection [db_exec select $db $full_statement_name $sql]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
set selection [db_exec select $db $full_statement_name $sql]

set result [list]

while { [db_get..."
(procedure "db_list_of_lists" line 9)
invoked from within
"db_list_of_lists references "SELECT page,ci.name,link_type from xowiki_references, cr_items ci where reference=[my page_id] and ci.item_id = page""
(procedure "references" line 4)
::xotcl::__#0 ::xowiki::Page->references
invoked from within
"$page references"
invoked from within
"set references [$page references]"
("uplevel" body line 24)
invoked from within
"uplevel {
ad_page_contract {
view a wiki item

@author Gustaf Neumann (mailto:gustaf.neumann@wu-wien.ac.at)
@creation-date Oct 23, 2005
@cvs-i..."
(procedure "code::tcl::/www/unima0/packages/xowiki/www/view" 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 5)
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..."