Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Embperl

Errors after file upload

 

 

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded


smithm at gmail

Aug 14, 2006, 1:57 AM

Post #1 of 4 (1544 views)
Permalink
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


richter at ecos

Aug 15, 2006, 10:45 PM

Post #2 of 4 (1403 views)
Permalink
RE: Errors after file upload [In reply to]

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 [at] perl
For additional commands, e-mail: embperl-help [at] perl


smithm at gmail

Aug 16, 2006, 8:45 AM

Post #3 of 4 (1404 views)
Permalink
Re: Errors after file upload [In reply to]

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 <richter [at] ecos> 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 **
>
>


richter at ecos

Aug 17, 2006, 8:01 AM

Post #4 of 4 (1416 views)
Permalink
RE: Errors after file upload [In reply to]

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 [at] perl
For additional commands, e-mail: embperl-help [at] perl

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.