This only happens with the CVS installation. I have no problems when I add new users when I install .LRN from the tarball.
The problems is when I go to Administration to add a new user. I always get this error on the screen:
Error in include template "/home/dotlrn/dotlrn/packages/acs-subsite/lib/user-new": Transaction aborted: unsupported or invalid url ''
And in the error.log file I get:
[26/Nov/2009:12:43:04][14218.1108695376][-conn:4-] Error: Error in include template "/home/dotlrn/dotlrn/packages/acs-subsite/lib/user-new": Transaction aborted: unsupported or invalid url ''
unsupported or invalid url ''
while executing
"error "unsupported or invalid url '$url'""
(procedure "parse_url" line 11)
::xotcl::__#0 ::xo::HttpCore->parse_url
invoked from within
"my parse_url"
(procedure "init" line 8)
invoked from within
"next "
(procedure "init" line 42)
::xotcl::__#0 ::xo::HttpRequest->init
::xo::HttpRequest ::xotcl::Class->create
::xo::HttpRequest ::xotcl::Class->new
invoked from within
"::xo::HttpRequest new -content_type "text/xml; charset=utf-8" -url $my_endpoint -post_data $soap_msg -request_header_fields [list SOAPAction $my_e..."
(procedure "um::request" line 13)
invoked from within
"um::request -action $my_action -docroot $docroot -nodes $nodes_list -values $values_list"
(procedure "::callback::authentication::user_new::impl::um-client" line 13)
invoked from within
"::callback::authentication::user_new::impl::um-client -user_id 2441 -username mailto:lnieto@udc.es -first_names Laura -last_name Nieto -screen_name laura -em..."
("uplevel" body line 1)
invoked from within
"::uplevel 1 $procname $args"
invoked from within
"callback authentication::user_new -user_id $user_id -username $username -first_names $first_names -last_name $last_name -screen_name $screen_name..."
("ok" arm line 4)
invoked from within
"switch $creation_info(creation_status) {
ok {
# Continue below
# Raise event
..."
invoked from within
"if {$creation_info(creation_status) eq "ok"} {
# Need to find out which username was set
set username $creation_info(username)..."
("uplevel" body line 16)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction {
array set creation_info [auth::create_local_account -user_id $user_id -authority_id $authority_id -username $username -ar..."
(procedure "auth::create_user" line 32)
invoked from within
"auth::create_user -user_id $user_id -verify_password_confirm -username $username -email $email -first_names $first_names -last_name $last_name ..."
invoked from within
"array set creation_info [auth::create_user -user_id $user_id -verify_password_confirm -username $username -email $email -first_names $first_names..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 39)
invoked from within
"db_transaction {
array set creation_info [auth::create_user -user_id $user_id -verify_password_confirm -username $username -email $email ..."
("uplevel" body line 3)
invoked from within
"uplevel #$level $on_submit"
("1" arm line 1)
invoked from within
"switch $errno {
0 {
# TCL_OK
}
1 {
# TCL_E..."
(procedure "ad_form" line 640)
invoked from within
"ad_form -extend -name register -on_request {
# Populate elements from local variables
} -on_submit {
db_transaction {
array ..."
("uplevel" body line 85)
invoked from within
"uplevel {
# Expects parameters:
#
# self_register_p - Is the form for users who self register (1) or
# for administrators who..."
(procedure "code::tcl::/home/dotlrn/dotlrn/packages/acs-subsite/lib/user..." 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"
invoked from within
"template::adp_parse [template::util::url_to_file "/packages/acs-subsite/lib/user-new" "$__adp_stub"] [list next_url "[lang::util::localize ${next_url}..."
Thanks to everybody