Forum OpenACS Q&A: Re: Glossary content dissapears

Collapse
Posted by Samir Joshi on
Ben,

I know this was a bug in glossary - terms expire after 2 days. Terms are there but not displayed as the code considers them as expired...

AFAIK, it was fixed - what is the OACS version / Database you are using ?

Collapse
Posted by Lokman Tsui on
I have the exact same problem with glossary.
I have been using OACS 4.6 and postgres 7.2.2

In addition, when I try to change the status of an existing term from live to, let's say, production, I get the following error message (upon reload and despite the error, the status of the specific term *is* changed from live to production)

---

can't read "mime_type": no such variable
    while executing
"ad_html_text_convert -from $mime_type -- $definition"
    invoked from within
"set html_definition [ad_html_text_convert -from $mime_type -- $definition]"
    ("uplevel" body line 88)
    invoked from within
"uplevel {
          # glossary/www/term.tcl

ad_page_contract {
    the ACS 4 Glossary Package based on the glossary module written by Philip Greenspun (..."
    (procedure "code::tcl::/web/openacs-4/packages/glossary/www/term" 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..."