Merge pull request #2009 from hector-cortez/BUG-12759

BUG 12759 Problemas en las instalacion al momento de configurar el servidor MySql SOLVED
This commit is contained in:
julceslauhub
2013-08-28 08:39:06 -07:00

View File

@@ -1164,7 +1164,7 @@ class Installer extends Controller
$db_password = $_REQUEST['db_password']; $db_password = $_REQUEST['db_password'];
$fp = @fsockopen( $db_hostname, $db_port, $errno, $errstr, 30 ); $fp = @fsockopen( $db_hostname, $db_port, $errno, $errstr, 30 );
if (! $fp) { if (! $fp) {
$info->message .= G::LoadTranslation('ID_CONNECTION_ERROR', SYS_LANG, Array($errstr ($errno))); $info->message .= G::LoadTranslation('ID_CONNECTION_ERROR', SYS_LANG, Array("$errstr ($errno)"));
return $info; return $info;
} }
@@ -1204,7 +1204,7 @@ class Installer extends Controller
$fp = @fsockopen( $db_hostname, $db_port, $errno, $errstr, 30 ); $fp = @fsockopen( $db_hostname, $db_port, $errno, $errstr, 30 );
if (! $fp) { if (! $fp) {
$info->message .= G::LoadTranslation('ID_CONNECTION_ERROR', SYS_LANG, Array($errstr ($errno))); $info->message .= G::LoadTranslation('ID_CONNECTION_ERROR', SYS_LANG, Array("$errstr ($errno)"));
return $info; return $info;
} }