[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] MD5 - hexhash
****** message to minivend-users from "Peter Hellman" <PHELLMAN@brain.syh.fi> ******
Hi!
I´ve got a problem as follows:
I´m running Minivend 3.14 and to my catalog.cfg I´ve added:
...
UserTag md5hash Interpolate
UserTag md5hash HasEndTag
UserTag md5hash Routine <<EOF
sub {
my $val = shift;
my $hash = MD5->hexhash($val);
return $hash;
}
EOF
.....
This routine is used in several pages, it can look like this:
....
[set name=kund_hash interpolate=1][caps interpolate=1]
[md5hash interpolate=1][scratch Nyckel][/md5hash][/caps][/set]
.....
This is working like a dream!
Now I´m trying to upgrade to 4.04 on the very same server ....
... and my thing doesn´t want to play along at all.
The minivend server log says:
[22/November/2000:12:31:42 +0200] botnia
/cgi_bin/botnia.cgi/multi/kultaraha1.html Runtime error: Can't locate
object method "hexhash" via package "MD5" at (eval 106) line 4.
What´s gone wrong. Is it something in the very root of mininvend
3.14 and 4.04. I have tried to solve it on my own, but I`m only
banging my head against the walls, please help!
Peter Hellman
- Today is the first day of the rest of your life. -
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list