For some reason everytime I go to create a class or community i get this error.
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:
Selection did not return a value, and no default was provided
while executing
"db_string select {}"
(procedure "get_pretty_name" line 3)
invoked from within
"get_pretty_name -content_id $content_id"
invoked from within
"portal::add_element -portal_id $portal_id -portlet_name [static_portlet::get_my_name] -pretty_name [get_pretty_name -content_id $content_id] -forc..."
invoked from within
"set element_id [portal::add_element -portal_id $portal_id -portlet_name [static_portlet::get_my_name] -pretty_name [get_pretty_name -content_id $co..."
("uplevel" body line 6)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction {
# Generate the element, don't use add_element_parameters here,
# since it doesn't do the right thing for mult..."
(procedure "static_portal_content::add_to_portal" line 42)
invoked from within
"static_portal_content::add_to_portal -portal_id $portal_id -package_id [ns_set get $args "package_id"] -content_id [ns_set get $args "content_id"] ..."
(procedure "add_portlet_helper" line 3)
invoked from within
"add_portlet_helper $n_p_id $args"
(procedure "dotlrn_static::add_applet_to_community" line 31)
invoked from within
"dotlrn_static::add_applet_to_community $community_id"
(procedure "AcsSc.dotlrn_applet.addapplettocommunity.dotlrn_static" line 1)
invoked from within
"AcsSc.dotlrn_applet.addapplettocommunity.dotlrn_static 3275"
("uplevel" body line 1)
invoked from within
"uplevel $func_and_args"
(procedure "apply" line 3)
invoked from within
"apply $proc_name $arguments"
(procedure "acs_sc_call" line 6)
invoked from within
"acs_sc_call dotlrn_applet $op $list_args $applet_key"
(procedure "applet_call" line 2)
invoked from within
"applet_call $applet_key AddAppletToCommunity [list $community_id]"
invoked from within
"set package_id [applet_call $applet_key AddAppletToCommunity [list $community_id]]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {
set package_id [applet_call $applet_key AddAppletToCommunity [list $community_id]]
register_a..."
(procedure "dotlrn_community::add_applet_to_community" line 2)
invoked from within
"dotlrn_community::add_applet_to_community $community_id $applet_key"
("foreach" body line 3)
invoked from within
"foreach applet_key $default_applets_list {
if {[dotlrn_applet::applet_exists_p -applet_key $applet_key]} {
dotlrn_..."
("uplevel" body line 66)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {
set user_id [ad_conn user_id]
set community_id [package_instantiate_object -extra_vars $extra_vars $object_ty..."
(procedure "dotlrn_community::new" line 25)
invoked from within
"dotlrn_community::new -community_key $class_instance_key -description $description -community_type $class_key -object_type [community_type] -pret..."
invoked from within
"set community_id [dotlrn_community::new -community_key $class_instance_key -description $description -community_type $class_key -object_type [comm..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {
set community_id [dotlrn_community::new -community_key $class_instance_key -description $description -community_type $..."
(procedure "dotlrn_class::new_instance" line 14)
invoked from within
"dotlrn_class::new_instance -class_instance_key $class_instance_key -class_key $class_key -term_id $term -pretty_name $pretty_name -description $d..."
invoked from within
"if {[form is_valid add_class_instance]} {
form get_values add_class_instance class_key term pretty_name description join_policy add_instructor re..."
("uplevel" body line 55)
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::/usr/lib/aolserver4/servers/dotlrn-2-1/packages/d..." 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..."