Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 11428 invoked from network); 14 Apr 2009 02:12:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2009 02:12:59 -0000 Received: (qmail 2013 invoked by uid 500); 14 Apr 2009 02:12:57 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 1965 invoked by uid 500); 14 Apr 2009 02:12:57 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 1957 invoked by uid 99); 14 Apr 2009 02:12:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2009 02:12:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pharkins@gmail.com designates 74.125.46.156 as permitted sender) Received: from [74.125.46.156] (HELO yw-out-1718.google.com) (74.125.46.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2009 02:12:48 +0000 Received: by yw-out-1718.google.com with SMTP id 5so1369298ywm.40 for ; Mon, 13 Apr 2009 19:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=GfW9LdGprwn3F0TwbT1yd4z7uhGnyaRtwmO19zu4X34=; b=Fo2f0qNEffxJfml9KVwil9ChZRIW8mALM1N0RIrZ96JFr2h5FQWFNW6Z3zfrPzaIfH xnsnj9Z8Si8HFwyzYSrNpI9u+bp8iLVjxBB5YVvZnSCISWxOV5viOmSfsoIqIXsJaXyb tPc1NF0nSUDyKE5RN01BGru9UJhU/56h/7x/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=XVsuhr4anWUW/BNYaYfsvL+DBMgFbZSQNFhpeCffboy77Weh9xdq2ZPb2ifRzfqzhO 1ByLIma44d5k2UPfPi6Jg2Ho2ReCkGTZXHCNVk/clXGlgMspRTlRWowXB+KaVZCH2rQ3 yMAZ2ZyWVDlFw+BRfGYrCwwR0Wmpf1Ic1QMd8= MIME-Version: 1.0 Sender: pharkins@gmail.com Received: by 10.100.122.12 with SMTP id u12mr8704431anc.99.1239675147816; Mon, 13 Apr 2009 19:12:27 -0700 (PDT) In-Reply-To: <20090414002145.GB30420@connexer.com> References: <20090414002145.GB30420@connexer.com> Date: Mon, 13 Apr 2009 22:12:27 -0400 X-Google-Sender-Auth: 8eb674e20ba41370 Message-ID: <66887a3d0904131912x4842a40ai3a4828acaa73d374@mail.gmail.com> Subject: Re: Undefined subroutine error From: Perrin Harkins To: mod_perl List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Apr 13, 2009 at 8:21 PM, Roberto C. S=E1nchez wrote: > I've been dealing with trying to figure out an "Undefined subroutine" > error on one of my sites. =A0At first I thought it was something to do > with Apache::ASP, so I sent a message requesting help to that list: > http://mail-archives.apache.org/mod_mbox/perl-asp/200811.mbox/thread > > However, even after upgrading the server from Debian Etch to Lenny and > migrating the site from Apache::ASP to HTML::Mason, I still get the > exact same "Undefined subroutine" error. =A0That makes me think that this > something at a lower level. In your Image.pm module, do you declare a package name? Do you export get_image_name()? How do you load this module in your new Mason setup? > This has really been causing me to wrack my brain since > it only occurs on the production server and not on the development > server (both are identically configured). Are they really identically configured? Are you sure there isn't a difference in startup.pl or in MaxRequestsPerChild or something like that? - Perrin