Hi,

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   =>
2|16|256|2048|8192|16384|1048576,
                                  mtime     => -M $file,
                                  param     => [EMAIL PROTECTED],
                                  fdat      => \%fdat,
                                  ffld      => [EMAIL PROTECTED],
                                  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 12.104.10.143] Can't locate
object method "setup_component" via package "Embperl::__2" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Embperl/Object.pm
line 349., referer: http://xxx.com/company/contact_us.html

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 Embperl.so
in my httpd.conf file. e.g.
LoadModule embperl_module
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl.
so

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

Thanks,
ted



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to