Forum OpenACS Q&A: Re: AOLserver 4.5

Collapse
8: Re: AOLserver 4.5 (response to 1)
Posted by Gustaf Neumann on
i have made a brand new installation of the latest dotlrn 2.2.0* and AOLserver 4.5 and noticed a small incompatibility.

ns_startcontent in 4.5 requires to get the output encoding passed. in case, the type is set to "text/html", it complains that there is no output encoding specified. i made a fix to oacs 5-2 and head to add the default output encoding in case it is not provided to "ad_return_top_of_page" and "ReturnHeaders" (used on the apm pages).

With that fix it works with 4.0.10 and 4.5. continue testing.... might be worth to consider this for the forthcoming dotlrn release

Collapse
9: Re: Res: Re: AOLserver 4.5 (response to 8)
Posted by Jose Agustin Lopez Bueno on
Hi!

Thanks for the fix. I had detected that problem too.

The main problem I am having in my tests with AOLserver 4.5
is in the initialization of tcl modules (modules/*.tcl)
These files are not sourced. Moreover, I must set in the
config.tcl

ns_Section ns/server/myserver/tcl
ns_param initfile "$OPENACSDIR/tcl/0-acs-init.tcl"

for start OpenACS server. This behaviour is different
to 4.x.10.

Perhaps is a bad compilation / configuration of
my server?

Thanks,
Agustin

Collapse
Posted by Gustaf Neumann on
Hmm, i did not have a problem with that. I have used essentially the same config file as with aolserver 4.0.10. Here are the relevant parts:
set siteroot		    /usr/local/dotlrn-2.2.0/
set logroot		    ${siteroot}/log/
set pageroot                ${siteroot}/www

...

ns_section ns/server/${server}/tcl ns_param Library ${siteroot}/tcl ns_param autoclose on ns_param debug false