Forum OpenACS Development: can't read "host_map_https_port": no such variable

I got this error message after i installed openacs from HEAD

I am locked out of the system
i wonder what is wrong and where to fix. I didnt find any reference of that variable at file packages/acs-subsite/lib/login.tcl

[04/Jan/2010:11:14:58][2303.3030039472][-default:4-] Error: Error in include template "/usr/local/aolserver/servers/openacs/packages/acs-subsite/lib/login": can't read "host_map_https_port": no such variable
can't read "host_map_https_port": no such variable
while executing
"lappend locations "https://${hostname}${host_map_https_port}"";
(procedure "security::locations" line 119)
invoked from within
"security::locations"
(procedure "util::external_url_p" line 2)
invoked from within
"util::external_url_p $return_url"
("uplevel" body line 67)
invoked from within
"uplevel {
# Present a login box
#
# Expects:
# subsite_id - optional, defaults to nearest subsite
# return_url - optional, defaults to Your Accoun..."
(procedure "code::tcl::/usr/local/aolserver/servers/openacs/packages/acs..." line 2)
invoked from within
"code::tcl::$__adp_stub"
("uplevel" body line 12)
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

Collapse
Posted by Dave Bauer on
Don just fixed this in CVS. Please update.
Collapse
Posted by Iuri Sampaio on
i downloaded acs-subsite from HEAD and the error still remains
Collapse
Posted by Iuri Sampaio on
okay i got it work with acs-kernel or acs-tcl. I don't know which one, I downloaded both and used them at once.

Problem solved

Collapse
Posted by Iuri Sampaio on
Don,

any chance you tell what was the error?

Iuri,

I am to blame:

http://cvs.openacs.org/cvs/openacs-4/packages/acs-tcl/tcl/security-procs.tcl?r1=1.57&r2=1.58

Don fixed.

I neglected to initialize a variable in the appropriate context for all cases.

Happy New Year!

Torben