Changeset 16


Ignore:
Timestamp:
10/25/04 17:32:50 (20 years ago)
Author:
Kris Deugau
Message:

/trunk/cgi-bin/IPDB.pm:

Remove CommonWeb.pm dependency from IPDB.pm, so that it
doesn't crash on DB errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r8 r16  
    4949
    5050  if (!$dbh) {
    51     printError("Cannot connect to the database");
     51    print "Cannot connect to the database!";
    5252  } else {
    5353    # it connects, try a stmt.
     
    5959      return 1;
    6060    } else {
    61       printHeader('');
    62       printError("Connected to the database, but could not execute test statement sth->errstr()");
     61      print "Connected to the database, but could not execute test statement.  ".$sth->errstr();
    6362    }
    6463  }
Note: See TracChangeset for help on using the changeset viewer.