Forum OpenACS Q&A: Response to Vlad's ATS giving me problems

Collapse
Posted by Patrick Giagnocavo on
Yes, here is what I get when I attempt to view the "hello"
example. I typed it by hand, so formatting is screwed up.

An internal error occurred while preparing a template
/demo/hello:

can't read "code": no such variable
while executng
"proc ::template::code::$type::$file_stub {} "
uplevel {
$code
}
""
(procedure "template::adp_init "line 29)
invoked from within
"template::adp_init $template_extension $__adp_stub"
(procedure "template::adp_parse" line 59)
invoked from within
"template::adp_parse $file_stub {}"

Environment:  mod_aolserver, with Tcl 8.3.2, on a completely
CLEAN install (no ACS, nothing else).

Entry from nsd.tcl :

ns_section "ns/server/acs/modules"
ns_param ats Tcl

ns_section "ns/server/acs/ats"
ns_param ResourcePath  /var/www/tcl_modules/ats/resources

Error from the error_log file:

[notice] [client 127.0.0.1] [uri: /demo/hello.acs] //demo/hello

Hope this helps, and thank you for  offering to help me figure this
out.