Update of /cvsroot/mxbb/core/includes/db In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26107 Modified Files: firebird.php mssql.php mssql_odbc.php mysql.php mysql4.php mysqli.php oracle.php postgres.php sqlite.php Log Message: I fogot abot this when I disabled the error reporting in dbal files. Index: mysqli.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysqli.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysqli.php 11 Feb 2008 22:44:50 -0000 1.14 --- mysqli.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 408,411 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 408,414 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: sqlite.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/sqlite.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** sqlite.php 11 Feb 2008 22:44:50 -0000 1.14 --- sqlite.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 351,354 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 351,357 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: postgres.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/postgres.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** postgres.php 11 Feb 2008 22:44:50 -0000 1.14 --- postgres.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 427,430 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 427,433 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: mysql4.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql4.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysql4.php 11 Feb 2008 22:44:50 -0000 1.14 --- mysql4.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 428,431 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 428,434 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: firebird.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/firebird.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** firebird.php 11 Feb 2008 22:44:50 -0000 1.14 --- firebird.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 419,422 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 419,425 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: mssql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mssql.php 11 Feb 2008 22:44:50 -0000 1.14 --- mssql.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 412,415 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ! ?> --- 412,418 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ! ?> \ No newline at end of file Index: mysql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysql.php 11 Feb 2008 22:44:50 -0000 1.14 --- mysql.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 426,429 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 426,432 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: oracle.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/oracle.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** oracle.php 11 Feb 2008 22:44:50 -0000 1.14 --- oracle.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 457,460 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 457,463 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: mssql_odbc.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql_odbc.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mssql_odbc.php 11 Feb 2008 22:44:50 -0000 1.14 --- mssql_odbc.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 417,420 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 417,423 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file |