You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Michael Smith <sm...@gmail.com> on 2006/08/14 10:57:13 UTC
Errors after file upload
Hi there,
I have been experimenting with file upload via forms. I am using the method
described by Gerald back here:
http://www2.ecos.de/~mailarc/embperl/2001-04/msg00101.html
<http://www2.ecos.de/%7Emailarc/embperl/2001-04/msg00101.html>
It does successfully upload the file and do what I want, however subsequent
requests to the server give this error:
[Mon Aug 14 09:46:49 2006] [error] [15239]ERR: 24: Error in Perl code:
anonymous handlers not (yet) supported at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/compat.pm
line 131.
I changed read to sysread and still get the error although it seems a lot
less frequent.
Any suggestions? I'm using embperl 2.0b11 (old, I know!)
Thanks
Michael
RE: Errors after file upload
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
>
> Actually w're running version 2.89 of CGI.pm - but I guess
> the need to upgrade answer still holds?
2.89 has problem with mod_perl 2. I don't know which Apache/mod_perl version
you are using.
>
> I know from my previous job about upgrading embperl and
> everything else. It's hassle but ends up being necessary
> every now and then.
>
Upgradeing 2.0b11 to the newest 2.x version shouldn't be any problem, since
there are no incompatible changes
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Errors after file upload
Posted by Michael Smith <sm...@gmail.com>.
Hi Gerald,
Actually w're running version 2.89 of CGI.pm - but I guess the need to
upgrade answer still holds?
I know from my previous job about upgrading embperl and everything else.
It's hassle but ends up being necessary every now and then.
Thanks,
Michael
On 8/16/06, Gerald Richter <ri...@ecos.de> wrote:
>
> Hi,
> >
> > I have been experimenting with file upload via forms. I am
> > using the method described by Gerald back here:
> >
> > http://www2.ecos.de/~mailarc/embperl/2001-04/msg00101.html
> > <http://www2.ecos.de/%7Emailarc/embperl/2001-04/msg00101.html>
> >
> > It does successfully upload the file and do what I want,
> > however subsequent requests to the server give this error:
> >
> > [Mon Aug 14 09:46:49 2006] [error] [15239]ERR: 24: Error in
> > Perl code: anonymous handlers not (yet) supported at
> > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apach
> > e/compat.pm line 131.
> >
> > I changed read to sysread and still get the error although it
> > seems a lot less frequent.
> >
> > Any suggestions? I'm using embperl 2.0b11 (old, I know!)
> >
>
> There were incompatible change in CGI.pm and it looks like this is your
> problem. You should either use CGI < 3 or an up to date Embperl
>
> Gerald
>
>
>
> ** Virus checked by BB-5000 Mailfilter **
>
>
RE: Errors after file upload
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
>
> I have been experimenting with file upload via forms. I am
> using the method described by Gerald back here:
>
> http://www2.ecos.de/~mailarc/embperl/2001-04/msg00101.html
> <http://www2.ecos.de/%7Emailarc/embperl/2001-04/msg00101.html>
>
> It does successfully upload the file and do what I want,
> however subsequent requests to the server give this error:
>
> [Mon Aug 14 09:46:49 2006] [error] [15239]ERR: 24: Error in
> Perl code: anonymous handlers not (yet) supported at
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apach
> e/compat.pm line 131.
>
> I changed read to sysread and still get the error although it
> seems a lot less frequent.
>
> Any suggestions? I'm using embperl 2.0b11 (old, I know!)
>
There were incompatible change in CGI.pm and it looks like this is your
problem. You should either use CGI < 3 or an up to date Embperl
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org