diff --git a/workflow/engine/controllers/installer.php b/workflow/engine/controllers/installer.php index eda59f6e6..2dd89f8ac 100644 --- a/workflow/engine/controllers/installer.php +++ b/workflow/engine/controllers/installer.php @@ -1372,8 +1372,6 @@ EOL; curl_setopt($ch, CURLOPT_TIMEOUT, 90); $output = curl_exec($ch); - error_log('1 logeo-----------------'); - error_log($output); curl_close($ch); /** @@ -1385,8 +1383,17 @@ EOL; // File to upload/post $postData['form[LANGUAGE_FILENAME]'] = "@".PATH_CORE."content/translations/processmaker.$lang.po"; - - curl_setopt($ch, CURLOPT_URL, "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import"); + $url = "$serv/sys{$workspace}/{$lang}/classic/setup/languages_Import"; + + error_log('2 lenguaje-----------------'); + + error_log('--- LENGUAJE'); + error_log($postData['form[LANGUAGE_FILENAME]']); + + error_log('--- URL'); + error_log($url); + + curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 0); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookiefile); @@ -1397,7 +1404,8 @@ EOL; curl_setopt($ch, CURLOPT_POSTFIELDS, $postData); curl_setopt($ch, CURLOPT_TIMEOUT, 90); $output = curl_exec($ch); - error_log('2 lenguaje-----------------'); + + error_log('-- RESP'); error_log($output); curl_close($ch); @@ -1431,8 +1439,6 @@ EOL; curl_setopt($ch, CURLOPT_TIMEOUT, 90); $output = curl_exec($ch); - error_log('3 skin-----------------'); - error_log($output); curl_close($ch); } @@ -1460,10 +1466,7 @@ EOL; curl_setopt($ch, CURLOPT_POSTFIELDS, $postData); curl_setopt($ch, CURLOPT_TIMEOUT, 90); - $output = curl_exec($ch); - error_log('4 plugin-----------------'); - error_log($output); curl_close($ch); }