On Fri, Aug 01, 2003 at 11:05:27AM -0400, Jason Cook wrote: > [01/Aug/2003:10:37:47][1169.1][-main-] Error: > no current connection > while executing > "ns_conn outputheaders" > invoked from within > "ns_set put [ns_conn outputheaders] "AUTHOR" "Internet Services" > " > (file > "/servers/test/modules/tcl/test.tcl" line 1) > > host# cat test.tcl > ns_set put [ns_conn outputheaders] "AUTHOR" "Internet Services"
You've put your "test.tcl" file in the wrong place. Above, it looks like it's in a tcl library directory, which means it is getting sourced at AOLserver startup time by thread "main", which is NOT a connection thread, thus the "no current connection" error. You need to put test.tcl in your www/ directory instead, then hit "http://mysite.com/test.tc.l" to test it. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
