No te recomiendo usar la @ para "suprimir" el error es mejor hacer algo así:
Código php:
Ver originalpublic function __construct($_server = 'localhost', $_serverUser = 'root', $_serverPwd = null, $_serverDB = 'catalog2009') {
parent::__construct($_server, $_serverUser, $_serverPwd, $_serverDB);
if ($this->connect_error) {
die('<h2>There was an error connecting to the database.Please, contact system administrator.</h2>'); }
$this->success = true;
}
Saludos