> 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to