Return-Path: X-Original-To: apmail-perl-embperl-archive@www.apache.org Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DDF6C4EB for ; Thu, 31 May 2012 23:07:07 +0000 (UTC) Received: (qmail 52282 invoked by uid 500); 31 May 2012 23:07:07 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 52120 invoked by uid 500); 31 May 2012 23:07:06 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 52110 invoked by uid 99); 31 May 2012 23:07:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 23:07:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of neil@nilspace.com designates 208.64.24.170 as permitted sender) Received: from [208.64.24.170] (HELO mail.nilspace.com) (208.64.24.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2012 23:07:01 +0000 Received: from [192.168.1.100] (cdm-75-109-138-77.asbnva.dh.suddenlink.net [75.109.138.77]) (authenticated bits=0) by mail.nilspace.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4VN68pB002099 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 31 May 2012 16:06:08 -0700 Message-ID: <4FC7F960.6020509@nilspace.com> Date: Thu, 31 May 2012 16:06:08 -0700 From: Neil Gunton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120517 Firefox/10.0.4 Iceape/2.7.4 MIME-Version: 1.0 To: richter@ecos.de CC: "embperl@perl.apache.org" Subject: Re: Error reporting in Embperl 2.5.0_1 References: <4FB7F474.3060406@nilspace.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Gerald, Thanks for getting back. Basically I can have something as simple as this, one line of code in index.html: [- $x = 1; -] Which simply produces the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, neil@nilspace.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. [12542]ERR: 24: Error in Perl code: Compilation error Apache Embperl 2.5.0_1 [Thu May 31 15:37:53 2012] Now obviously this isn't the only code being executed here, there is also base.epl and a whole bunch of other stuff that gets initialized on my website, but that one line is all it takes to make the error manifest. I guess I must have 'strict' defined somewhere, because the above error is just a missing 'my' (if I put 'my' then the error goes away). The Embperl-specific config in my httpd_perl.conf is as follows: EMBPERL_DEBUG 0 EMBPERL_ESCMODE 0 EMBPERL_OPTIONS 16 EMBPERL_MAILHOST spidey.nilspace.com EMBPERL_OBJECT_BASE base.epl EMBPERL_OBJECT_FALLBACK /www/errors/404.html EMBPERL_SESSION_HANDLER_CLASS no EMBPERL_LOG /tmp/embperl.log There's a lot of other stuff going on here, startup.pl etc, but maybe there is something fundamental in EMBPERL_DEBUG or EMBPERL_OPTIONS that could be causing this (or a different setting that might shed light on what's happening)? Let me know... Thanks again, Neil richter@ecos.de wrote: > Hi Neil, > > in my tests I got normal error messages like before. > > Do you have a few lines of code, that shows the problem? > > Gerald > >> -----Original Message----- >> From: Neil Gunton [mailto:neil@nilspace.com] >> Sent: Saturday, May 19, 2012 9:29 PM >> To: embperl@perl.apache.org >> Subject: Error reporting in Embperl 2.5.0_1 >> >> I just noticed that when there is an error in my code, I am not getting any >> useful information about where the error occurs. All I get is this: >> >> [21419]ERR: 24: Error in Perl code: Compilation error >> >> I know I used to get more specific line information about where the problem >> was. Is there something I can do to re-enable this? >> >> This is using Apache, mod_perl and Embperl all built from source on Debian >> Wheezy AMD64: >> >> Apache/2.2.22 (Unix) Embperl/2.5.0_1 mod_ssl/2.2.22 OpenSSL/1.0.1c >> mod_perl/2.0.5 Perl/v5.14.2 >> >> Any ideas? >> >> Thanks! >> >> Neil >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org >> For additional commands, e-mail: embperl-help@perl.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org