math_php Posted June 28, 2011 Share Posted June 28, 2011 BonjourEn version 143 mon module Ebay me plante le back office :Fatal error (Customer -> lastname is empty)C'est bien Customer d'indiqué et quand je supprime le dossier ebay des modules, le back office est de nouveau fonctionnel.Aucun des clients n'a de nom ou de prénom vide dans la table 'ps_customer'Merci pour votre aide Link to comment Share on other sites More sharing options...
Fabien Serny Posted June 28, 2011 Share Posted June 28, 2011 Bonjour,Merci pour votre retour.Cela doit venir de vos rapatriement de commande d'eBay vers PrestaShop.Normalement le module récupère le prénom et le nom du client, apparemment ici eBay ne renvoie pas de nom, il faut donc que je trouve un moyen pour gérer ce cas là.Je reviens vers vous rapidemment avec une solution. Link to comment Share on other sites More sharing options...
math_php Posted June 29, 2011 Author Share Posted June 29, 2011 Bonjour,J'ai appliqué une rustine de fortune à mon module.Code remplacé $address->lastname = pSQL($order['familyname']); Par $tahiti=pSQL($order['familyname']); if ($tahiti='') { $tahiti='sansNom'; } $address->lastname = $tahiti; //pSQL($order['familyname']); C'est sur il y a plus propre, mais en attendant la rectif de Fabien, ça dépanne.Cordialement Link to comment Share on other sites More sharing options...
Fabien Serny Posted June 29, 2011 Share Posted June 29, 2011 Mon correctif ressemblera à ça à peu de chose près, même si je ne pense pas utiliser de variable nommée "tahiti" Link to comment Share on other sites More sharing options...
lucass Posted September 9, 2011 Share Posted September 9, 2011 Hello there, I have the same error: Notice: unserialize(): Error at offset 126 of 274 bytes in /...../_/modules/prestabay/models/Order/OrderModel.php on line 210 Fatal error (Customer -> lastname is empty) when importing a new order from eBay to prestashop. What exactly am I supposed to edit? Thanks in advance Link to comment Share on other sites More sharing options...
Fabien Serny Posted September 9, 2011 Share Posted September 9, 2011 Bonjour lucass, Il s'agit là du module prestabay (et non du module eBay en natif). Je vous invite à voir avec les concepteurs du module PrestaBay. Link to comment Share on other sites More sharing options...
Fabien Serny Posted September 9, 2011 Share Posted September 9, 2011 Oh Sorry Lucass, I wrote in french :X So I was saying that you are using the module PrestaBay (not the one in PrestaShop by default). I advise you to see with the developers of the PrestaBay Module. Best regards, Link to comment Share on other sites More sharing options...
lucass Posted September 9, 2011 Share Posted September 9, 2011 oh thanks, I thought you were speaking of PrestaBay module as well Link to comment Share on other sites More sharing options...
Fabien Serny Posted September 9, 2011 Share Posted September 9, 2011 Nope. We had this bug on the eBay module too but we corretected it weeks ago Link to comment Share on other sites More sharing options...
lucass Posted September 9, 2011 Share Posted September 9, 2011 what was it related to? eBay was sending no lastname to prestashop, or ? Link to comment Share on other sites More sharing options...
Fabien Serny Posted September 9, 2011 Share Posted September 9, 2011 Sometimes, eBay send only a firstname and no lastname. Don't know why. Anyway, ask PrestaBay developers, they will fix it easily I think. Link to comment Share on other sites More sharing options...
lucass Posted September 9, 2011 Share Posted September 9, 2011 thank you Link to comment Share on other sites More sharing options...
Fabien Serny Posted September 21, 2011 Share Posted September 21, 2011 You're welcome Link to comment Share on other sites More sharing options...
Recommended Posts