From d9fe0e834f1b204fb6959f67a0a6bcbb1aba3c4c Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Wed, 7 May 2014 11:35:28 -0400 Subject: [PATCH] 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 --- workflow/engine/controllers/installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/controllers/installer.php b/workflow/engine/controllers/installer.php index 7d597b0de..1cc09e405 100755 --- a/workflow/engine/controllers/installer.php +++ b/workflow/engine/controllers/installer.php @@ -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 );