Forum OpenACS Q&A: Error in Edit this Page

Collapse
Posted by David Lee on
I didn't alter anything yet...I don't know what I could've done wrong. I opened up the file, but I have no idea what the command "site_node" should be replaced with. Or is it just that I have missing commands?

Server Error

There was a server error processing your request. We apologize.

Take me back where I was (before the error)

invalid command name "site_node"
while executing
"site_node $parent_url"
invoked from within
"if { $site_node_url == "/" } {
# -100 is the magic number for the "root folder".
set folder_id -100
db_transaction {
db_dml set_folder_pa..."
("uplevel" body line 22)
invoked from within
"uplevel {
# /packages/edit-this-page/www/etp-setup-2.tcl

ad_page_contract {
@author Luke Pond (mailto:dlpond@pobox.com)
@creation-date 2001-0..."
(procedure "code::tcl::/var/lib/aolserver/tedle/packages/edit-this-page/..." 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 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 Michael Steigman on
What version of ETP/OpenACS are you using?
Collapse
Posted by David Lee on
I'm using 5.2 openACS and 5.1 ETP
Collapse
Posted by Michael Steigman on
ETP has been released for 5.2 (https://openacs.org/repository/5-2/). It's at version 1.8 now. Can you try with that version?