Can't connect to Oracle in mod_perl ????

2001-01-26 Thread Irek
Hi I'm using RedHat6.2 + mod_perl 1.21 + perl 5.005_003 + Apache 1.3.12 (all instaled with RH6.2) + X (gnome + kde). I instaled Oracle 8.1.6 + modles Hires + DBI 1.14 + DBD-Oracle 1.06. I write simple script : #!/usr/bin/perl use DBI; my ( $inst, $user, $pass, $dbh); print "Content-type:

Re: Text::Template and passing in variables; going bug nuts!

2001-01-26 Thread T.J. Mather
Maybe I'm missing something here, but can't you just use use strict; use vars qw(%config %session); or better yet, fully qualify your variables %MyApp::Framework::config; %MyApp::Framework::session; The mod_perl guide has excellent sections on this:

Re: Text::Template and passing in variables; going bug nuts!

2001-01-26 Thread Perrin Harkins
Where I'm getting hosed is that %config and %session have data I need visible to the Text::Template objects themselves. I've RTFM'ed until my eyes are pink, and I see no options short of copying variables wholesale into another Package, but then I still can't get at them and "use strict"

Re: Can't connect to Oracle in mod_perl ????

2001-01-26 Thread G.W. Haywood
Hi there, On Fri, 26 Jan 2001, Irek wrote: When I started this script in httpd in mod_perl like http://_adres_/mod-perl/ora_test.cgi script writes only POINT1 !! Have you looked in the error_log? 73, Ged.

Re: Can't connect to Oracle in mod_perl ????

2001-01-26 Thread Irek
Are you thinking about httpd log ? After restart httpd: /var/log/httpd/access_log: 193.59.181.45 - - [26/Jan/2001:11:12:29 +0100] "GET /cgi-bin/ora_test.cgi HTTP/1.1" 200 60 193.59.181.45 - - [26/Jan/2001:11:12:39 +0100] "GET /mod-perl/ora_test.cgi HTTP/1.1" 200 28 /var/log/httpd/error_log:

Re: Can't connect to Oracle in mod_perl ????

2001-01-26 Thread Joshua Chamas
/var/log/httpd/error_log: [Fri Jan 26 11:12:16 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/3.0.15 mod_perl/1.21 configured -- resuming normal operations empty What else ???// Regards Irek Smaczny If you have RaiseError = 1 in your DBI-connect() you will get

problem to configure perl with apache

2001-01-26 Thread initiative.fr : COUTEL Jean-Francois
Hello It is my first install of perl and i have problem I have install APACHE 10.3.14 with APXS, PHP 4.0.3 pl1 with APXS, mysql and mod_perl-1.24_01 with apxs apache, php and mysql are ok perl is install but i can't use it can you help me about - configuration of httpd.conf for perl -

RE: Can't connect to Oracle in mod_perl ????

2001-01-26 Thread Geoffrey Young
-Original Message- From: Irek [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 6:52 AM To: mod_perl list Subject: Re: Can't connect to Oracle in mod_perl Use of inherited AUTOLOAD for non-method DBD::Oracle::ORA_OCI() is deprecated at

Re: Can't connect to Oracle in mod_perl ????

2001-01-26 Thread Irek
Could you help me with this sollution ? I understand, that I must change Makefile.PL line $::opt_b = 1 to $::opt_b = 0 It is correct ? (and install again) Regards Irek Smaczny

Re: problem to configure perl with apache

2001-01-26 Thread G.W. Haywood
Hi there, On Fri, 26 Jan 2001, initiative.fr : COUTEL Jean-Francois wrote: It is my first install of perl and i have problem I have install APACHE 10.3.14 with APXS, PHP 4.0.3 pl1 with APXS, mysql and mod_perl-1.24_01 with apxs apache, php and mysql are ok perl is install but i can't

Re: Can't connect to Oracle in mod_perl ????

2001-01-26 Thread Irek
Yes, now it is OK THANK YOU !! THX :-))) Regards Irek Smaczny

Location vs Directory directives

2001-01-26 Thread Sinclair, Alan (CORP, GEAccess)
All, Having read the writing apaches module book, I have noted all the examples for installing handlers use the Location directive. Are there any hidden side affects from setting up a handler within an Apache Directory directive? Thanks for any advice! AS

Re: problem to configure perl with apache

2001-01-26 Thread Jimi Thompson
I would suggest that you visit www.apachetoolbox.com and get the toolbox. Use that to install. Since it uses sources that are known to work with each other, it should be relatively painless. It should come off without a hitch. Also, next time you post, you might want to mention what your

Re: missing docs

2001-01-26 Thread Doug MacEachern
On Thu, 4 Jan 2001, Vivek Khera wrote: In answering another question today, I noticed that the variable $Apache::Registry::NameWithVirtualHost is not documented in the perldoc for Apache::Registry. While scanning the Registry.pm file, I further noticed that there is a call to

Re: Apache::SIG kills the process

2001-01-26 Thread Doug MacEachern
On Tue, 9 Jan 2001, Stas Bekman wrote: I was rewriting the detecting 'STOP' button pressed section in the guide, to notice that Apache::SIG kills the process under Apache::Registry. httpd.conf: PerlFixupHandler Apache::SIG why are you using Apache::SIG at all? its no longer required

Re: PerlTaintMode and PERL5LIB/PERL5OPT env vars.

2001-01-26 Thread Doug MacEachern
On Tue, 9 Jan 2001, Stas Bekman wrote: I've lost the original email, but this is reply from Doug to my email. I've asked to confirm that PERL5LIB is ignored with PerlTaintMode is on. Apparently the Perl docs say a different thing... Anybody has any insights about this situation? Does it

Re: difficulties compiling 1.24_01

2001-01-26 Thread Mark A. Downing
On Thu, 25 Jan 2001, Doug MacEachern wrote: hmm, seems to be a couple of these. there is no 'loadable object file' for Apache::Constants, its linked static by default (changed only if you pass DYNAMIC=1 to Makefile.PL). what does src/modules/perl/perlxsi.c look like in your apache-x.xx

Re: difficulties compiling 1.24_01

2001-01-26 Thread Doug MacEachern
On Fri, 26 Jan 2001, Mark A. Downing wrote: and it appears that there is NO perlxsi.c in /apache_1.3.14/src/modules/perl hmm, i don't see how that's possible, mod_perl will not compile without it. i just tried with the same Makefile.PL options and Perl version, no problems. what does this

Re: applicationontent-Type?

2001-01-26 Thread Doug MacEachern
On Thu, 25 Jan 2001 [EMAIL PROTECTED] wrote: I've been getting these occassional errors from libapreq, 1 every couple days: [Thu Jan 25 15:54:33 2001] [error] [client 64.12.102.22] [libapreq] unknown content-type: `applicationontent-Type: application/x-www-form-urlencoded\' It's always

RE: applicationontent-Type?

2001-01-26 Thread Rob Bloodgood
I've been getting these occassional errors from libapreq, 1 every couple days: [Thu Jan 25 15:54:33 2001] [error] [client 64.12.102.22] [libapreq] unknown content-type: `applicationontent-Type: application/x-www-form-urlencoded\' Alright, I'm gonna toss my $.02 into this: This

Obtaining results from trigger

2001-01-26 Thread cbell
Hello everyone, I was hoping someone could help me with this... I'm running postgres 7.02 on redhat 6.2, apache 1.3.14 and mod_perl 1.24_01. I'm also using perl modules DBI 1.14 and DBD-Pg-0.95 to acces the Postgres database. Everytime my inventory file gets updated, I would like to have the

Problems w/ mod_perl 1.24_01 apache 1.3.14 -- causing segmentation faults.

2001-01-26 Thread wells
I've been trying to install mod_perl 1.24_01 the following way: (with perl 5.6.0) perl Makefile.PL \ APACHE_PREFIX=/usr/local/apache \ APACHE_SRC=../apache_1.3.14/src \ DO_HTTPD=1 \ USE_APACI=1 \ EVERYTHING=1 \ APACI_ARGS='--enable-module=rewrite --enable-module=expires

RE: Prototype mismatch in Apache::PerlRun line 343

2001-01-26 Thread Wenzhong Tang
Unfortunately the following line doesn't work: eval "*{\$fullname}($p) = sub {}"; It probably should be: eval "*{\$fullname} = sub ($p) {}"; The latter works on my Linux and Solaris tests. Wenzhong Tang [EMAIL PROTECTED] -Original Message- From: Doug MacEachern [mailto:[EMAIL

Re: difficulties compiling 1.24_01

2001-01-26 Thread Mark A. Downing
On Fri, 26 Jan 2001, Doug MacEachern wrote: On Fri, 26 Jan 2001, Mark A. Downing wrote: and it appears that there is NO perlxsi.c in /apache_1.3.14/src/modules/perl hmm, i don't see how that's possible, mod_perl will not compile without it. UM... I just recompiled mod_perl and

Problems

2001-01-26 Thread David I Wolf
Not sure if this is the right list, but.. I'm running mod_perl on RedHat 7. I installed the new PHP updates and all of a sudden it broke mod_perl.. I get this in my error_log [Fri Jan 26 15:49:20 2001] [notice] child pid 7766 exit signal Segmentation fault (11) [Fri Jan 26 15:49:21 2001]

make mod_perl

2001-01-26 Thread Ilya
I am trying to build mod_perl with apache, but cant get through iunitial make. I got apache 1.3.14 src and mod_perl untared them, and run perl Makefile.PL APACHE_SRC=../apache/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 i get this: Will configure via APACI Enter `q' to stop search Please tell me

Re: make mod_perl

2001-01-26 Thread Ilya
when I run make test I get this: cc -c -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.0/i386-freebsd /CORE Symbol.c Symbol.xs: In function `XS_Apache__Symbol_cv_const_sv': Symbol.xs:106: `na' undeclared (first

Re: make mod_perl

2001-01-26 Thread Ilya
when I run make test I get this: cc -c -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.0/i386-freebsd /CORE Symbol.c Symbol.xs: In function `XS_Apache__Symbol_cv_const_sv': Symbol.xs:106: `na' undeclared (first

cvs commit: modperl/src/modules/perl Makefile

2001-01-26 Thread dougm
dougm 01/01/26 08:42:50 Modified:src/modules/perl Makefile Log: fix for the Config.pm overridding mechanism (used for stripping lfs flags, etc) Revision ChangesPath 1.13 +3 -3 modperl/src/modules/perl/Makefile Index: Makefile

cvs commit: modperl/t/net/perl api.pl

2001-01-26 Thread dougm
dougm 01/01/26 10:37:50 Modified:t/net/perl api.pl Log: disabling this new test for now, worrried it might not work on all architectures Revision ChangesPath 1.44 +1 -1 modperl/t/net/perl/api.pl Index: api.pl