I'm receiving email messages from OpenACS describing errors in my
ad.tcl file, I believe, based on Don's previous posting. Here is the
message I get:
Errors since 08/Sep/2000:11:37:50
[08/Sep/2000:11:37:58]
Error: can't use non-numeric string as operand of "&&"
can't use non-numeric string as operand of "&&"
while executing
"if {! $webmail_queue_processing_enabled_p && [ad_parameter
WebmailEnabledP webmail
0] } {
ns_share wm_queue
set wm_queue(processingP) 0
..."
(file "/web/intranet/tcl/webmail-defs.tcl" line 162)
Notice: tclinit: sourcing '/web/intranet/tcl/wp-defs.tcl'
Don says
here:
It sounds like something's not set up properly in your
version of ad.tcl, or that it's not being sourced by your
nsd.tcl file when you fire up AOLserver.
The "non-numeric arg to &&" error is an indication that a
blank was returned when it tried to pick up a value using
ad_parameter, leading to a statement like 'if { "" && something }"
or 'if { $something && "" }'.
Question: how do I find the blank? I've looked in webmail, which looks
like a likely culprit, and it's exactly the same as the original
ad.tcl Anywhere else I can look? The source doesn't seem to point me
where it is..