Forum .LRN Q&A: Dotlrn upgrade loses portal layout

Collapse
Posted by Matthew Coupe on
Hi,

When I upgrade to dotLRN 2.3.1 from 2.2.0 I lose my portal layouts in communities and classes with the Zen theme. On the first page from the navigation bar the community it shows me the full dotlrn listing for the user and on other pages I get an error message (see below)

Is this related to:
https://openacs.org/bugtracker/openacs/bug?bug_number=2717

Thanks for any help.

The error:
Query did not return any rows.
while executing
"db_1row portal_select {} -column_array portal"
(procedure "portal::render" line 16)
invoked from within
"portal::render -page_num $page_num -hide_links_p $hide_links_p -render_style $render_style $portal_id"
(procedure "dotlrn::render_page" line 3)
invoked from within
"dotlrn::render_page -page_num $page_num -hide_links_p t $portal_id"
invoked from within
"set rendered_page [dotlrn::render_page -page_num $page_num -hide_links_p t $portal_id]"
("uplevel" body line 65)
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 it u..."
(procedure "code::tcl::/var/lib/aolserver/nccedudotlrn/packages/dotlrn/w..." 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 [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
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..."

Collapse
Posted by Matthew Coupe on
I've had a further lok at this and it seems that the portal layout is lost for all of the themes, not just the Zen Theme.

Has anyone else come accross this problem before?