perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Ede" <>
Subject Problem with Object::Execute
Date Thu, 26 Feb 2004 15:54:16 GMT

Our website it Embperl based.  I've just upgraded from Apache 1.3 to 2.0.46
as part of an upgrade to Redhat Enterprise linux.  I've got
mod_perl-1.99_09-10.ent and Embperl b10 installed.  For the most part, the
website works fine, but I can't get Execute to work properly.

I've got a cgi script as a post action of  a web form.  The script runs
fine, and I can examine the parameters.  At the end of the script I either
send them to a thank_you page or back to my contact page.  If the latter I
pass parameters to the page so the page can highlight the required and
missing fields.

When I call:
 Embperl::Object::Execute({ inputfile => $file,
                                  output    => \$result,
                                  options   =>
                                  mtime     => -M $file,
                                  param     => [@params],
                                  fdat      => \%fdat,
                                  ffld      => \@ffld,
                                  debug     =>  0,
                                  escmode   => 7,
                                  object_handler_class => 'no',
                                  session_handler_class => 'no',
                                  object_base => 'wrapper.tmpl',
                                  appname => 'foo'

I get the following in my apache error log:

[Wed Feb 25 19:53:20 2004] [error] [client] Can't locate
object method "setup_component" via package "Embperl::__2" at
line 349., referer:

The embperl.log show the process is kicked off, and is reading both $file
and wrapper.tmpl, but does offer any other info that appear relevant.

A clue that may be related...  I had to fully specify the path to
in my httpd.conf file. e.g.
LoadModule embperl_module

Is it possible that I need to specify it for the Execute command.  If so,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message