Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-08 Thread Yu Di
Hi, I upgraded my gcc to 2.95.2, re-compiled Perl 5.6.0, Apache 1.3.12, and mod_perl 1.22. I put "PerlModule Apache::ASP" and "PerlModule Apache::DBI" in the httpd.conf. Then it worked. I guess the problem was some confliction between mod_perl and other Apache modules (I installed PHP 4RC1 and

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Yu Di
Hi, I also changed Perl to 5.005_03, and this problem still exists, so I think it is the problem between Apache 1.3.12, mod_perl 1.22, and DBI or DBD::mysql. More likely, I think it is with DBI, because if I put "PerlModule Apache::DBI" in my httpd.conf, this error will also occur if I visit an

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Joshua Chamas
I would recompile all of your perl from scratch, as well as modperl apache. The RedHat guys are notorious for building perls and modperl that don't work sometimes. --Joshua Yu Di wrote: Hi, I also changed Perl to 5.005_03, and this problem still exists, so I think it is the problem

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-07 Thread Yu Di
Hi, my modperl apache are compiled by myself, Perl 5.005_03 was included in Redhat, Perl 5.6.0 was compiled by myself. I will try modperl 1.21 and apache 1.3.11, and see which one's new version is causing troubles. Di, Yu 4.7 On Fri, 7 Apr 2000, Joshua Chamas wrote: I would recompile all of

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-06 Thread Yu Di
Hi, I have isolated the problem, but it just made me more puzzled. The problem is not in that file itself, but in "homepage.htm" which is also an ASP file, in which I tried to open a MySQL connection. When I call DBI-connect("DBI:mysql:database=...;host=...","myusername","mypasswd"), it will

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Yu Di
Hi, I did compile it statically. But currently for my program, I always get such errors. My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. The relevant part in my httpd.conf is: Files ~ "\.mpl$" SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Files

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-04 Thread Yu Di
Hi, there was an error with my mailbox and I can't open your mail and test the patch, could you please send it again? Thank you! Di, Yu 4.4

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: Hi, I did compile it statically. But currently for my program, I always get such errors. My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. The relevant part in my httpd.conf is: any difference if you pre-load: PerlModule Apache::Registry Apache::ASP

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: Hi, there was an error with my mailbox and I can't open your mail and test the patch, could you please send it again? Thank you! sure.. --- src/modules/perl/mod_perl.c 2000/03/30 19:34:13 1.110 +++ src/modules/perl/mod_perl.c 2000/03/30 19:35:25 @@

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Yu Di
I added that before my "Files ~ "\.mpl$"", no change. BTW, the Apache::Registry test program always worked correctly. Di, Yu 4.4 On Tue, 4 Apr 2000, Doug MacEachern wrote: On Tue, 4 Apr 2000, Yu Di wrote: Hi, I did compile it statically. But currently for my program, I always get such

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Joshua Chamas
Yu Di wrote: This program has been tested under Perl5.005_03, Apache 1.3.11, mod_perl 1.21 on another machine. my.conf is a configuration file for this program. Lynx will report "Alert!: Unexpected network read error; connection aborted." while I try to connect to it, and the server error

Error in Apache::ASP with Perl 5.6.0

2000-04-02 Thread Yu Di
Hi, I installed Apache::ASP module with Perl 5.6.0 and mod_perl 1.22 and Apache 1.3.12. When I started to use it with any file, I got the error log: " [error] Can't upgrade that kind of scalar at /usr/lib /perl5/site_perl/5.6.0/Apache/ASP.pm line 1627." I changed the "MD5"'s in ASP.pm to

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-02 Thread Doug MacEachern
On Sun, 2 Apr 2000, Yu Di wrote: Hi, I installed Apache::ASP module with Perl 5.6.0 and mod_perl 1.22 and Apache 1.3.12. When I started to use it with any file, I got the error log: " [error] Can't upgrade that kind of scalar at /usr/lib /perl5/site_perl/5.6.0/Apache/ASP.pm line 1627."