In a nutshell :
___________________________
If you let a blank password for connecting to the DB, the install_config.php file does not contain a line to initialize "DB_PASS" => the connection does not work
___________________________
There is a variable passed via GET instead of POST (but I cannot find it right now, sorry)
___________________________
in ocdb.php :
function db_connect(){
if (!mysql_connect(DB_HOST,DB_USER,DB_PASS)){
ocSqlError(mysql_error());
exit();
}
mysql_select_db(DB_NAME);
mysql_query('SET NAMES utf8');
}
the line :
mysql_select_db(DB_NAME);
is useless since the DB is already selected, and it crashes my Apache. Can you delete it?
Also: can you change the
if (!mysql_connect(DB_HOST,DB_USER,DB_PASS)){
in order to have something like :
$MyHandle = mysql_connect(DB_HOST,DB_USER,DB_PASS)
if (!$MyHandle)){
PHP on Windows likes it better
________________________________
The first patch I posted on the other topic (concerning the handle for a DB connection that also crashes Apache) has not been applied.
Cheers