Forum OpenACS Q&A: error mounting Wiki package

Collapse
Posted by Ben Koot on
Server Error
Hi folks,

I tried to mount wiki, but got this error message. Any idea what's wrong?

Thanks
Ben

There was a server error processing your request. We apologize.

Here is a detailed dump of what took place at the time of the error, which may assist a programmer in tracking down the problem:

syntax error in expression "$package_id eq """
("if" test expression)
while compiling
"if {$package_id eq ""} {
if {[ad_conn -connected_p]} {
set package_id [ad_conn package_id]
} else {
return ""
..."
(compiling body of proc "wiki::get_folder_id", line 5)
invoked from within
"wiki::get_folder_id"
invoked from within
"set folder_id [wiki::get_folder_id]"
("uplevel" body line 18)
invoked from within
"uplevel {
ad_page_contract {

} -query {
edit:optional
revision_id:optional
}

#
#
# Show or edit wiki pages
#
# @author Dave Bauer (d..."
(procedure "code::tcl::/var/lib/aolserver/newinstance/packages/wiki/lib/..." 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 $path"
(procedure "rp_internal_redirect" line 26)
invoked from within
"rp_internal_redirect /packages/wiki/lib/page
"
(file "/var/lib/aolserver/newinstance/packages/wiki/www/index.vuh" line 1)
invoked from within
"source [ad_conn file]"
(procedure "rp_handle_tcl_request" line 3)
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..."

Collapse
Posted by Gustaf Neumann on
It looks like you are using a tcl version prior to
8.4 (this is out since three years). If so, an upgrade
should help.