Forum OpenACS Q&A: Response to ANN: dotLRN CVS Access Now Available

Collapse
Posted by Rich Graves on
Arjun: Yes, a cvs update fixed portal management.

Other problems I've noticed:

The rest of sloan-bboard seems to work, but both

/dotlrn/classes/History/HIST_150B/HIST_150B/forums/message-delete?forum_id=4939&message_id=4940

and

/dotlrn/classes/History/HIST_150B/HIST_150B/forums/message-mail?forum_id=4939&message_id=4940

die with

No script or template found for page 
'/web/dotlrn/packages/sloan-bboard/www/simple-message'
    while executing
"error "No script or template found for page '$__adp_stub'""
    (procedure "template::adp_parse" line 67)
    invoked from within
"template::adp_parse [template::util::url_to_file "simple-message" 
"$__adp_stub"] [list author "$quote(full_name)" title "[Fwd by 
${sender_email}] $q..."
    invoked from within
"append __adp_output [template::adp_parse 
[template::util::url_to_file "simple-message" "$__adp_stub"] [list 
author "$quote(full_name)" title "[Fwd by..."
    ("uplevel" body line 38)
    invoked from within
"uplevel {
          set __adp_output ""


    #
    #  Copyright (C) 2001, 2002 OpenForce, Inc.
    #
    #  This file is part of dotLRN.
    #
    #  do..."
    (procedure 
"template::code::adp::/web/dotlrn/packages/sloan-bboard/www/m..." 
line 2)
Also, this is probably a generic openacs installation/documentation bug, but
Request Errormkdir 
("/web/dotlrn/content-repository-content-files/50") failed:  no such 
file or directory
    while executing
"ns_mkdir [cr_fs_path]$path"
    (procedure "cr_create_content_file_path" line 13)
    invoked from within
"cr_create_content_file_path $item_id $revision_id"
    (procedure "cr_create_content_file" line 3)
    invoked from within
"cr_create_content_file $file_id $revision_id $local_filename"
    (procedure "bboard_attach_file" line 24)
    invoked from within
"bboard_attach_file -message_id $message_id -file_id $file_id  
-short_filename $base_filename -local_filename $full_filename 
-mime_type $guessed_file_t..."
    invoked from within
"if { $file_ext == "jpeg" || $file_ext == "jpg" || $file_ext == 
"gif" } {
        set image_size [bboard_image_size $file_ext $upload_file]
Upon creating the base content-repository-content-files directory and resubmitting the request, I get
Request Errorora8.c:3908:ora_tcl_command: error in `OCIStmtExecute 
()': ORA-01745: invalid host/bind variable name

SQL: 
      
        update cr_revisions
        set filename = :filename,
            content_length =  !>>>!size
        where revision_id = :revision_id
      
      
    while executing
"ns_ora dml nsdb0 {
      
        update cr_revisions
        set filename = :filename,
            content_length = :size
        where revision_id = :revision_id
      
      ..."
    ("uplevel" body line 1)
    invoked from within
"uplevel $ulevel [list ns_ora $type $db $sql] $args"
    invoked from within
"db_exec dml nsdb0 
dbqd.sloan-bboard.tcl.bboard-procs.bboard_attach_file.set_content_size 
{}"
    ("eval" body line 1)
    invoked from within
"eval [list db_exec $command $db $full_statement_name $sql] 
$lob_argv"
    invoked from within
"if { $lob_argc == 1 } {
            # Bind :1, :2, ..., :n as LOBs (where n = [llength 
$lob_argv])
            set bind_vars [list]
            for { set i 1 } { $i <= [ll..."
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle db {
        if { $lob_argc == 1 } {
            # Bind :1, :2, ..., :n as LOBs (where n = [llength 
$lob_argv])
            set bind_vars [list]
            for { ..."
    (procedure "db_dml" line 35)
    invoked from within
"db_dml set_content_size """
    (procedure "bboard_attach_file" line 27)
    invoked from within
"bboard_attach_file -message_id $message_id -file_id $file_id  
-short_filename $base_filename -local_filename $full_filename 
-mime_type $guessed_file_t..."
    invoked from within
"if { $file_ext == "jpeg" || $file_ext == "jpg" || $file_ext == 
"gif" } {
        set image_size [bboard_image_size $file_ext $upload_file]
        set width [lindex..."
    ("uplevel" body line 6)
    invoked from within
"uplevel 1 $transaction_code "
    (procedure "db_transaction" line 1)
    invoked from within
"db_transaction {

    # check for and add MIME types missing from cr mime types table
    bboard_check_and_register_mime_type $guessed_file_type

    ..."
    ("uplevel" body line 66)
    invoked from within
"uplevel {
          #
#  Copyright (C) 2001, 2002 OpenForce, Inc.
#
#  This file is part of dotLRN.
#
#  dotLRN is free software; you can redistribute it..."
    (procedure 
"code::tcl::/web/dotlrn/packages/sloan-bboard/www/message-att..." 
line 2)