Forum OpenACS Q&A: Config.-Problem: Admin can't create items (blog entry, news item etc.)

hello,

i'm still new to openacs but quite excited about working with it. after successfully installing openacs 4.6.1 (postgresql 7.2.4 / freebsd 4.8rc1) i am now running into errors when trying to build my site by mounting packages (i.e. lars-blogger, bboard, news)

i add a new subfolder to / in the sitemap (i.e. "blog/") with an instance name ("blog"), and add an application ("lars-blogger")

when i then access the site from another browser (as another user) at

http://knox.berlin.tomster.org:8000/blog/

i get a message that there aren't any entries (which is to be expected) which tells me that the mount was in principal successful.

However when i access /blog/ (/forum/ resp. /news/) as admin and click on 'add entry/news/' i get (in the case of the forum) the following output

Request Error

invalid command name "dt_widget_datetime"
    while executing
"dt_widget_datetime -default now publish_date days"
    invoked from within
"set publish_date_select [dt_widget_datetime -default now publish_date days]"
    ("uplevel" body line 42)
    invoked from within
"uplevel {
          # /packages/news/www/item-create.tcl

ad_page_contract {

    This page enables registered users and the news-admin
    to enter new..."
    (procedure "code::tcl::/usr/home/tomster/web/noms/packages/news/www/item..." 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 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_inf..."

the other messages are very similar. especially, they all contain the snippet "# ensure that data source preparation procedure exists and is up-to-date"

is there anything i missed when adding the packages? i even (temporarily) made the site-folders world-writable (as i am not sure in which group aolserver runs) but it hasn't made a difference.

any suggestions?

thanks for your time!

kind regards,

tom

You need to restart AOLserver after mounting and installing packages.

Not all packages require this, and sometimes you can trick things so you don't have to do so, but it's easiest to just do so at least until you're more comfortable with the toolkit.

Collapse
Posted by Tom Lazar on
Thanks, Don. I am now the proverbial "Happy Camper" and will spend the next days evaluating the various packages...

I'm already thinking about going to copenhagen next month 😉

kind regards,

tom