if ($confcount) {
$use_confcompat = 0;
}else{
- warn "NO CONFIGURATION RECORDS FOUND";
+ die "NO CONFIGURATION RECORDS FOUND";
}
} else {
- warn "NO CONFIGURATION TABLE FOUND";
+ die "NO CONFIGURATION TABLE FOUND" unless $FS::Schema::setup_hack;
}
unless ( $callback_hack ) {
my $handle = DBI->connect( getsecrets(@_), { 'AutoCommit' => 0,
'ChopBlanks' => 1,
'ShowErrorStatement' => 1,
+ 'pg_enable_utf8' => 1,
+ #'mysql_enable_utf8' => 1,
}
)
or die "DBI->connect error: $DBI::errstr\n";
$user = lc ( $cgi->connection->user );
} else {
die "fatal: Can't get REMOTE_USER! for cgi $cgi - you need to setup ".
- "Apache user authentication as documented in httemplate/docs/install.html";
+ "Apache user authentication as documented in the installation instructions";
}
$user;
}