Re: modperl and DBI or DBD with mysql

2006-02-10 Thread Derek Robson
At 06:10 a.m. 5/02/2006, Frank Wiles wrote: On Sat, 04 Feb 2006 20:45:05 +1300 Derek Robson <[EMAIL PROTECTED]> wrote: > I am new to the world of modperl. > > Any help would be nice. > > I have some perl code that runs fine from the command line but not > with modper

Re: modperl and DBI or DBD with mysql

2006-02-05 Thread Derek Robson
/02/2006, Michael Peters wrote: Derek Robson wrote: > > > print "check1"; > my $dbArgs = { RaiseError => 1, AutoCommit => 0 , TraceLevel => 3 , > PrintError => 1 }; > print "check2"; > my $dbh = DBI->connect("DBI:mysql:database

Re: modperl and DBI or DBD with mysql

2006-02-05 Thread Derek Robson
print "check1"; my $dbArgs = { RaiseError => 1, AutoCommit => 0 , TraceLevel => 3 , PrintError => 1 }; print "check2"; my $dbh = DBI->connect("DBI:mysql:database=answerguy;", "robsonde", "ur4xgod",$dbArgs ) or die "Cannot connect to database: $!"; print "check3"

Re: modperl and DBI or DBD with mysql

2006-02-05 Thread Derek Robson
TraceLevel => 3 }; > my$dbh = DBI->connect( $db, $dbUser, $dbPass , $dbArgs ); > > while you `tail -f` the errorlog ( /usr/local/apache2/log/error_log > on my system ) > > the tracelevel will show you exactly what's going on within DBI. > > On Feb 4, 2006, at

Re: modperl and DBI or DBD with mysql

2006-02-05 Thread Derek Robson
same result, still no errors. At 05:23 p.m. 5/02/2006, Malcolm J Harwood wrote: On Saturday 04 February 2006 02:45 am, Derek Robson wrote: > DBI->connect("DBI:mysql:database=answerguy;host=elmo.elmo.theanswerguy.co.n >z", "robsonde", "ur4xgod", I don&#x

Re: modperl and DBI or DBD with mysql

2006-02-04 Thread Derek Robson
error_log on my system ) the tracelevel will show you exactly what's going on within DBI. On Feb 4, 2006, at 5:40 PM, Derek Robson wrote: that did not help, still no errors, still not good output. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.

Re: modperl and DBI or DBD with mysql

2006-02-04 Thread Derek Robson
that did not help, still no errors, still not good output. At 06:10 a.m. 5/02/2006, Frank Wiles wrote: On Sat, 04 Feb 2006 20:45:05 +1300 Derek Robson <[EMAIL PROTECTED]> wrote: > I am new to the world of modperl. > > Any help would be nice. > > I have some perl code th

modperl and DBI or DBD with mysql

2006-02-03 Thread Derek Robson
I am new to the world of modperl. Any help would be nice. I have some perl code that runs fine from the command line but not with modperl. #!/usr/local/bin/perl use strict; use DBI; print "Content-type: text/plain\n\n"; print "check1"; # Connect to the database. my $dbh = DBI->connect("

Re: ld.so: Undefined symbol "_perl_get_sv"

2006-01-31 Thread Derek Robson
I cant find a libperl.so on my system at all. % find / -name "libperl.so" % any other thoughts?? At 01:21 p.m. 1/02/2006, Philippe M. Chiasson wrote: Derek Robson wrote: > looking for help with a setting up mod_perl > > openbsd-3.1 on x86 > [...] > this is the

ld.so: Undefined symbol "_perl_get_sv"

2006-01-28 Thread Derek Robson
looking for help with a setting up mod_perl openbsd-3.1 on x86 this is what i have in my httpd.conf __ LoadModule perl_module modules/mod_perl.so Alias /perl/ /var/www/answerguy/perl/ SetHandler perl-scr