From d5f099dd24ef17578c8616dc253d90aaaf22e274 Mon Sep 17 00:00:00 2001 From: Brayan Osmar Pereyra Suxo Date: Tue, 23 Apr 2013 09:55:29 -0400 Subject: [PATCH] DOCSYSTEM Cambios en los mensajes de error_log en instalador Cambios en los mensajes de error_log en instalador --- workflow/engine/controllers/installer.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) 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); }