Thread DBI und Bugzilla (3 answers)
Opened by bo at 2007-04-10 15:23

bo
 2007-04-10 15:23
#48260 #48260
User since
2006-05-09
76 Artikel
BenutzerIn
[default_avatar]
hallo community,

ich versuche gerade recht erfolglos, bugzilla auf einem windows-rechner zu installieren...
ich habe alle notwendigen module installiert und mich strikt an das howto gehalten, dennoch bricht das installations-/konfigurations-script checksetup.pl ohne fehlermeldung ab, dafür mit dem sehr aussagekräftigen dialog "Perl hat ein Problem festgestellt..." ;)

ich konnte den fehler eingrenzen, er tritt auf im modul Bugzilla::DB, in der sub db_new
Code: (dl )
my $self = DBI->connect($dsn, $user, $pass, $attributes) or die $DBI::errstr;

$dsn für connect sieht so aus:
Code: (dl )
DBI:Pg:host=localhost;dbname=template1;options='-c client_min_messages=warning'


ein problem scheint schon mal zu sein, dass die datenbank 'template1' bei postgres 8.2 jetzt 'postgres' heisst.
ein anpassen von $dbname ||= 'postgres' in Bugzilla::DB::Pg::new() hat leider keine änderung gebracht

meine konfiguration ist:
windows xp
perl 5.8.6
DBI 1.54
DBD::Pg 1.45
bugzilla 2.22.2
postgres 8.2

View full thread DBI und Bugzilla