Issuing rollback() for database handle being DESTROY'd

2000-12-28 Thread Philip Mak
I recently noticed some strange error messages in my error_log. This is from animelyrics.com, which uses Apache::ASP and MySQL. Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at (eval 9) line 22. The above line keeps repeating over and over in the error

Re: RFC/ANNOUNCE: WebsiteGenerator, FormGenerator, Class-ParamParser

2000-12-28 Thread Gunther Birznieks
The modules look very cool. However You should be careful as to what modules you've created solve a problem in a particular way that you enjoy using and which ones are truly generic. Some of the following was unclear in your email explanation of the modules. I am worried that some of your

Re: Issuing rollback() for database handle being DESTROY'd

2000-12-28 Thread Joshua Chamas
Philip Mak wrote: I recently noticed some strange error messages in my error_log. This is from animelyrics.com, which uses Apache::ASP and MySQL. Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at (eval 9) line 22. This implies that you have a

CGI generated image/png problem?

2000-12-28 Thread R.P. Aditya
I have a simple script dynamically generating a PNG based on form input: #!/usr/bin/perl # genImage.perl use strict; print LLI; Content-type: image/png LLI genPNG(); #a subroutine that can produce PNGs using libpng this worked

mod_perl v1.16 Win32

2000-12-28 Thread Christian Ribeaud
Hi, I am not used to bother people for such a simple question but I can not get the mod_perl v1.16 working. I am using the ActiveState Perl interpreter v5.6.0 and the path to the interpreter is e:\perl (Windows NT 4.0 SP 6a) I properly installed the module in Apache 1.3.14 and I think the

Re: mod_perl v1.16 Win32

2000-12-28 Thread Randy Kobes
On Thu, 28 Dec 2000, Christian Ribeaud wrote: Hi, I am not used to bother people for such a simple question but I can not get the mod_perl v1.16 working. I am using the ActiveState Perl interpreter v5.6.0 and the path to the interpreter is e:\perl (Windows NT 4.0 SP 6a) I properly

Re: Cannot start httpd - help

2000-12-28 Thread G.W. Haywood
Hi there, On Thu, 28 Dec 2000, Donnie Cherng wrote: I have tried to install apache_1.3.14 and mod_perl-1.24_01. No problem on the "configure, make, make install". However, when I tried to start httpd by "/home/users/dcherng/apache/bin/apachectl start", I got Syntax error on

Re: Cannot start httpd - help

2000-12-28 Thread Donnie Cherng
"G.W. Haywood" wrote: Hi there, On Thu, 28 Dec 2000, Donnie Cherng wrote: I have tried to install apache_1.3.14 and mod_perl-1.24_01. No problem on the "configure, make, make install". However, when I tried to start httpd by

File Upload problems

2000-12-28 Thread cbell
Hello everyone, I was hoping someone could give me a hand with file uploads in mod perl. Everytime I try to upload a file, the browser will stall a couple of times, and the file ends up on the server as a zero byte file. I'm pretty sure this is a binmode problem, and I've tried it a bunch of

Undefined subroutine

2000-12-28 Thread Barry Veinotte
Hi folks, I am trying to get a program to run under mod_perl using Apache::Registry and am getting the following error: Undefined subroutine Apache::ROOT::cgi_2dbin::ads1::ads_2epl::handler called at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Registry.pm line 135. I am working with Red

RE: Undefined subroutine

2000-12-28 Thread Barry Veinotte
I may have found the answer http://perl.apache.org/dist/cgi_to_mod_perl.html the perl version is 5.003 and from what I have read in the guide 5.003 and mod_perl don't make life easy for cgi scripts. Would my problems be taken care of if Perl were upgraded to 5.004 ? Is there any hope of

Re: Undefined subroutine

2000-12-28 Thread ___cliff rayman___
it's telling you to search the guide at: http://perl.apache.org/guide/ check out in particular: http://thingy.kcilink.com/modperlguide/troubleshooting/Undefined_subroutine_Apache_RO.html Barry Veinotte wrote: Undefined subroutine Apache::ROOT::cgi_2dbin::ads1::ads_2epl::handler called at

RE: Dynamic content that is static

2000-12-28 Thread Christian Gilmore
You might want to take a look at Strudel. It is a project people from my last job were working on: http://www.research.att.com/~mff/strudel/. Regards, Christian -Original Message- From: Philip Mak [mailto:[EMAIL PROTECTED]] Sent: Friday, December 22, 2000 8:09 PM To: [EMAIL

Re: File Upload problems

2000-12-28 Thread G.W. Haywood
Hi there, On Thu, 28 Dec 2000, cbell wrote: I'm pretty sure this is a binmode problem, Did I miss the bit where you told us which operating system, Perl version, and all that good stuff? If you search around in the mod_perl directory you should find a file called SUPPORT. :) 73, Ged.

Re: CGI generated image/png problem?

2000-12-28 Thread R.P. Aditya
In case anyone was wondering, found another thread in reference to it and the "solution": http://www.egroups.com/message/modperl/26850 http://www.ee.ethz.ch/~slist/rrd-users/msg01700.html http://www.ee.ethz.ch/~slist/rrd-users/msg01704.html The problem is with older versions of libgd...

Re: File Upload problems

2000-12-28 Thread cbell
It is Mod perl 1.24_01, perl 5.005_03, and Apache 1.3.14 running on Redhat 6.2. "G.W. Haywood" wrote: Hi there, On Thu, 28 Dec 2000, cbell wrote: I'm pretty sure this is a binmode problem, Did I miss the bit where you told us which operating system, Perl version, and all that good

Re: File Upload problems

2000-12-28 Thread G.W. Haywood
Hi there, On Thu, 28 Dec 2000, cbell wrote: It is Mod perl 1.24_01, perl 5.005_03, and Apache 1.3.14 running on Redhat 6.2. Hmmm. Do you need to use binmode() at all? If you didn't, then you probably wouldn't get any binmode problems... perldoc -f binmode 73, Ged.

Re: File Upload problems

2000-12-28 Thread cbell
I tried it with and without binmode with the same results, thats why I figured I was using binmode wrong. "G.W. Haywood" wrote: Hi there, On Thu, 28 Dec 2000, cbell wrote: It is Mod perl 1.24_01, perl 5.005_03, and Apache 1.3.14 running on Redhat 6.2. Hmmm. Do you need to use

Book/code recommendations needed for an urgent mod_perrl task

2000-12-28 Thread Peter Demling
Greetings from a 1st-time poster, I'm a seasoned web programmer, but a Perl beginner and mod_perl stranger who has an "as soon as possible" mod_perl script to write for our Apache web server, so I'd appreciate any recommendations for books or code you may have, which could assist me in my task.

Re: Book/code recommendations needed for an urgent mod_perrl task

2000-12-28 Thread Greg Cope
Peter Demling wrote: Greetings from a 1st-time poster, I'm a seasoned web programmer, but a Perl beginner and mod_perl stranger who has an "as soon as possible" mod_perl script to write for our Apache web server, so I'd appreciate any recommendations for books or code you may have,

$r-dir_info and BEGIN {}?

2000-12-28 Thread Rafael Kitover
We obviously do not have access to a request object during a BEGIN {} block, but if I have a bunch of PerlSetVar things that I don't want to re-initialize every time handler() is called for speed reasons, what is the most elegant way to have an initialization sub that needs access to things set

[ANNOUNCE] Avacet Application Engine 2.0b2

2000-12-28 Thread DeWitt Clinton
Hi! I've been quiet for a while on this list, but I still read it religiously. I wanted to take a second and share our announcement of the release of the second beta of the Avacet Application Engine. Version 2.0b2 of the Avacet Application Engine is available for download at

problems with make test, server not starting

2000-12-28 Thread Richard
Deal All. This is really starting to pick away at my patience. I simple cannot get mod_perl installed. Installed Apache 1.3.14 easy peasy. I am making mod_perl with EVERYTHING=1 and APACHE_PREFIX=/some/location/to/apache Even without any of the options, for makefile.pl, i am getting the same

Re: problems with make test, server not starting

2000-12-28 Thread Richard
On Thu, 28 Dec 2000, you wrote: Screw the tests. Mine fails all the time, I just type 'make install' and it all works perfectly. Hmn, just tried that. my httpd.conf file did not seem to change, i setup a location directive for Apache::Status to see if it was all ok, but get a config error

Re: problems with make test, server not starting

2000-12-28 Thread G.W. Haywood
Hi again, On Thu, 28 Dec 2000, Richard wrote: my httpd.conf file did not seem to change, It won't. get a config error telling me it does not understand PerlHandler. Would that suggest that i am trying to start a non mod_perl enabled apache? Yup. But it only SUGGESTS it. Your error_log

Re: problems with make test, server not starting

2000-12-28 Thread ___cliff rayman___
try: make kill_httpd sleep 5 make test Richard wrote: the error log ~ [Thu Dec 28 21:33:14 2000] [crit] (98)Address already in use: make_sock: could not bind to port 8529 ~ -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/

Re: problems with make test, server not starting

2000-12-28 Thread newsreader
On Thu, Dec 28, 2000 at 09:58:41PM +, Richard wrote: On Thu, 28 Dec 2000, you wrote: Screw the tests. Mine fails all the time, I just type 'make install' and it all works perfectly. Hmn, just tried that. my httpd.conf file did not seem to change, i setup a location directive for

Re: problems with make test, server not starting

2000-12-28 Thread Richard
On Thu, 28 Dec 2000, G.W. Haywood wrote: Hi there, On Thu, 28 Dec 2000, Richard wrote: "Waiting for server to warm up.. server failed to start!" [snip] [Thu Dec 28 21:33:14 2000] [crit] (98)Address already in use: make_sock: could not bind to port 8529 What happens if you

Re: problems with make test, server not starting - RESOLVED

2000-12-28 Thread Richard
[root@localhost mod_perl-1.24_01]# ps axf | grep httpd 2888 ?S 0:01 ../apache_1.3.14/src/httpd -f /root/mod_perl-1.24_01/t/conf/httpd.conf -X -d /root/mod_perl-1.24_01/t 10510 ?S 0:00 /usr/local/apache/bin/httpd 10511 ?SW 0:00 \_ [httpd] 10512 ?

Where can I find....

2000-12-28 Thread Michael
Where can I find documentation on the how to use all the values that appear in Apache::Constants The obviously do something, but what??? I figured out what OK, DECLINED do by reading the source, but what about all the rest. Are they described somewhere?? [EMAIL PROTECTED]

[OT] Problems preparing a module for CPAN

2000-12-28 Thread Martin Langhoff
hi, once again, steering off-topic ... :( I've got a nice little module (Mail::Vmailmgr) I am trying to bundle in the standard CPAN fashion, so that it has a proper Makefile.PL, etc. I am following my Perl Cookbook, recipe 12.8 ... steps taken: % h2xs -AX -n Mail::Vmailmgr % cd Mail/ % vi

Re: Where can I find....

2000-12-28 Thread James G Smith
"Michael" [EMAIL PROTECTED] wrote: Where can I find documentation on the how to use all the values that appear in Apache::Constants The obviously do something, but what??? I figured out what OK, DECLINED do by reading the source, but what about all the rest. Are they described somewhere??

Re: Where can I find....

2000-12-28 Thread Michael
"Michael" [EMAIL PROTECTED] wrote: Where can I find documentation on the how to use all the values that appear in Apache::Constants The obviously do something, but what??? I figured out what OK, DECLINED do by reading the source, but what about all the rest. Are they described

Re: [OT] Problems preparing a module for CPAN

2000-12-28 Thread Michael
hi, once again, steering off-topic ... :( I've got a nice little module (Mail::Vmailmgr) I am trying to bundle in the standard CPAN fashion, so that it has a proper Makefile.PL, etc. I am following my Perl Cookbook, recipe 12.8 ... steps taken: % h2xs -AX -n Mail::Vmailmgr % cd

Re: $r-dir_info and BEGIN {}?

2000-12-28 Thread Jim
How about: package ModPerlPackage; use vars qw( $is_init ); $is_init = 0; sub handler($) { ... $is_init = initialize($r) unless $is_init; ... } Just making initialize return a true value on success. There's undoubtedly a much more subtle solution... HTH Jim

Re: [OT] Problems preparing a module for CPAN

2000-12-28 Thread Ken Williams
[EMAIL PROTECTED] (Martin Langhoff) wrote: % h2xs -AX -n Mail::Vmailmgr % cd Mail/ % vi Vmailmgr.pm and wrote all of my module there, picking what h2xs had prepared. Now when I follow the next step, it fails: % make dist make: *** No rule to make target `dist'. Stop. You need to create the

Re: Issuing rollback() for database handle being DESTROY'd

2000-12-28 Thread Victor Michael Blancas
I recently noticed some strange error messages in my error_log. This is from animelyrics.com, which uses Apache::ASP and MySQL. Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at (eval 9) line 22. The above line keeps repeating over and over in the