X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FUID.pm;h=67bb75fe38ee82d5843aad3013fb7a3b581f1940;hp=e042c05b1350dd5348dba31f905c1055b194cd78;hb=aed8ec35ccb9cdeb7ea0cb6ff2946f9d83d582f6;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm index e042c05b1..67bb75fe3 100644 --- a/FS/FS/UID.pm +++ b/FS/FS/UID.pm @@ -124,11 +124,11 @@ sub forksuidsetup { if ($confcount) { $use_confcompat = 0; }else{ - warn "NO CONFIGURATION RECORDS FOUND"; + die "NO CONFIGURATION RECORDS FOUND"; } } else { - warn "NO CONFIGURATION TABLE FOUND" unless $FS::Schema::setup_hack; + die "NO CONFIGURATION TABLE FOUND" unless $FS::Schema::setup_hack; } unless ( $callback_hack ) { @@ -153,6 +153,8 @@ sub myconnect { 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"; @@ -286,7 +288,7 @@ sub cgisetotaker { $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; }