Forum OpenACS Q&A: help..

Collapse
Posted by yi jongwook on
Request Error

invalid command name "dotlrn_community::get_community_id"
    while executing
"dotlrn_community::get_community_id"
    invoked from within
"set community_id [dotlrn_community::get_community_id]"
    ("uplevel" body line 49)
    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 modify..."
    (procedure "code::tcl::/web/dotlrn/packages/dotlrn/www/dotlrn-master" 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 $__adp_master  [concat [list __adp_slave $__adp_output] [array get __adp_properties]"
    (procedure "template::adp_parse" line 67)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    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([ad_conn url]) [ad_conn path_..."

help me please...

Collapse
2: Re: help.. (response to 1)
Posted by Nagita Karunaratne on
With what you have given, there seems to be some problem locating the function 'dotlrn_community::get_community_id'.
Collapse
3: Re: help.. (response to 1)
Posted by Don Baccus on
It looks to me as though you've installed .LRN but haven't actually installed the dotlrn package.

Where did you get your sources?  CVS or via one of our release tarballs?

Collapse
4: Re: help.. (response to 3)
Posted by yi jongwook on
thanks anser for question ,nagita,don

but i don't know this problem

source is dotlrn.tar.gz

i guess reinstall .LRN to new source

where is /dotlrn/install.xml file ?

Collapse
5: Re: help.. (response to 1)
Posted by Nagita Karunaratne on
The install.xml file should be in the applications root directory (ie. /var/lib/aolserver/service0) and the backup copy in the dotlrn package directory. It installs some dotlrn applications and sets some kernel parameters. If you haven't changed the code, reinstallation is the simplest solution.