I tried to change the template of mainsite to the old tabbed and now i am not able to access any page because of an API error.
I see 2 solutions. Those are very critical
1. do a new fresh install and never select old tabbed anymore.
2. use the latest database dump. set down aolserver, dropdb, createdb, import db "psql -f..." and restart aolserver.
3. go through the code "ARRRGGG" and fix the problem.
How do i fix it?
[06/May/2009:18:33:42][19682.3040766896][-conn:openacs::0] Error: rp_report_error: Error rendering error page (!)
invalid command name "subsite::portal_navbar"
while executing
"subsite::portal_navbar"
invoked from within
"set navbar [subsite::portal_navbar]"
("uplevel" body line 156)
invoked from within
"uplevel {
# Expects properties:
# doc(title)
# focus
# head
# section
# subnavbar_link
#
# Allowed properties
# skip_link, href of link to..."
(procedure "code::tcl::/web/openacs/packages/acs-subsite/www/group-maste..." 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 $__adp_master [concat [list __adp_slave $__adp_output] [array get __adp_properties]]"
invoked from within
"template::adp_parse /web/openacs/packages/acs-tcl/lib/page-error {stacktrace invalid\ command\ name\ \"subsite::portal_navbar\"\n\ \ \ \ while\ execut..."
("uplevel" body line 1)
invoked from within
"uplevel [list template::adp_parse [template::util::url_to_file $template [ad_conn file]] $template_params]"
(procedure "ad_parse_template" line 15)
invoked from within
"ad_parse_template -params $params "/packages/acs-tcl/lib/page-error""
invoked from within
"set rendered_page [ad_parse_template -params $params "/packages/acs-tcl/lib/page-error"]"
("uplevel" body line 2)
invoked from within
"uplevel $body "