Title: Message

Thanks in advance for any input!!

We inherited a website that uses Mason from another company.
Included in it are template header and footer components.

What we have found is that, if we modify a header or footer component (say we edit a component to change the email contact name from Joe Smith to Jane Doe) Mason attempts to recompile the component file, since it has been updated, and we end up with a zero size file that, when it interacts with the web server, displays the following HTTP Error:

OK, The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

The server error log displays the following:

[Thu Jan 5 17:31:34 2006] check_part.cgi: Variable "%labels" will not stay shared at /xxx/xxxx/cgi-bin/check_part.cgi line 182.
[Thu Jan 5 17:31:34 2006] check_part.cgi: Variable "@values" will not stay shared at /xxx/xxx/cgi-bin/check_part.cgi line 199.
[Thu Jan 5 17:31:34 2006] check_part.cgi: Subroutine initialize redefined at /xxx/xxx/cgi-bin/check_part.cgi line 181.
[Thu Jan 05 17:31:34 2006] [error] 25722: ModPerl::PerlRun: Can't coerce GLOB to string in entersub at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler.pm line 187.!!Stack:! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler.pm:187]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm:75]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm:115]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:318]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]! [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:275]! [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:353]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:222]! [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:216]! [/usr/lib/perl5/site_perl/RayStandardSubs.pm:65]! [/var/www/cgi-bin/check_part.cgi:175]! [/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/RegistryCooker.pm:184]! [/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/RegistryCooker.pm:154]! [/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/PerlRun.pm:16]! [-e:0]!

We are running:
Red Hat Enterprise Linux 3ES
Apache 2.0.46
Mod Perl 1.99_09
Mason 1.28

Here is the entire list of perl modules we have installed on the server that were not included with the Red Hat Enterprise Linux 3 ES distribution, but most of which we needed to install in order to run Mason:

Algorithm-Diff-1.1901
Apache-AuthNetLDAP-0.29
Apache-Test-1.26
Archive-Tar-1.26
Authen-SASL-2.09
Bit-Vector-6.4
Cache-Cache-1.04
Carp-Clan-5.3
CGI.pm-3.07
Class-Container-0.12
Class-Data-Inheritable-0.02
Compress-Zlib-1.38
Convert-ASN1-0.19
Cwd-2.21
Date-Calc-5.4
Devel-StackTrace-1.11
Digest-1.11
Digest-SHA1-2.10
Digest-SHA-5.31
Error-0.15
Exception-Class-1.21
ExtUtils-AutoInstall-0.63
ExtUtils-CBuilder-0.13
ExtUtils-ParseXS-2.12
ExtUtils-XSBuilder-0.27
File-Spec-0.90
IO-Socket-SSL-0.97
IO-Zlib-1.04
IPC-ShareLite-0.09
Module-Build-0.2611
Module-Signature-0.50
Net_SSLeay.pm-1.25
OLE-Storage_Lite-0.14
Params-Validate-0.78
PAR-Dist-0.07
Parse-RecDescent-1.94
perl-ldap-0.33
Pod-Escapes-1.04
Pod-Simple-3.02
Scalar-List-Utils-1.17
Sort-Versions-1.5
Spreadsheet-ParseExcel-0.2603
Test-Builder-Tester-1.01
Test-Pod-1.20
Text-Diff-0.35
Tie-IxHash-1.21
XML-NamespaceSupport-1.09
XML-SAX-0.12
And of course,
HTML-Mason-1.28

Thanks again for any input/help

Stacey Sproul

Reply via email to