You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by st...@btinternet.com on 2001/10/18 20:22:41 UTC

Problem with HTML-Embperl Sessions (MD5 hexhash?)

Hi

I wonder if someone can help me please. I have upgraded from Mandrake 8.0 to Mandrake 8.1 which and ever since embedded perl sessions are causing a problem.

I add the following lines to httpd-perl.conf:

PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:webdata UserName=mgmtsesh69"
PerlModule HTML::Embperl

and after doing so - every request made to an embedded perl page results in the following error in the error log:

[error] Can't locate object method "hexhash" via package "MD5" (perhaps you forgot to load "MD5"?) at /usr/lib/perl5/site_perl/5.6.1/i386-linux/HTML/Embperl.pm line 1696

Here are the versions:
Apache 1.3.20
mod_perl 1.25_01
perl 5.6.1
HTML-Embperl 1.3.3
Apache-Session 1.53

Prior to upgrading Mandrake from 8.0 to 8.1 I was running:
Apache 1.3.19
mod_perl 1.25
perl 5.6.0
HTML-Embperl 1.3.1
Apache-Session 1.53

Any help would be much appreciated
Regards
Steve Fawcett

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Problem with HTML-Embperl Sessions (MD5 hexhash?)

Posted by Gerald Richter <ri...@ecos.de>.
>
> PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:webdata
UserName=mgmtsesh69"
> PerlModule HTML::Embperl

Normaly MD5 should be loaded by Apache::Session, but maybe it isn't anymore.
Try to add

PerlModule MD5

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Problem with HTML-Embperl Sessions (MD5 hexhash?)

Posted by Angus Lees <gu...@switchonline.com.au>.
On Thu, Oct 18, 2001 at 07:22:41PM +0100, steve.fawcett1@btinternet.com wrote:
> [error] Can't locate object method "hexhash" via package "MD5" (perhaps you forgot to load "MD5"?) at /usr/lib/perl5/site_perl/5.6.1/i386-linux/HTML/Embperl.pm line 1696

perhaps MD5.pm isn't installed?

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org