Hi Hugo

First of all 2.0.6 is deprecated: we recommend you move on to 2.1.4 or 2.2.0

On 10/17/2014 12:04 PM, Hugo Meyer wrote:
Hi,
I know it is uncool to post things of this nature here but there seems
to be no other way.
This script (which is the catch all "error" script), when invoked by
putting a deliberate error in another script displays the output below:
puts {
<HTML>
<HEAD>
<TITLE>Blank</TITLE>
</HEAD>
<BODY nowrap="nowrap"
       bgproperties="fixed">}
puts "An Error Occured"
puts "Rivet Package version: [package require Rivet] "
puts {
</BODY>
</HTML>
}
Output: "An Error Occured Rivet Package version: 1.1 "
Question 1: Is that 1.1 correct in spite of this:

yes, it's correct. Only recently we bound the Rivet package version (which is an internal core package) to the module version

$ locate rivet
/etc/httpd/conf.d/mod_rivet.conf
/usr/lib64/apache2-mod_rivet2.0.6
/usr/lib64/apache2-mod_rivet2.0.6/README
/usr/lib64/apache2-mod_rivet2.0.6/init.tcl
/usr/lib64/apache2-mod_rivet2.0.6/librivet.so
...
But, the real question is this: How do I get the GET variables passed to
the page/script?
Attempts at using ::rivet::var or var for instance just results in failure.
What am I missing here? Do I need to put things at the top of the script
to get this to work?
Thanks for reading this far.

In 2.0.6 commands were available only at the global scope, so 'var' should work (and not ::rivet::var), if it doesn't I think either there is a problem with your installation or you're misusing the command (I'm just trying to guess)

Did you specify a subcommand?

 var exits <varname>
 var get   <varname>

If you send the error message you get when a script hits the var command that would help.
        
 -- Massimo


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to