BUG-14726 Error al conectar ProcessMaker con un... SOLVED

- even filtered by type "SUPER".
    - add validation in intall also a check for use the current user
This commit is contained in:
Marco Antonio Nina
2014-05-07 11:35:28 -04:00
parent 6b015ed3b3
commit d9fe0e834f

View File

@@ -567,7 +567,7 @@ class Installer extends Controller
if (! $query) {
$errorMessage = mysql_error( $this->link );
$this->installLog( G::LoadTranslation('ID_MYSQL_ERROR', SYS_LANG, Array($errorMessage) ) );
if (mysql_errno( $this->link) == 1410 ){
if (mysql_errno( $this->link) == 1410 || mysql_errno( $this->link) == 1132) {
$errorMessage .= '. ' . G::LoadTranslation('ID_INSTALL_USE_CURRENT_USER');
}
throw new Exception( $errorMessage );