PDA

View Full Version : Cannot Complete /cerb4/install/index.php?step=3


npanno
10-04-2007, 04:25 AM
Fresh install of Windows 2003 SP2, IIS, PHP 5.2.4. After entering database settings and clicking Test Settings, IIS throws a 500 Internal server error. I don't see any specifics in the browser window.

However this only happens when correct credentials are entered for the database. If anything is entered incorrect, we recieve the following error:

Database Connection Failed! Please check your settings and try again.

This occured using build 378 and 381 I believe.

afrosheen
10-04-2007, 07:23 PM
Go hunt through your server logs, there's got to be a specific error message the server throws (with your proper database details entered). I imagine this is the same problem that's plaguing the rest of us but I can't be sure until you look at your logs.

jstanden
10-04-2007, 09:40 PM
Hey there!

Which database driver are you using during installation?

npanno
10-05-2007, 03:24 AM
I've tried the lastest versions of both MySql and MySqli. Attached is the server logs from IIS. There is no more diagnostic information that I can see from here and the windows event log doesn't have any additional information.


2007-10-05 02:18:07 127.0.0.1 GET /cerb4/install/index.php - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.N ET+CLR+1.1.4322) 200 0 0
2007-10-05 02:18:07 127.0.0.1 GET /cerb4/install/install.css - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.N ET+CLR+1.1.4322) 200 0 0
2007-10-05 02:18:10 127.0.0.1 POST /cerb4/install/index.php - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.N ET+CLR+1.1.4322) 200 0 0
2007-10-05 02:18:12 127.0.0.1 POST /cerb4/install/index.php - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.N ET+CLR+1.1.4322) 200 0 0
2007-10-05 02:18:12 127.0.0.1 GET /cerb4/install/index.php step=3 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.N ET+CLR+1.1.4322) 200 0 0
2007-10-05 02:18:28 127.0.0.1 POST /cerb4/install/index.php - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.N ET+CLR+1.1.4322) 500 0 0

jstanden
10-05-2007, 09:09 PM
Try testing the database using pure MySQL functions:

dbtest.php:

<?php
require(getcwd() . '/framework.config.php');

if(false !== ($db = mysql_connect(APP_DB_HOST, APP_DB_USER, APP_DB_PASS))) {
mysql_select_db(APP_DB_DATABASE, $db);

if(false !== ($res = mysql_query("SHOW TABLES", $db))) {
echo "Success!";
exit;

} else {
die("ERROR: " . mysql_error($db));
}

} else {
die("ERROR: " . mysql_error($db));
}

?>


Just drop that file in your /cerb4/ directory and open it with the browser. It will help isolate where your 500 (Server Configuration) error is coming from.