in reply to Re: dbh connections: stumped!
in thread dbh connections: stumped!
1. I've stopped using CGI and "fatalsToBrowser".
2. I've eliminate the "die" portion of the connect string.
3. I contacted my web hosting provider, but got a terse "we don't debug code" type of reply.
4. I re-uploaded the code after running dos2unix.
Some more info: the connection line is
If I mangle the first argument, I get a "Can't connect to database" error, just like I should. If I mangle either of the other two arguments, I get the same results as in my original message, a blank Firefox document or a "This page cannot be displayed" IE error. This time, however, the following lines appear in my error log (the Apache error log):my $dbh = DBI->connect('dbi:mysql:database=<i>dbname</i>;host=localhos +t','<i>uname</i>','<i>pword</i>');
Stil stumped, but again, thanks for the help so far. KevinUse of uninitialized value in split at usr/local/lib/perl/5.8.4/Apache +.pm line 172.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: dbh connections: stumped!
by wfsp (Abbot) on Mar 12, 2006 at 07:47 UTC | |
|
Re^3: dbh connections: stumped!
by graff (Chancellor) on Mar 13, 2006 at 02:29 UTC |