diff --git a/application/modules/default/controllers/AuthController.php b/application/modules/default/controllers/AuthController.php index 7b5d9ff11..966e03173 100644 --- a/application/modules/default/controllers/AuthController.php +++ b/application/modules/default/controllers/AuthController.php @@ -106,7 +106,7 @@ class AuthController extends Zend_Controller_Action try { $ws = new Scores_Ws_Client('gestion', '0.3'); $InfosLogin = $ws->getInfosLogin($parameters); - $this->logger->info($InfosLogin); + $this->logger->info(print_r($InfosLogin,1)); if ( is_string($InfosLogin) || $InfosLogin->error->errnum != 0 ) { $this->view->Error = true; } else { diff --git a/application/modules/default/controllers/DashboardController.php b/application/modules/default/controllers/DashboardController.php index 441dede58..c29638cb5 100644 --- a/application/modules/default/controllers/DashboardController.php +++ b/application/modules/default/controllers/DashboardController.php @@ -792,7 +792,7 @@ class DashboardController extends Zend_Controller_Action $user = $ws->getUser($login); $options = json_decode($user, true); - $this->logger->info($user); + $this->logger->info(print_r($user,1)); $this->view->assign('droits', explode(' ',$options['droits'])); $this->view->assign('prefs', explode(' ',$options['pref'])); @@ -878,7 +878,7 @@ class DashboardController extends Zend_Controller_Action } } - $this->logger->info($output); + $this->logger->info(print_r($output,1)); $this->view->assign('output', $output); } @@ -993,7 +993,7 @@ class DashboardController extends Zend_Controller_Action //Liste des periodes de facturation $contrats = $ws->getClientTarifs($idClient); - $this->logger->info($contrats); + $this->logger->info(print_r($contrats,1)); $this->view->assign('contrats', $contrats->item); //Liste des services diff --git a/application/modules/default/controllers/EvaluationController.php b/application/modules/default/controllers/EvaluationController.php index f4812247d..17749c17b 100644 --- a/application/modules/default/controllers/EvaluationController.php +++ b/application/modules/default/controllers/EvaluationController.php @@ -465,7 +465,7 @@ class EvaluationController extends Zend_Controller_Action $email = $request->getParam('email', ''); $infos = $ws->getRapport($siren, 3, 0, $plus, $ref, $encours, $email); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if ($infos === false) { $this->forward('soap', 'error'); } diff --git a/application/modules/default/controllers/FinanceController.php b/application/modules/default/controllers/FinanceController.php index 33a7c916a..6f17ea933 100644 --- a/application/modules/default/controllers/FinanceController.php +++ b/application/modules/default/controllers/FinanceController.php @@ -746,7 +746,7 @@ class FinanceController extends Zend_Controller_Action if ($result === false) { $this->view->msg = "Erreur lors de l'enregistrement des informations"; } else { - $this->logger->info($result); + $this->logger->info(printr_($result,1)); $this->view->ref = strtoupper($result); $this->view->fileref = $params['siren'] . '_' . $params['format'] . '_' . substr($params['dateCloture'],6,4) . substr($params['dateCloture'],3,2) . diff --git a/application/modules/default/controllers/IdentiteController.php b/application/modules/default/controllers/IdentiteController.php index 1319d391b..83647e030 100644 --- a/application/modules/default/controllers/IdentiteController.php +++ b/application/modules/default/controllers/IdentiteController.php @@ -465,7 +465,7 @@ class IdentiteController extends Zend_Controller_Action $ws = new WsScores(); $infos = $ws->getEtablissementsGeo($siren, $actif, $position, $nbAffichage); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if ($infos === false) $this->forward('soap', 'error'); $etabs = $infos->result->item; @@ -531,7 +531,7 @@ class IdentiteController extends Zend_Controller_Action 'gps' => $gps, ); } - $this->logger->info($marks); + $this->logger->info(print_r($marks,1)); } $this->view->assign('marks', json_encode($marks)); } @@ -1081,7 +1081,7 @@ class IdentiteController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getLienRef($id); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); $this->view->assign('result', $result); $this->view->assign('idFiche', $id); @@ -1497,7 +1497,7 @@ class IdentiteController extends Zend_Controller_Action $result = $ws->getGroupesArbo($siren, $pctMin, 10, $stopAtIsin); if ( $result!==false ) { $infos = json_decode($result, true); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if (count($infos)>0) { $name = $infos['name']; @@ -1545,7 +1545,7 @@ class IdentiteController extends Zend_Controller_Action if ( $result!==false ) { $infos = json_decode($result, true); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if (count($infos)>0) { $sirenTxt = substr($infos['siren'],0,3).' '.substr($infos['siren'],3,3).' '.substr($infos['siren'],6,3); @@ -1662,7 +1662,7 @@ class IdentiteController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getContactEt($companyId, $filter); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); if ($result->nbReponses>0) { $this->view->assign('contacts', $result->result->item); @@ -1726,7 +1726,7 @@ class IdentiteController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getEntrepriseAvisRncs($siren); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); if ( $result === false ) { $this->view->assign('error', true); @@ -1905,7 +1905,7 @@ class IdentiteController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getEntrepriseAvisRncs($siren); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); if ( $result === false ) { $this->view->assign('error', true); diff --git a/application/modules/default/controllers/JuridiqueController.php b/application/modules/default/controllers/JuridiqueController.php index 5e13b22ed..e19178aa5 100644 --- a/application/modules/default/controllers/JuridiqueController.php +++ b/application/modules/default/controllers/JuridiqueController.php @@ -108,7 +108,7 @@ class JuridiqueController extends Zend_Controller_Action $infos = $ws->getAnnoncesLegales($siren, $idAnn, null, $position, $nbAffichage); break; } - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if ($infos === false) { $this->forward('soap', 'error'); } @@ -169,7 +169,7 @@ class JuridiqueController extends Zend_Controller_Action foreach($objAnnonces->$classType as $ann) { $annonces[] = $objAnnonces->getAnnonceResume($ann); } - $this->logger->info($annonces); + $this->logger->info(print_r($annonces,1)); $this->view->assign('annonces', $annonces); } $this->view->headScript()->appendFile($this->theme->pathScript.'/annonces.js', 'text/javascript'); @@ -245,7 +245,7 @@ class JuridiqueController extends Zend_Controller_Action $infos = $ws->getAnnoncesLegales($siren, $idAnn, null, $position, $nbAffichage); break; } - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if ($infos === false) { $this->forward('soap', 'error'); } @@ -274,7 +274,7 @@ class JuridiqueController extends Zend_Controller_Action foreach($objAnnonces->$classType as $ann) { if($ann->id==$idAnn) break; } - $this->logger->info($ann); + $this->logger->info(print_r($ann,1)); $annonce = array( 'Desc' => $objAnnonces->getAnnonceDesc($ann), 'Entree' => $objAnnonces->getAnnonceEntree($ann), @@ -525,7 +525,7 @@ class JuridiqueController extends Zend_Controller_Action if ($infos === false) $this->_forward('soap', 'error'); $competences = $infos->result->item; - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if( $type=='tri' || $type=='cfe' ) { $i=0; foreach($competences as $comp){ @@ -560,7 +560,7 @@ class JuridiqueController extends Zend_Controller_Action $ws = new WsScores(); $infos = $ws->getListeConventions($siren); $conventions = $infos->result->item; - $this->logger->info($conventions); + $this->logger->info(print_r($conventions,1)); $this->view->assign('conventions', $conventions); $this->view->assign('exportObjet', $infos); } @@ -590,7 +590,7 @@ class JuridiqueController extends Zend_Controller_Action $this->view->assign('marques', $marques); $this->view->assign('idObject', $idObject); $this->view->assign('exportObjet', $marques); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); } /** @@ -676,7 +676,7 @@ class JuridiqueController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getAnnoncesNum($siren); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); $numWS = array(); if (count($result->item)>0) { foreach ($result->item as $item) { diff --git a/application/modules/default/controllers/MandataireController.php b/application/modules/default/controllers/MandataireController.php index 1abbba07e..3bd250911 100644 --- a/application/modules/default/controllers/MandataireController.php +++ b/application/modules/default/controllers/MandataireController.php @@ -92,7 +92,7 @@ class MandataireController extends Zend_Controller_Action if ($idMandataire != '') { $idMandataire = (int)substr($idMandataire,1); $reponse = $ws->getMandataire($idMandataire); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); if ($reponse!==false) { $tabMandataires = json_decode($reponse, true); } else { diff --git a/application/modules/default/controllers/PiecesController.php b/application/modules/default/controllers/PiecesController.php index 4d3a94b16..b347020ac 100644 --- a/application/modules/default/controllers/PiecesController.php +++ b/application/modules/default/controllers/PiecesController.php @@ -141,7 +141,7 @@ class PiecesController extends Zend_Controller_Action //Affichage des actes disponible $ws = new WsScores(); $responses = $ws->getPiecesActes($siren); - $this->logger->info($responses); + $this->logger->info(print_r($responses,1)); /* * Construire la réponse pour affichage @@ -836,10 +836,10 @@ class PiecesController extends Zend_Controller_Action $params->companyId = $siren; $result = $ws->getAssoActes($params); $actes = array(); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); if (count($result->item) > 0) { foreach ($result->item as $item) { - $this->logger->info($item); + $this->logger->info(print_r($item,1)); if ( $user->checkPerm('actes') ) { $href = $this->view->url(array('controller'=>'pieces', 'action'=>'associationacte', 'siren'=>$siren, 'date'=> $item->Date), 'default', true); @@ -936,7 +936,7 @@ class PiecesController extends Zend_Controller_Action $ws = new WsScores(); $reponse = $ws->getPiecesBilans($siren); $listBilans = $reponse->result->item; - $this->logger->info($listBilans); + $this->logger->info(print_r($listBilans,1)); $decision = ''; foreach ( $listBilans as $item) { diff --git a/application/modules/default/controllers/PrintController.php b/application/modules/default/controllers/PrintController.php index adca9994a..66b0fb5db 100644 --- a/application/modules/default/controllers/PrintController.php +++ b/application/modules/default/controllers/PrintController.php @@ -219,7 +219,7 @@ class PrintController extends Zend_Controller_Action } $this->view->assign('controller', $elements['controller']); $this->view->assign('action', $elements['action']); - $this->logger->info($elements['params']); + $this->logger->info(print_r($elements['params'],1)); $this->view->assign('params', $elements['params']); } diff --git a/application/modules/default/controllers/RechercheController.php b/application/modules/default/controllers/RechercheController.php index ebbaa233e..5549a0bce 100644 --- a/application/modules/default/controllers/RechercheController.php +++ b/application/modules/default/controllers/RechercheController.php @@ -296,7 +296,7 @@ class RechercheController extends Zend_Controller_Action $request = $this->getRequest(); if ($request->isPost() && $form->isValid($request->getParams())) { - $this->logger->info($form->getValues()); + $this->logger->info(print_r($form->getValues(),1)); $c = Zend_Registry::get('config'); $path = $c->profil->path->shared.'/persist/log'; diff --git a/application/modules/default/controllers/SaisieController.php b/application/modules/default/controllers/SaisieController.php index 06647b63f..f91ee6b83 100644 --- a/application/modules/default/controllers/SaisieController.php +++ b/application/modules/default/controllers/SaisieController.php @@ -1362,7 +1362,7 @@ class SaisieController extends Zend_Controller_Action $params['step'] ); - $this->logger->info($response); + $this->logger->info(print_r($response,1)); if (is_int($response)) { $this->view->assign('result', array('status'=>'OK')); @@ -1451,7 +1451,7 @@ class SaisieController extends Zend_Controller_Action if ( $lienRef !== null ) { $this->logger->info('lienRef:'.$lienRef); $result = $ws->getLienRef($lienRef); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); $rs = $result->raisonSociale; //Override session session if ( intval($result->siren) != 0 ) { @@ -1488,7 +1488,7 @@ class SaisieController extends Zend_Controller_Action $result = $ws->getSaisieLien($idLien); $infos = json_decode($result, true); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if ($type=='actionnaire') { $this->view->assign('id1', $infos['idPar']); @@ -1529,7 +1529,7 @@ class SaisieController extends Zend_Controller_Action $result = $ws->getSaisieLien($idLien); $infos = json_decode($result, true); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if ($type=='actionnaire') { $this->view->assign('id1', $infos['idPar']); @@ -1631,7 +1631,7 @@ class SaisieController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->searchLienRef($query, $type); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); $output = array(); if (count($result->item)>0) { foreach ($result->item as $item) { @@ -1809,7 +1809,7 @@ class SaisieController extends Zend_Controller_Action 'bilEE' => $params['bilEE'], ); - $this->logger->info($params); + $this->logger->info(print_r($params,1)); $ws = new WsScores(); $idNewLien = $ws->setLienRef(json_encode($infos), $params['idLien']); @@ -1884,7 +1884,7 @@ class SaisieController extends Zend_Controller_Action } } } - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); $idNewLien = $ws->setLien(json_encode($infos), $params['idLien']); @@ -2147,7 +2147,7 @@ class SaisieController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getIdentite($siren); - $this->logger->info($result); + $this->logger->info(print_r($result,1)); $this->view->assign('nom',$result->Nom); $this->view->assign('sigle',$result->sigle); @@ -2219,7 +2219,7 @@ class SaisieController extends Zend_Controller_Action $items = json_decode($result, true); if ( $items!==null ) { $this->logger->info('getSaisieLienRef id='.$id); - $this->logger->info($items); + $this->logger->info(print_r($items,1)); //Get country code if ($items->adresse_pays!='FRA') { @@ -2227,8 +2227,6 @@ class SaisieController extends Zend_Controller_Action $this->view->assign('identifiant', $result->item); } - $this->logger->info($items); - if (count($items)>0) { foreach( $items as $key => $val ) { switch ($key) { @@ -2719,7 +2717,7 @@ class SaisieController extends Zend_Controller_Action $ws = new WsScores(); $result = $ws->getSaisieContactEt($id); $data = json_decode($result, true); - $this->logger->info($data); + $this->logger->info(print_r($data,1)); $this->view->assign('id', $data['id']); $this->view->assign('siret', str_pad($data['siren'],9,'0',STR_PAD_LEFT).str_pad($data['nic'],5,'0',STR_PAD_LEFT)); $this->view->assign('type', $data['typeTel']); @@ -2876,7 +2874,7 @@ class SaisieController extends Zend_Controller_Action if ( $request->isXmlHttpRequest() ) { $this->_helper->layout()->disableLayout(); } - $this->logger->info($request->getParams()); + $this->logger->info(print_r($request->getParams(),1)); $mode = $request->getParam('mode'); // --- Diplay form to re-validate geocode diff --git a/application/modules/default/controllers/SurveillanceController.php b/application/modules/default/controllers/SurveillanceController.php index 279888f11..cdd08d60c 100644 --- a/application/modules/default/controllers/SurveillanceController.php +++ b/application/modules/default/controllers/SurveillanceController.php @@ -249,7 +249,7 @@ class SurveillanceController extends Zend_Controller_Action $filtre->detail = false; $infos = $ws->getSurveillances($filtre); - $this->logger->info($infos); + $this->logger->info(print_r($infos,1)); if (property_exists($infos->result, 'item') && count($infos->result->item)>0) { $titre = 'Ajouter une surveillance'; diff --git a/application/modules/default/controllers/UserController.php b/application/modules/default/controllers/UserController.php index 5b0a82f45..b62ec9609 100644 --- a/application/modules/default/controllers/UserController.php +++ b/application/modules/default/controllers/UserController.php @@ -102,9 +102,9 @@ class UserController extends Zend_Controller_Action } $ws = new WsScores(); $this->logger->info('setInfosLogin'); - $this->logger->info($options); + $this->logger->info(print_r($options,1)); $reponse = $ws->setInfosLogin($login, $action, $options); - $this->logger->info($response); + $this->logger->info(print_r($response,1)); $isProfilUpdated = true; $message = 'Erreur lors de la mise à jour du compte !'; @@ -487,7 +487,7 @@ class UserController extends Zend_Controller_Action //Auth error else { $this->view->message = ''; - $this->logger->info($result); + $this->logger->info(print_r($result)); foreach ($result->getMessages() as $message) { $this->view->message.= $message."
"; } diff --git a/library/Infogreffe/Infogreffe.php b/library/Infogreffe/Infogreffe.php index f4b790f81..07a39bdb3 100644 --- a/library/Infogreffe/Infogreffe.php +++ b/library/Infogreffe/Infogreffe.php @@ -631,12 +631,12 @@ class Infogreffe $this->logger->info('Detect fichier : '.$sql->__toString()); $result = $actesM->fetchRow($sql); if ( null !== $result ) { - $this->logger->info($result); + $this->logger->info(print_r($result,1)); $fichier = $this->pathData.$this->actePath($ref).$result->file; $this->logger->info($fichier); if ( file_exists($fichier) ) { - $this->logger->info($acte); + $this->logger->info(print_r($acte,1)); if ($result->type != $acte['type_acte'] && $result->type2 == '') { $this->logger->info('Update Database'); //Add to the database diff --git a/library/Scores/Auth/Adapter/Ws.php b/library/Scores/Auth/Adapter/Ws.php index 6adc74580..b1b079b57 100644 --- a/library/Scores/Auth/Adapter/Ws.php +++ b/library/Scores/Auth/Adapter/Ws.php @@ -96,7 +96,7 @@ class Scores_Auth_Adapter_Ws implements Zend_Auth_Adapter_Interface $InfosLogin = $ws->getInfosLogin($parameters); $this->logger->info(__CLASS__ . ' : '.__METHOD__); - $this->logger->info($InfosLogin); + $this->logger->info(print_r($InfosLogin,1)); // --- Renvoi if ( is_string($InfosLogin) || $InfosLogin->error->errnum != 0 ) { $message = $InfosLogin; diff --git a/library/Scores/IdentiteProcol.php b/library/Scores/IdentiteProcol.php index a81ef9f24..91457d156 100644 --- a/library/Scores/IdentiteProcol.php +++ b/library/Scores/IdentiteProcol.php @@ -49,7 +49,7 @@ class IdentiteProcol } } } - $this->logger->info($this->annonces); + $this->logger->info(print_r($this->annonces,1)); $this->view = new Zend_View(); } diff --git a/library/Scores/RapportComment.php b/library/Scores/RapportComment.php index 9db9e7ce9..a8e047350 100644 --- a/library/Scores/RapportComment.php +++ b/library/Scores/RapportComment.php @@ -322,7 +322,7 @@ class RapportComment //Récupération des couleurs $pattern = '/([a-z0-9]{3,4})/i'; if ( preg_match_all($pattern, $listeCouleurs, $matches) ) { - $this->logger->info($matches); + $this->logger->info(print_r($matches,1)); $nbCouleurs = count($matches[1]); for($i=0;$i<$nbCouleurs;$i++){ $this->graphCouleurs[] = $assocNomCouleurs[$matches[1][$i]]; @@ -507,7 +507,7 @@ class RapportComment $this->logger->info('Histo - id : '.$id); $this->logger->info('Histo - titre : '.$titre); $this->logger->info('Histo - strRatios : '.$strRatios); - $this->logger->info($this->ratiosEntrep); + $this->logger->info(print_r($this->ratiosEntrep,1)); // --- Gestion des couleurs if(count($this->graphCouleurs)>0){ $couleurs = $this->graphCouleurs; diff --git a/library/Scores/Ws/Client.php b/library/Scores/Ws/Client.php index 86c833fcf..991baedfd 100644 --- a/library/Scores/Ws/Client.php +++ b/library/Scores/Ws/Client.php @@ -147,7 +147,7 @@ class Scores_Ws_Client extends Zend_Soap_Client } $methodConfig = $this->config[$name]; - $this->logger->info($methodConfig); + $this->logger->info(print_r($methodConfig,1)); // --- Cache $cacheEnable = false; if ( array_key_exists('cache', $methodConfig) ) { @@ -173,7 +173,7 @@ class Scores_Ws_Client extends Zend_Soap_Client // --- Debug if ( array_key_exists('debug', $methodConfig) ) { $this->logger->info(__CLASS__.'->'.$name); - $this->logger->info($arguments); + $this->logger->info(print_r($arguments,1)); } try { @@ -182,7 +182,7 @@ class Scores_Ws_Client extends Zend_Soap_Client // --- Debug if ( array_key_exists('debug', $methodConfig) ) { - $this->logger->info($response); + $this->logger->info(print_r($response,1)); } // --- Cache diff --git a/library/Scores/WsScores.php b/library/Scores/WsScores.php index 8f956eb50..bea3960d0 100644 --- a/library/Scores/WsScores.php +++ b/library/Scores/WsScores.php @@ -675,7 +675,7 @@ class WsScores $client = $this->loadClient('gestion'); try { $reponse = $client->getServiceUsers($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); return $reponse->getServiceUsersResult; } catch (SoapFault $fault) { $this->logger->info($fault->faultcode.':'.$fault->faultstring); @@ -973,7 +973,7 @@ class WsScores $client = $this->loadClient('pieces'); try { $reponse = $client->getBilan($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); return $reponse->getBilanResult; } catch (SoapFault $fault) { $this->logger->info($fault->faultcode.':'.$fault->faultstring); @@ -996,7 +996,7 @@ class WsScores $client = $this->loadClient('pieces'); try { $reponse = $client->getActe($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); return $reponse->getActeResult; } catch (SoapFault $fault) { $this->logger->info($fault->faultcode.':'.$fault->faultstring); @@ -1089,7 +1089,7 @@ class WsScores $client = $this->loadClient('gestion'); try { $reponse = $client->setCGU($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); return $reponse->setCGUResult; } catch(SoapFault $fault) { $this->soaperror(__FUNCTION__, $fault, $client->__getLastRequest(), $client->__getLastResponse()); @@ -1129,7 +1129,7 @@ class WsScores $client = $this->loadClient('gestion'); try { $reponse = $client->getEmail($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); return $reponse->getEmailResult; } catch (SoapFault $fault) { $this->soaperror(__FUNCTION__, $fault, $client->__getLastRequest(), $client->__getLastResponse()); @@ -2339,7 +2339,7 @@ class WsScores $client = $this->loadClient('entreprise'); try { $reponse = $client->getAnnoncesLegales($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); if ($this->cacheWrite) { $cache->deletefile(); $cache->setBlock($reponse->getAnnoncesLegalesResult); @@ -3128,7 +3128,7 @@ class WsScores return $reponse->setCmdAssoResult; } catch (SoapFault $fault) { $this->soaperror(__FUNCTION__, $fault, $client->__getLastRequest(), $client->__getLastResponse()); - $this->logger->info($fault); + $this->logger->info(print_r($fault,1)); //Placer exception pour affichage message return false; } @@ -3181,7 +3181,7 @@ class WsScores return $fault->getMessage(); } else { $this->soaperror(__FUNCTION__, $fault, $client->__getLastRequest(), $client->__getLastResponse()); - $this->logger->info($fault); + $this->logger->info(print_r($fault,1)); //Placer exception pour affichage message return false; @@ -3245,11 +3245,11 @@ class WsScores try { $client = $this->loadClient('gestion'); $reponse = $client->getNextLogin($params); - $this->logger->info($reponse); + $this->logger->info(print_r($reponse,1)); return $reponse->getNextLoginResult; } catch (SoapFault $fault) { $this->soaperror(__FUNCTION__, $fault, $client->__getLastRequest(), $client->__getLastResponse()); - $this->logger->info($fault); + $this->logger->info(print_r($fault,1)); //Placer exception pour affichage message return false; }