Has anyone else gone through the process of upgrading an EmbperlObject
site from 1.3.x to the new 2.0b4?
More details can be provided, but I thought I'd check and see first...
I'm getting strange random outputs and errors. I'll reload a page 4 or 5
times and it'll come up fine... then the next time I get a server error
about:
[8762]ERR: 24: Error in Perl code: Undefined subroutine called at
/usr/local/lib/perl/5.6.1/HTML/Embperl.pm line 745.
This with the latest apache/mod_perl/mod_ssl. The site works fine when I
downgrade back to 1.3.x...
Comments? Is this a installation/configuration/code problem on my dev
server?
My httpd.conf:
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.epl
PerlSetEnv EMBPERL_SYNTAX "Embperl"
PerlSetEnv EMBPERL_DEBUG 0
<Directory "/var/path/to/dir">
SetHandler perl-script
Options ExecCGI
<FilesMatch ".*\.(epl)$">
PerlHandler HTML::EmbperlObject
</FilesMatch>
</Directory>
and the base.epl:
[- Execute ('constants.inc') -]
[- Execute ('init.inc') -]
[- Execute ('header.inc') -]
[- Execute ('sidebar.inc') -]
[- Execute ('*') -]
[- Execute ('sidebar_close.inc') -]
[- Execute ('footer.inc') -]
[- Execute ('cleanup.inc') -]
Comments? I'll continue to experiment on it tomorrow with a fresh mind.
--
Regards,
Wim Kerkhoff, Software Engineer
Merilus, Inc. -|- http://www.merilus.com
Email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]