Hummmm....
Check: /aolserver/modules/tcl/file.tcl
It would seem like your procedures are registered but that your errorPage
variable is never set.
A quick fix may be to change the line:
if { $errorPage == "" } {
to
if {![info exists errorPage] || ($errorPage == "") } {
> Date: Mon, 22 Aug 2011 08:58:26 -0500
> From: [email protected]
> Subject: [AOLSERVER] Tcl error
> To: [email protected]
>
> Hi,
>
> When I run this code to show a web page (or any code that shows a web page):
>
> ns_log Notice "TEST"
> set data "<html>
>
> <head>
>
> <title>Server 14</title>
>
> </head>
>
> <body>
>
> <h1>Server 14</h1>
>
> </body>
>
> </html>
>
> "
>
> ns_return 200 text/html "$data"
>
>
>
> I get this error:
>
> [22/Aug/2011:08:49:49][9181.3056597920][-conn:272-] Notice: TEST
> [22/Aug/2011:08:49:49][9181.3056597920][-conn:272-] Error: Tcl exception:
> can't read "errorPage": no such variable
> while executing
> "if { $errorPage == "" } {
> return -code $code -errorcode $errorCode -errorinfo $errorInfo
> $result
> } else {
> ## Custom error page -- unfortun..."
> (procedure "ns_sourceproc" line 28)
> invoked from within
> "ns_sourceproc cns6144 {}"
> [22/Aug/2011:08:51:49][9181.3056597920][-conn:272-] Notice: exiting: timeout
> waiting for connection
>
>
> I am running AOLserver 4.5.0 with Tcl 8.4
>
> Can anyone point me in the right direction on this?
>
> Thanks,
>
> Thorpe
>
> Thorpe Mayes
> [email protected]
> 405.514.9753
>
>
> --
> 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.
--
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.