Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 71042 invoked from network); 23 Nov 2004 04:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Nov 2004 04:32:20 -0000 Received: (qmail 9292 invoked by uid 500); 23 Nov 2004 04:32:20 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 9269 invoked by uid 500); 23 Nov 2004 04:32:19 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 9254 invoked by uid 99); 23 Nov 2004 04:32:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [194.95.226.10] (HELO saturn.ecos.de) (194.95.226.10) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 20:32:17 -0800 Received: from lnx1.i.ecos.de (unknown [194.95.226.11]) by saturn.ecos.de (Postfix) with ESMTP id 6063CD8960; Tue, 23 Nov 2004 05:31:32 +0100 (MET) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id 83EFB10F0C9; Tue, 23 Nov 2004 05:32:36 +0100 (CET) From: "Gerald Richter" To: "'Doug Rayner'" , "'Embperl'" Subject: RE: Embperl::Object and FastCGI? Date: Tue, 23 Nov 2004 05:31:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <020f01c4d0ca$99367270$1f00a8c0@Doug> Thread-Index: AcTQykFBJrXYCw/zRrOgIm+ojmCz3QASk5YQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-Id: <20041123043236.83EFB10F0C9@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > That seems to have had a positive effect. Are you suggesting > that we code that in all forms which use multipart/form-data > encoding, or were you now planning on calling that function > internally to Embperl? > I think the best would be to put it after the Execute in the epocgi.pl, that is what I will do. > Now that that problem seems to be resolved, there is another > failure happening. I am getting this error in the apache error_log: > > [Mon Nov 22 11:14:47 2004] [error] [client 192.168.13.203] > FastCGI: server "/home/drayner/www/fcgi-bin/epocgi.pl" > stderr: Mon Nov 22 11:14:47 2004: Use of uninitialized value > in string eq at /home/drayner/pmg/bin/read_license.pl > line 2956. > [20858]ERR: 24: Error in Perl code: Mon Nov 22 11:14:47 > 2004: Can't locate object method "FILENO" via package > "FCGI::Stream" at /usr/local/lib/perl5/5.8.0/IPC/Open3.pm line 149. > Do you use IPC::Open3 anywhere? If yes, what are you doing there? Neither Embperl nor CGI.pm nor FCGI.pm is using Open3. > I see that there is a function in FCGI.pm called FILENO, but > it is commented out. I re-enabled that function, and did not > see the above error again, but I did start to see another error: > > [Mon Nov 22 11:19:56 2004] [error] [client 192.168.13.203] > FastCGI: server "/home/drayner/www/fcgi-bin/epocgi.pl" > stderr: Mon Nov 22 11:19:56 2004: Use of uninitialized value > in string eq at /home/drayner/pmg/bin/read_license.pl > line 2956. > [21548]ERR: 24: Error in Perl code: Mon Nov 22 11:19:57 > 2004: Not a GLOB reference at > /home/drayner/perllib/lib/perl5/site_perl/5.8.0/sun4-solaris/F > CGI.pm line 125. > > I see that the comments around the FILENO function on FCGI.pm > mention what value to return, and suggest a defined but > meaningless value (-2). I wonder if this value being > returned by FILENO is what is causing the "Not a GLOB > reference" above. > Maybe. I can't say. Basicly you need to see who is calling this code at which place any why. Maybe you can start FCGI server under the Perl debugger. This would give you a complete Call Backtrace for the error. Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org