Forum OpenACS Q&A: Problem with init of .ini vars/values

Greetings,

openACS Apache RPMs(1.0.3), RedHat Linux 7.0

I noticed a post regarding the following error I am receiving when
executing bboard/index.tcl and looked into the problem.

registered_proc blew up --- backtrace follows:
expected boolean value but got ""
    while executing
"if { [bboard_pls_blade_installed_p] ||
[bboard_openacs_search_installed_p] } ...

I checked the ad.ini file:
UseOpenACSSearch=1
UsePLS=0

I commented the above offending if statement from bboard/index.tcl and
all was well.

I found the function defs for the above functions and the proc_doc for
the same. Any changes I made to the functions according to the
proc_doc made no difference.

The log/apache/error.log has entries:
Handling .ini file /etc/opt/openacs/ad.ini

This is the first tcl code I've played with. I tried "return 1" with
the above functions and got the same error.

Any assistance would be appreciated.

Collapse
Posted by Don Baccus on
Did you restart the server after changing the functions?  Changes to library functions don't take effect until you force resourcing of the library, and restarting the server's a handy way to force that...

Other than that, your subject line pretty much pinpoints the problem.  For some reason some the check routines are getting "" rather than "0" or "1" back from mod_aolserver when they check for the value.

As to why, I don't have a clue as I'm strictly an AOLserver/OpenACS kinda guy ... anyone else have any ideas?

Collapse
Posted by Daniel Stafford on
Yes to your question Don.
I really don't have a good reason to use Apache. I'm installing  AOLserver.
Thanks.