Re: [AOLSERVER] Tcl error

2011-08-23 Thread Peter Sadlon

Without seeing your config file and the file.tcl file mentioned previously it 
is impossible to determine why.


But the place to start looking is the config file or  
/aolserver/modules/tcl/file.tcl
The error is not in YOUR .tcl file.  The file  
/aolserver/modules/tcl/file.tcl
 has functions which process any .tcl request, and that is where the error is 
being thrown. 



Date: Mon, 22 Aug 2011 20:50:26 -0500
From: tma...@ecognizant.com
Subject: Re: [AOLSERVER] Tcl error
To: AOLSERVER@LISTSERV.AOL.COM



Hi Peter,
Thanks for the response.
I did not make myself clear. My question is:
Why is there an error at all? This file is about as simple as it gets, yet 
there is an error. 
My sense is that I am missing something or something is broken. 
Thanks,
Thorpe

On Aug 22, at (Aug 22) 10:02 AM, Peter Sadlon wrote:Hu



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: tma...@ecognizant.com
 Subject: [AOLSERVER] Tcl error
 To: AOLSERVER@LISTSERV.AOL.COM
 
 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 
 titleServer 14/title 
 /head 
 body 
 h1Server 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
 tma...@ecognizant.com
 405.514.9753
 
 
 --
 AOLserver - http://www.aolserver.com/
 
 To Remove yourself from this list, simply send an email to 
 lists...@listserv.aol.com 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 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Thorpe Mayestmayes@ecognizant.com405.514.9753




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com 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 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


[AOLSERVER] Tcl error

2011-08-22 Thread Thorpe Mayes
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  

titleServer 14/title

/head 

body  

h1Server 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
tma...@ecognizant.com
405.514.9753


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Tcl error

2011-08-22 Thread Peter Sadlon

Hu



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: tma...@ecognizant.com
 Subject: [AOLSERVER] Tcl error
 To: AOLSERVER@LISTSERV.AOL.COM
 
 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
   
 titleServer 14/title  
   
 /head   
   
 body
   
 h1Server 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
 tma...@ecognizant.com
 405.514.9753
 
 
 --
 AOLserver - http://www.aolserver.com/
 
 To Remove yourself from this list, simply send an email to 
 lists...@listserv.aol.com 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 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Tcl error

2011-08-22 Thread Rusty Brooks
I don't really see why there's an error either.  But if you fix the problem 
that is masking the error reporting, you'll have a much better chance of 
finding out.

Rusty

On Aug 22, 2011, at 8:50 PM, Thorpe Mayes wrote:

 Hi Peter,
 
 Thanks for the response.
 
 I did not make myself clear. My question is:
 
 Why is there an error at all? This file is about as simple as it gets, yet 
 there is an error. 
 
 My sense is that I am missing something or something is broken. 
 
 Thanks,
 
 Thorpe
 
 
 On Aug 22, at (Aug 22) 10:02 AM, Peter Sadlon wrote:
 
 Hu
 
 
 
 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: tma...@ecognizant.com
  Subject: [AOLSERVER] Tcl error
  To: AOLSERVER@LISTSERV.AOL.COM
  
  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 
  titleServer 14/title 
  /head 
  body 
  h1Server 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
  tma...@ecognizant.com
  405.514.9753
  
  
  --
  AOLserver - http://www.aolserver.com/
  
  To Remove yourself from this list, simply send an email to 
  lists...@listserv.aol.com 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 
 lists...@listserv.aol.com with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
 field of your email blank.
 
 Thorpe Mayes
 tma...@ecognizant.com
 405.514.9753
 
 
 
 
 --
 AOLserver - http://www.aolserver.com/
 
 
 To Remove yourself from this list, simply send an email to 
 lists...@listserv.aol.com 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 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.