Search the Community
Showing results for tags 'Swift'.
-
Bonjour, Dans mon log Prestashop j'ai beaucoup d'erreurs comme celle-ci : Swift Error: Expected response code 220 but got code \"421\", with message \"421 4.7.1 Intrusion prevention active for [XXX.XXX.XXX.XX][L]\r\n\" où XXX.XXX.XXX.XX est l'IP de mon serveur ... C'est souvent quand je bosse moi même dans le backoffice ... cela signifie quoi ? Prestashop 1.7.6.5 Thème Classic à ma charte Merci par avance pour votre aide
-
Hello; Prestashop 1.5.6.2. I have a store that is hosting in my dedicated server. I'm trying to use my own smtp paramteres in email settings. But i'm using yandex mail app. I'm using yandex mail on web based, outlook and in android app everything going good.But i cannot figured out correct smtp paramters. If i try to send a test email Taking this error -> Authentication failed using username 'b**@al****.com' and password '***************' I think swift is trying to authenticate on my server. But it need to authanticate on yandex server. How can i do this? My Smtp Settings; Domain: www.al****.com Email: b**@al*****.com Smtp: smtp.yandex.ru Outgoing Port: 587 Encyrpte: None Note: My DKIM, SPF records are assigned as yandex's parameters. And i'm sending gracefully emails on my pc, tablet on web based interface on yandex mail.
- 2 replies
-
- advanced email
- smtp
-
(and 1 more)
Tagged with:
-
Hi Team, I am iOS developer I want to implement PresatShop in ios. How can i implement API in ios can you please suggest me? Thanks & Regards, Ashish
-
Hi, I am trying to make a web request to a site made with Prestashop (v.1.7.3 with dummy content) in order to show the list of products and the product details (including images) within a table view of an iOS app I am currently prototyping using SWIFT 4. No intention so far to put new products nor make purchases through the app, just mirror the shop in the app. I have checked the Prestashop Web Services documentation, created an auth key and I have found that it is possible to get the products in JSON format using an url formatted as: http://access_key@my_website.com/api/products?output_format=JSON What I get is the following JSON file: {"products":[{"id":2},{"id":4},{"id":8},{"id":1},{"id":16},{"id":17},{"id":18},{"id":6},{"id":7},{"id":9},{"id":10},{"id":11},{"id":15},{"id":19},{"id":3},{"id":5},{"id":12},{"id":13},{"id":14}]} It seems something like a dictionary, with only the identifiers of each product. Now I am stuck, since I do not know how to extract more info about each product from this JSON file. The Prestashop Web Services documentation is not very clear and it is basically php oriented. Thanks for any suggestion or reference to study!
-
Hello, I am having a problem while I was upgrading my Prestashop version but in 1.6.1.5 there was an update for SwiftMailer https://github.com/PrestaShop/PrestaShop/pull/5214 which I had to rollback because I have kinda weird mailing smtp settings. Those are my settings, I changed IP address to some random one and domain name just to present what is going on: When I try to send test email then I have this error I have different server for mails. I think that is because SMTP host is provided with IP address instead of mail.domain.pl but I can't do it otherwise. Funfact: Those settings are working on localhost!!! I can send email from localhost with these settings.
-
Hello everyone! I have an issue trying to work with some options from back-office menu ("Modules" and "Payments" from Modules menu). Everytime I select any of them, after some minutes I get this message: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Then I looked at my error_log file and found this: [10-Mar-2017 22:34:41 UTC] PHP Warning: require_once(/home/globalmx/public_html/petroleum/tools/htmlpurifier/HTMLPurifier.standalone.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/config/config.inc.php on line 122 [10-Mar-2017 22:34:41 UTC] PHP Fatal error: require_once(): Failed opening required '/home/globalmx/public_html/petroleum/tools/htmlpurifier/HTMLPurifier.standalone.php' (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/config/config.inc.php on line 122 [14-Mar-2017 12:46:15 America/Mexico_City] PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1 [23-Mar-2017 09:40:50 America/Mexico_City] PHP Parse error: syntax error, unexpected 'class' (T_CLASS) in /home/globalmx/public_html/petroleum/modules/fianetfraud/lib/kernel/CertissimXMLElement.class.php on line 1 [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning: include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40 [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning: include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40 [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning: include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41 [23-Mar-2017 10:18:32 America/Mexico_City] PHP Warning: include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41 [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning: include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40 [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning: include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 40 [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning: include_once(/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41 [23-Mar-2017 11:45:10 America/Mexico_City] PHP Warning: include_once(): Failed opening '/home/globalmx/public_html/petroleum/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='/home/globalmx/public_html/petroleum/tools/htmlpurifier/standalone:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/globalmx/public_html/petroleum/modules/mailjet/mailjet.php on line 41 How is this happening? Our site is hosted by GoDaddy and we recently discovered that site's folder almost reached the file usage, then we deleted LOTS of files from server but still no response with both options, store is working fine but doesn't show any payment method, I believe this issues are related but can't find any solution. Thanks in advance!
- 6 replies
-
- HTMLPurifier
- Swift
-
(and 5 more)
Tagged with:
-
Bonjour, Je n'ai trouvé aucune informations à propos de ce bug, alors je me permets de le poster, et de vous proposer une solution qui fonctionne. Symptômes possibles : - certains Emails de Contact, Mot de passe oublié ne sont jamais transmis - lors de certaines commandes, avec le module mailalerts activé, on se retrouve avec des commandes "fantômes" (= non valides, sans aucun produits, ..). Le problème vient de l'envoi d'email (de confirmation de nouvelle commande, ou d'envoi du nouveau mot de passe). En effet, le framework utilisé pour créer les Emails est Swift (visible dans le répertoire tools/Swift). Or cette version est assez ancienne, et semble avoir un bug qui provoque l'interruption du traitement de nouvelles commandes ou d'envoi de mot de passe. Voilà le type de message d'erreur que l'on peut trouver dans les logs : Dans la classe /tools/Swift/Swift/Message.php, dans la fonction "moveBranchIn" à la ligne 623, il faut rajouter un test if : if($this->getReference("parent", $old_branch)->hasChild($id)) { $this->getReference("parent", $old_branch)->removeChild($id); } Si ça peut en aider certains Bonne journée !
-
Bonjour, Voila j'ai un problème sur les mails quand je fait un transfère de discussion et que je clique sur "Voir les messages" l'url dans le mail commence par "x-msg://77/index.php". Le chiffre dans le lien est aléatoire et ne correspond pas à ID de la conversation ou du message, en regardant sur internet il semblerait que c'est le fichier tools/swift/swift.php qui gère ca. Je ne ses pas qu'elle ligne modifier pour que mon "x-msg://77/index.php" devienne "http://www.mondomaine.fr/index.php je suis sur 1.5.4.0
-
Hello, I was trying to install prestashop 1.5.0.13 (latest founded version of prestashop 1.5) and I got this error : Fatal error: Uncaught exception 'Exception' with message 'The sender parameter must either be a valid string email address or an instance of Swift_Address.' in D:\WWW\prestashop_1.5.0.13\tools\swift\Swift.php on line 345 prestashop In fact there is a simple problem in this file with the control regexp, PRCE end delimiter is escaped and so, if you don't have any '$' at the end of you'r e-mail adress , you will be banished ! change : if (is_string($from) && preg_match("/^" . Swift_Message_Encoder::CHEAP_ADDRESS_RE . "\$/", $from)) ON line 340 of the ./tools/swift/swift.php file by : if (is_string($from) && preg_match("/^" . Swift_Message_Encoder::CHEAP_ADDRESS_RE . "$/", $from)) OK, than you must know tha the PRCE doesn't include underscores (_) in a valid domain name, or it can be possible, than you have also to change : End of dot-atom)(?:@(?#Start of domain)[-0-9A-Za-z]+(?:\.[-0-9A-Za-z]+)*(?#End of domain))?'; on line 27 of the file ./tools/swift/swift/message/encoder.php, by : End of dot-atom)(?:@(?#Start of domain)[-0-9A-Za-z]+(?:\.[-0-9A-Za-z_]+)*(?#End of domain))?'; and then you are!! for information my sender e-mail was : 'no-reply@ps_1.5'.intra (it is not a beta for anything) rezopac
-
Bonjour, depuis 1 semaine, ma boutique prestashop n'envoie plus de mail, lors de changement d'état d'une commande, d'une inscription d'un utilisateur... grosso modo tout mail basé sur le dossier /mails. l'envoie d'un email test fonctionne correctement. Ceci est apparut depuis le fix au sujet avec le herfix.php. Est-ce que quelqu'un connaitrait un moyen de débug avec swift, y'a til un fichier de log quelque part? ou bien simplement si quelqu'un connait d'ou pourrait venir ce problème? Merci serveur muatilisé OVH prestashop 1.4.3 + herfix ( lors d'un test d'upgrade vers 1.4.4.1 il me dis que ma base se situe entre 1.4.4.0 et 1.4.4.1 ...)