Jump to content

Edit History

8enrico5

8enrico5

1 hour ago, Tanzo.it said:

Ci sono caratteri accentati per caso?

La  versione di PHP non è la più recente (della 7.1), attualmente siamo alla 7.1.26, ma sarebbe apprezzabile già la 7.1.20/22.

Potrebbe essere anche un 'bug' o una configurazione di PHP fatta da parte di Aruba più restrittiva.

 

Hai modo di fare una prova facendo uno switch ad un'altra versione di PHP, magari provando la 7.2.x

😉

 

8enrico5

8enrico5

1 hour ago, Tanzo.it said:

Ci sono caratteri accentati per caso?

La  versione di PHP non è la più recente (della 7.1), attualmente siamo alla 7.1.26, ma sarebbe apprezzabile già la 7.1.20/22.

Potrebbe essere anche un 'bug' o una configurazione di PHP fatta da parte di Aruba più restrittiva.

 

Hai modo di fare una prova facendo uno switch ad un'altra versione di PHP, magari provando la 7.2.x

😉

nessun accento....

purtroppo l'ultima versione disponibile sul mio server è quella 7.1.11 e ho selezionato Impostazione ottimizzata per l'utilizzo di PrestaShop >= 1.7

qui sotto incollo il log completo.... GRAZIE MILLE PER L'AIUTO

 

Swift_RfcComplianceException

  1.      */
  2.     private function _assertValidAddress($address)
  3.     {
  4.         if (!preg_match('/^'.$this->getGrammar()->getDefinition('addr-spec').'$/D',
  5.             $address)) {
  6.             throw new Swift_RfcComplianceException(
  7.                 'Address in mailbox given ['.$address.
  8.                 '] does not comply with RFC 2822, 3.6.2.'
  9.                 );
  10.         }
  11.     }
Swift_Mime_Headers_MailboxHeader->_assertValidAddress('nome.cognome@')in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php (line 261)
  1.                 $name $value;
  2.             } else {
  3.                 $address $value;
  4.                 $name null;
  5.             }
  6.             $this->_assertValidAddress($address);
  7.             $actualMailboxes[$address] = $name;
  8.         }
  9.         return $actualMailboxes;
  10.     }
Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(array('nome.cognome@' => ''))in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php (line 106)
  1.      *
  2.      * @throws Swift_RfcComplianceException
  3.      */
  4.     public function setNameAddresses($mailboxes)
  5.     {
  6.         $this->_mailboxes $this->normalizeMailboxes((array) $mailboxes);
  7.         $this->setCachedValue(null); //Clear any cached value
  8.     }
  9.     /**
  10.      * Get the full mailbox list of this Header as an array of valid RFC 2822 strings.
Swift_Mime_Headers_MailboxHeader->setNameAddresses(array('nome.cognome@' => ''))in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php (line 63)
  1.      *
  2.      * @throws Swift_RfcComplianceException
  3.      */
  4.     public function setFieldBodyModel($model)
  5.     {
  6.         $this->setNameAddresses($model);
  7.     }
  8.     /**
  9.      * Get the model for the field body.
  10.      *
Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(array('nome.cognome@' => ''))in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderFactory.php (line 58)
  1.      */
  2.     public function createMailboxHeader($name$addresses null)
  3.     {
  4.         $header = new Swift_Mime_Headers_MailboxHeader($name$this->_encoder$this->_grammar);
  5.         if (isset($addresses)) {
  6.             $header->setFieldBodyModel($addresses);
  7.         }
  8.         $this->_setHeaderCharset($header);
  9.         return $header;
  10.     }
Swift_Mime_SimpleHeaderFactory->createMailboxHeader('To', array('nome.cognome@' => ''))in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php (line 68)
  1.      * @param array|string $addresses
  2.      */
  3.     public function addMailboxHeader($name$addresses null)
  4.     {
  5.         $this->_storeHeader($name,
  6.         $this->_factory->createMailboxHeader($name$addresses));
  7.     }
  8.     /**
  9.      * Add a new Date header using $timestamp (UNIX time).
  10.      *
Swift_Mime_SimpleHeaderSet->addMailboxHeader('To', array('nome.cognome@' => ''))in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php (line 329)
  1.         if (!is_array($addresses) && isset($name)) {
  2.             $addresses = array($addresses => $name);
  3.         }
  4.         if (!$this->_setHeaderFieldModel('To', (array) $addresses)) {
  5.             $this->getHeaders()->addMailboxHeader('To', (array) $addresses);
  6.         }
  7.         return $this;
  8.     }
Swift_Mime_SimpleMessage->setTo(array('nome.cognome@' => ''))in vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php (line 305)
  1.     public function addTo($address$name null)
  2.     {
  3.         $current $this->getTo();
  4.         $current[$address] = $name;
  5.         return $this->setTo($current);
  6.     }
  7.     /**
  8.      * Set the to addresses of this message.
  9.      *
Swift_Mime_SimpleMessage->addTo('nome.cognome@', '')in classes/Mail.php (line 317)
  1.             $toPlugin $to[0];
  2.         } else {
  3.             /* Simple recipient, one address */
  4.             $toPlugin $to;
  5.             $toName = (($toName == null || $toName == $to) ? '' self::mimeEncode($toName));
  6.             $message->addTo(self::toPunycode($to), $toName);
  7.         }
  8.         if (isset($bcc) && is_array($bcc)) {
  9.             foreach ($bcc as $addr) {
  10.                 $addr trim($addr);
MailCore::send(2, 'reply_msg', 'È disponibile una risposta al tuo messaggio #ct5 #tcIeSQ8rkhG8pX', array('{reply}' => 'Dear Customer,<br /><br />Regards,<br />Customer service', '{link}' => 'https://www.nomesito.com/index.php?controller=contact&id_customer_thread=5&token=IeSQ8rkhG8pX', '{firstname}' => null, '{lastname}' => null), 'nome.cognome@gmail.com', '', '[email protected]', 'Servizio clienti', null, null, '/web/htdocs/www.nomesito.com/home/mails/', true, '1')in controllers/admin/AdminCustomerThreadsController.php (line 475)
  1.                             ),
  2.                             'Emails.Subject',
  3.                             $language->locale
  4.                         ),
  5.                         $paramsTools::getValue('msg_email'), null$from_email$from_name$file_attachmentnull,
  6.                         _PS_MAIL_DIR_true$ct->id_shop)) {
  7.                         $ct->status 'closed';
  8.                         $ct->update();
  9.                     }
  10.                     Tools::redirectAdmin(
  11.                         self::$currentIndex '&id_customer_thread=' . (int) $id_customer_thread '&viewcustomer_thread&token=' Tools::getValue('token')
AdminCustomerThreadsControllerCore->postProcess()in classes/controller/Controller.php (line 270)
  1.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
  2.                 $this->setMedia();
  3.             }
  4.             // postProcess handles ajaxProcess
  5.             $this->postProcess();
  6.             if (!empty($this->redirect_after)) {
  7.                 $this->redirect();
  8.             }
ControllerCore->run()in classes/Dispatcher.php (line 509)
  1.             if (isset($params_hook_action_dispatcher)) {
  2.                 Hook::exec('actionDispatcher'$params_hook_action_dispatcher);
  3.             }
  4.             // Running controller
  5.             $controller->run();
  6.             // Execute hook dispatcher after
  7.             if (isset($params_hook_action_dispatcher)) {
  8.                 Hook::exec('actionDispatcherAfter'$params_hook_action_dispatcher);
  9.             }
DispatcherCore->dispatch()in admfdfddbtb/index.php (line 99)
  1.     if (!headers_sent()) {
  2.         header('Content-Type: text/html; charset=utf-8');
  3.     }
  4.     // Prepare and trigger LEGACY admin dispatcher
  5.     Dispatcher::getInstance()->dispatch();
  6. }
 
×
×
  • Create New...