[Comoblog-commit] comoblog/_install step_1.php,1.2,1.3
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-04 03:18:37
|
Update of /cvsroot/comoblog/comoblog/_install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3004 Modified Files: step_1.php Log Message: RFE: 1280250 - Cleanup of mysql error reporting Index: step_1.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/_install/step_1.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- step_1.php 2 Sep 2005 01:06:14 -0000 1.2 +++ step_1.php 4 Oct 2005 03:18:29 -0000 1.3 @@ -50,8 +50,11 @@ $dbconn = @mysql_connect ($_POST['mysql_host'], $_POST['mysql_username'], $_POST['mysql_password']); if (!$dbconn) - $errors[] = 'Error connecting to mySQL server (' . mysql_error() . ')'; - + { + $errors[] = 'Error connecting to mySQL server'; + $errors[] = 'error reported: ' . mysql_error(); + } + $selectdb = @mysql_select_db ($_POST['mysql_dbname']); if (!$selectdb) $errors[] = 'Error selecting database (check database name)'; |