I've got an instance of acs-subsite mounted at /subsite. Under it I've got forums, news, etc moutned at /subsite/forums, /subsite/news etc. That all works fine.
I want to customize the page returned at /subsite. In addition to the normal behavior of listing the nodes mounted under /subsite, there are a few other things I need.
So I created a directory /www/subsite and copied the index* files from /packages/acs-subsite/www into it. The intent was to start from there and customize.
The problem is that even before I begin doing any customization, it bombs---the sql queries, which work fine normally, don't work when I copy the files over. Here's the top of the error trace:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
while executing
"ns_pg_bind 0or1row nsdb0 {
select acs_object.name(:package_id) from dual
}"
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql"
invoked from within
"db_exec 0or1row $db $full_name $sql"
invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
("uplevel" body line 2)
invoked from within
I'll add that the query works fine if I go into psql and type it in by hand. I'm using the 4.6 release code.