X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUID.pm;h=67bb75fe38ee82d5843aad3013fb7a3b581f1940;hb=3c54c844c665ed108c7892a154fd3972fab1f3e5;hp=e042c05b1350dd5348dba31f905c1055b194cd78;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git 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; }