Re: [mp2] Perl 5.10 fixes from SVN cause SIGBUS on sparc

2008-03-12 Thread Niko Tyni
On Mon, Mar 10, 2008 at 10:53:54PM -0700, Philippe M. Chiasson wrote: Niko Tyni wrote: We're switching to Perl 5.10 in Debian soon, and I'm trying to update the mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry test suite is failing on the Sparc architecture because

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread André Warnier
xyon wrote: Hello everyone, I am writing my first mod_perl handler. I've looked at some of the docs online and have come up with the config/code below. However, when I go to visit the URL in Apache, I get a download prompt for type: httpd/unix-directory. [snip] try this : sub handler {

environment variable

2008-03-12 Thread James. L
hi, the app i wrote is run under Apache::Registry only. i am wondering if SetEnv/PassEnv will cause any problem in this case (since setenv and passenv only affect %ENV for content generation phase and beyond)? also, a question on apache.. i have tried the following under plain CGI SetEnv PATH

RE: Config related to Registry Scripts

2008-03-12 Thread Capacio, Paula J
Kindly Ignore -- solution found It was a conflict with the configuration for mod_jk. Paula

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
Hey everyone, I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View module, but it never outputs. I don't see any errors in the logs, I just get a blank page. Below is pertinent information including a test script with

Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread xyon
Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View module, but it never outputs. I don't see any errors in the logs, I just

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Roberto C . Sánchez
On Wed, Mar 12, 2008 at 11:02:27PM +, xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. Yes, but you still hijacked another thread. = In-Reply-To: [EMAIL PROTECTED] Please don't do that. Start a new thread by sending a new

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Colin Wetherbee
Roberto � wrote: On Wed, Mar 12, 2008 at 11:02:27PM +, xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. Yes, but you still hijacked another thread. = In-Reply-To: [EMAIL PROTECTED] Please don't do that. Start a new thread by

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread xyon
Fixed. I forgot to print the template-output. print $template-output; On Wed, 2008-03-12 at 23:02 +, xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. I am working on my first Object-Oriented project, and have hit a slight

[Apache::DBI] [PATCH] use PerlChildExitHandler to properly disconnect

2008-03-12 Thread Alex Hunsaker
This Patch fixes annoying log messages (notably with postgresql, but others may apply) because Apache::DBI fails to disconnect properly at exit time. (it stops the buggers below from filling my logs...) LOG: unexpected EOF on client connection LOG: could not receive data from client: Connection

Re: [mp2] Perl 5.10 fixes from SVN cause SIGBUS on sparc

2008-03-12 Thread Philippe M. Chiasson
Niko Tyni wrote: On Mon, Mar 10, 2008 at 10:53:54PM -0700, Philippe M. Chiasson wrote: Niko Tyni wrote: We're switching to Perl 5.10 in Debian soon, and I'm trying to update the mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry test suite is failing on the Sparc

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Foo JH
try print $template-output; You forgot the print(); xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View

svn commit: r636631 - /perl/modperl/trunk/src/modules/perl/modperl_interp.c

2008-03-12 Thread gozer
Author: gozer Date: Wed Mar 12 22:25:22 2008 New Revision: 636631 URL: http://svn.apache.org/viewvc?rev=636631view=rev Log: Fix a subtle typo. return; is mostly undefined, try return NULL instead. Reviewed-By: gozer Submitted-By: Niko Tyni [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED]