Projet

Général

Profil

Anomalie #16763

Mis à jour par Florian AZIZIAN il y a plus de 3 ans

Demo : message d'erreur lorsqu'on insère une pj depuis l'add : erreur soap 

 Preview : les pj depuis outlook ne sont pas importés, et il n'y a pas de message d'erreur 

 ~~~ json 

 { 
   "headers": { 
     "normalizedNames": {}, 
     "lazyUpdate": null 
   }, 
   "status": 500, 
   "statusText": "Internal Server Error", 
   "url": "https://demo.maarchcourrier.com/rest/plugins/outlook/attachments", 
   "ok": false, 
   "name": "HttpErrorResponse", 
   "message": "Http failure response for https://demo.maarchcourrier.com/rest/plugins/outlook/attachments: 500 Internal Server Error", 
   "error": { 
     "message": "Slim Application Error", 
     "error": [ 
       { 
         "type": "Error", 
         "code": 0, 
         "message": "Class 'SoapClient' not found", 
         "file": "/var/www/html/MaarchCourrier/vendor/jamesiarmes/php-ntlm/src/SoapClient.php", 
         "line": 13, 
         "trace": [ 
           "#0 /var/www/html/MaarchCourrier/vendor/composer/ClassLoader.php(444): include()", 
           "#1 /var/www/html/MaarchCourrier/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile('/var/www/html/M...')", 
           "#2 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('jamesiarmes\\\\Php...')", 
           "#3 /var/www/html/MaarchCourrier/vendor/php-ews/php-ews/src/Client.php(1603): spl_autoload_call('jamesiarmes\\\\Php...')", 
           "#4 /var/www/html/MaarchCourrier/vendor/php-ews/php-ews/src/Client.php(182): jamesiarmes\\PhpEws\\Client->initializeSoapClient()", 
           "#5 /var/www/html/MaarchCourrier/vendor/php-ews/php-ews/src/Client.php(1630): jamesiarmes\\PhpEws\\Client->getClient()", 
           "#6 /var/www/html/MaarchCourrier/vendor/php-ews/php-ews/src/Client.php(889): jamesiarmes\\PhpEws\\Client->makeRequest('GetItem', Object(jamesiarmes\\PhpEws\\Request\\GetItemType))", 
           "#7 /var/www/html/MaarchCourrier/src/app/external/outlook/controllers/EWSController.php(49): jamesiarmes\\PhpEws\\Client->GetItem(Object(jamesiarmes\\PhpEws\\Request\\GetItemType))", 
           "#8 /var/www/html/MaarchCourrier/src/app/external/outlook/controllers/OutlookController.php(240): Outlook\\controllers\\EWSController::getAttachments(Array)", 
           "#9 [internal function]: Outlook\\controllers\\OutlookController->saveEmailAttachments(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)", 

 ~~~ 

 1ère discussion ici : https://labs.maarch.org/maarch/MaarchCourrier/issues/1720 

Retour