Forum .LRN Q&A: Re: Problems with dotLRN 2.2.0 upgrade

Collapse
Posted by Matthew Coupe on
Cheers for the response Emmanuelle,

That's the version I downloaded. I'll try again tomorrow but I definitely cannot create a class or community and get the error in both instances. In the clean install I don't have any classes and so can't try doing any assessments or such. the only thing I didn't install was xotcl as I had problems with that installation. Would this make a difference?

Here's the error for good measure. Any ideas what it could be referring to? A bad proc? db error? I'm not too hot on error reporting.

Cheers

bad variable name "af_to_sql(add_class_instance__active_start_date)": upvar won't create a scalar variable that looks like an array element
while executing
"global $name"
("to_sql" arm line 10)
invoked from within
"switch $flag {

key {
if { [info exists af_key_name($form_name)] } {
return -c..."
(procedure "ad_form" line 261)
invoked from within
"ad_form -name add_class_instance -form {
{term:integer(select)
{label "Term"}
{options $term_options}
{help_text "[_ dotlrn.Term_help..."
("uplevel" body line 35)
invoked from within
"uplevel {
#
# Copyright (C) 2001, 2002 MIT
#
# This file is part of dotLRN.
#
# dotLRN is free software; you can redistribute it and/or modi..."
(procedure "code::tcl::/var/lib/aolserver/dotlrn220/packages/dotlrn/w..." 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..."

Collapse
Posted by Emmanuelle Raffenne on
AFAIK, xotcl is only needed for chat package.

Sorry Matthew but I have no idea of what causes that error when creating a class.