Each Tcl block is parsed individually. As such, they need to be self
contained. Your best bet is to do something along the lines of:
div
%
if {[call_tcl_proc_here]} {
ns_adp_puts The result is 1br
} else {
ns_adp_puts The result is 0
}
On 2005.06.25, Razvan Musaloiu-E. [EMAIL PROTECTED] wrote:
I just tried everything on another machine and I got the same error. I
compiled the TCL 8.4.9 and AOLserver 4.0.10 and I started the server with
the sample-config.tcl with this command:
bin/nsd -ft sample-config.tcl
Then I put
On 2005.06.25, Razvan Musaloiu-E. [EMAIL PROTECTED] wrote:
Hi!
On Fri, 24 Jun 2005, patrick o'leary wrote:
Last time i saw that error was when i forgot what i was working on and
started using ? instead of %
That's was also my mistake. :|
Thank's everyone for their time. I'm sorry for
Hi Razvan,
does the default configuration work for you (instead of fancy)?
Is the adp extension mapped for the server? (should be default)
ns_section ns/server/${servername}/adp
ns_param map /*.adp ;# Extensions to parse as ADP's.
Regards,
Bernd.
--
AOLserver -
Hi!
On Fri, 24 Jun 2005, Bernd Eidenschink wrote:
Hi Razvan,
does the default configuration work for you (instead of fancy)?
Nope. :-(
Is the adp extension mapped for the server? (should be default)
Yes, it is. That part looks like this:
# ADP (AOLserver Dynamic Page) configuration
#
On 2005.06.24, Razvan Musaloiu-E. [EMAIL PROTECTED] wrote:
No matter what I did I still get the raw .adp file. :| Does anyone
encounter this problem before? Is there a way to debug this?
Could you try using the sample-config.tcl _completely unmodified_ ?
How are you starting the nsd -- cut and
Razvan Musaloiu-E. wrote:
No matter what I did I still get the raw .adp file. :| Does anyone
encounter this problem before? Is there a way to debug this?
Just out of curosity are you entering the .adp on the end of your file
name? i.e. are you entering http://mysite/index.adp or just
Hi!
On Fri, 24 Jun 2005, Trenton Cameron wrote:
Razvan Musaloiu-E. wrote:
No matter what I did I still get the raw .adp file. :| Does anyone
encounter this problem before? Is there a way to debug this?
Just out of curosity are you entering the .adp on the end of your file
name? i.e.
Hi!
On Fri, 24 Jun 2005, Dossy Shiobara wrote:
On 2005.06.24, Razvan Musaloiu-E. [EMAIL PROTECTED] wrote:
No matter what I did I still get the raw .adp file. :| Does anyone
encounter this problem before? Is there a way to debug this?
Could you try using the sample-config.tcl _completely
Last time i saw that error
was when i forgot what i was working on and started using ? instead
of %
but check your config file to ensure
ns_section "ns/server/${servername}/adp"
ns_param map "/*.adp"
is there
P
Razvan Musaloiu-E. wrote:
Hi!
On Fri, 24 Jun 2005, Trenton Cameron wrote:
Hi!
On Fri, 24 Jun 2005, patrick o'leary wrote:
Last time i saw that error was when i forgot what i was working on and
started using ? instead of %
That's was also my mistake. :|
Thank's everyone for their time. I'm sorry for wasting your time. :-(
--
Razvan ME
but check your config file
11 matches
Mail list logo