WebSite X5Help Center

 
Axel  
Axel  
User

V2019.2.5: Erreur avec PHP 5.6.40 - 7.0.33 - 7.1.29 - 7.2.18 - 7.3.5 et en validant la commande  fr

Auteur : Axel  
Visité 1442, Followers 1, Partagé 0  

Bonjour,

Projet eCommerce en v2019.5.

Articles sans gestion de stock.

Fonctionnement en localhost avec WampServer v 3.1.9 et les versions PHP 5.6.40 - 7.0.33 - 7.1.29 - 7.2.18 - 7.3.5

IMPOSSIBLE de passer une commande sans l'erreur suivante.

Fonctionnement OK localement ave uWamp 3.1.0 et PHP 7.2.7 (sinon erreurs en PHP 5.6.18 et PHP 7.0.3)

[24-Jun-2019 09:25:47 UTC] PHP Notice: Undefined index: order in E:\wamp\www\demo\res\x5engine.php on line 2139
[24-Jun-2019 09:25:47 UTC] PHP Stack trace:
[24-Jun-2019 09:25:47 UTC] PHP 1. {main}() E:\wamp\www\demo\cart\x5cart.php:0
[24-Jun-2019 09:25:47 UTC] PHP 2. ImCart->sendCustomerEmail() E:\wamp\www\demo\cart\x5cart.php:92
[24-Jun-2019 09:25:47 UTC] PHP 3. ImCart->sendBeforePaymentEmail() E:\wamp\www\demo\res\x5engine.php:2227
[24-Jun-2019 09:25:47 UTC] PHP 4. ImCart->sendOrderEmail() E:\wamp\www\demo\res\x5engine.php:2236
[24-Jun-2019 09:25:47 UTC] PHP Notice: Undefined index: settings in E:\wamp\www\demo\res\x5engine.php on line 2140
[24-Jun-2019 09:25:47 UTC] PHP Stack trace:
[24-Jun-2019 09:25:47 UTC] PHP 1. {main}() E:\wamp\www\demo\cart\x5cart.php:0
[24-Jun-2019 09:25:47 UTC] PHP 2. ImCart->sendCustomerEmail() E:\wamp\www\demo\cart\x5cart.php:92
[24-Jun-2019 09:25:47 UTC] PHP 3. ImCart->sendBeforePaymentEmail() E:\wamp\www\demo\res\x5engine.php:2227
[24-Jun-2019 09:25:47 UTC] PHP 4. ImCart->sendOrderEmail() E:\wamp\www\demo\res\x5engine.php:2236

Il semble que l'erreur soit due à l'envoi de l'email pour la commande.
l'envoi des emails est configuré en PHPmailer dans le projet ... Donc PHPmailer est inexistant localement.

Mais PRECEDEMMENT je n'ai jamais eu d'erreurs à cause de cela. et lorsque cela fonctionne avec uWamp comme indiqué ci dessus, je ne reçois pas d'email et la commande est validée !

Il y a donc une différence de réglage PHP ..... semble t'il .

Un réglage dans PHP ? lequel ?

Cordialement

https://wsx5.afsoftware.fr

Posté le
4 RéPONSES - 1 CORRECT
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Toc toc incomedia !!!

y'a quelqu'un d'un bon niveau au support pour une explication ?

Cordialement

https://wsx5.afsoftware.fr

Lire plus
Posté le de Axel  
Incomedia
Stefano G.
Incomedia

Good day to you

The only real requirement for WebSite X5 is that your server allows for MySQL and PHP v5.6 or higher to be installed.

For online hostings, they're usually already configured in such a way that most websites can work just fine without needing any major adjustment. In this case, where a local web server software is involved and it is fully customizable, it is really hard for me to be able to tell exactly what the difference between the configuration of the two software can be.

As far as I am aware, the issue you report was never reported by any other users for now, which means that this is probably not a likely situation for online hostings.

If you find that one of the two software isn't working as expected, it must be configured incorrectly somewhere but I am unable to verify why this is.

If you find that everything is working just fine with the other software and the other configuration, I would suggest to simply keep using that

I apologize for not being able to help further but keep me posted should you discover anything new on this

Thank you

Stefano

GOOGLE TRANSLATE ---

Bonjour

La seule exigence réelle pour WebSite X5 est que votre serveur permette l'installation de MySQL et PHP v5.6 ou version ultérieure.

Pour les hébergements en ligne, ils sont généralement déjà configurés de manière à ce que la plupart des sites Web puissent fonctionner sans aucun ajustement majeur. Dans ce cas, lorsqu'un logiciel de serveur Web local est impliqué et qu'il est entièrement personnalisable, il m'est vraiment difficile de pouvoir dire exactement quelle est la différence entre la configuration des deux logiciels.

Autant que je sache, le problème que vous signalez n'a jamais été signalé par d'autres utilisateurs pour le moment, ce qui signifie que ce n'est probablement pas le cas pour les hébergements en ligne.

Si vous constatez que l'un des deux logiciels ne fonctionne pas comme prévu, il doit être configuré de manière incorrecte quelque part, mais je suis incapable de vérifier pourquoi.

Si vous constatez que tout fonctionne correctement avec les autres logiciels et l’autre configuration, je vous conseillerais simplement de continuer à l’utiliser.

Je m'excuse de ne pas pouvoir aider davantage mais tenez-moi au courant si vous découvrez quelque chose de nouveau à ce sujet.

Je vous remercie

Stefano

Lire plus
Posté le de Stefano G.
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Stefano,

I don't accept this answer from a pro company...

You can download WampServer v 3.1.9 and test it with your team... it's FREE

It's an incomedia job to give answers to customers. I can imagine that others users are using a local web before to publish on their provider... and it's not mandatory too... We can use a local web server (Intranet or other)

I can send to you my project.. obvisouly ... no problem...

And in this case you have time with dev team to find the issue. If it's a fine setting into PHP Ini file , it's the dev team job to give you this one...

I suppose that dev team is working with some locally web installation like this

Like  I give you my trace with errors, line numbers .... it should be possible to investigate more.

Nota: If I want to run my website on a local web server, it's not forbidden. 

And like the error is 'Generic Error' it could be nice also to have more explicit message from dev team harcoded into the product.

Not possible to understand anything with 'GENERIC ERROR' !!!!!! 

Proof, you cannot do !!!!!

I am waiting your feedback

Regards

Https://wsx5.afsoftware.fr

Lire plus
Posté le de Axel  
Incomedia
Stefano G.
Incomedia

Good day to you

I surely understand your point, but I would like to explain more thoroughly what I meant in my previous post.

Many suites like WAMP exist such as uWamp you mentioned before or XAMPP.

From my tests, the XAMPP suite should work about the same as WAMP, but every project I have tested there works just fine without any particular additional configuration of the web server, which means that it is probably already configured correctly.

As I mentioned before, the exact same issue you reported before and that apparently only pop up with very specific versions of the WAMP suite and only in some PHP versions are surely due to some configuration that the default setup sets and that would be very hard to investigate in its totality.

In situations like this, even though the Software tries to expand the compatibility to as many online environment as possible, there might always be exceptions. Considering no other user reported any similar error, nor was I able to encounter anything like it on XAMPP or you on uWamp, I can but simply suggest on using one of these which are already configured correctly.

The Staff cannot, unfortunately, investigate specific configuration problems with web servers packages run locally, and thus I would like to suggest considering using the one suite which already seems to work just fine for you

I hope I was more clear now and I apologize for not being able to help further in this specific context

Thank you nonetheless for your comprehension 

Stefano

GOOGLE TRANSLATE ---

Bonjour

Je comprends sûrement votre propos, mais je voudrais expliquer plus en détail ce que je voulais dire dans mon précédent post.

De nombreuses suites comme WAMP existent, telles que uWamp que vous avez déjà mentionnée ou XAMPP.

D'après mes tests, la suite XAMPP devrait fonctionner à peu près de la même manière que WAMP, mais chaque projet que j'ai testé y fonctionne parfaitement, sans configuration supplémentaire particulière du serveur Web, ce qui signifie qu'il est probablement déjà configuré correctement.

Comme je l'ai mentionné précédemment, le même problème que vous avez signalé précédemment et qui n'apparaît apparemment qu'avec des versions très spécifiques de la suite WAMP et uniquement dans certaines versions de PHP est sûrement dû à une configuration définie par la configuration par défaut et qu'il serait très difficile de configurer. enquêter dans sa totalité.

Dans de telles situations, même si le logiciel essaie d’étendre la compatibilité à autant d’environnements en ligne que possible, il peut toujours y avoir des exceptions. Étant donné qu'aucun autre utilisateur n'a signalé d'erreur similaire et que je n'ai pas pu rencontrer quoi que ce soit du genre sur XAMPP ou sur uWamp, je peux simplement suggérer d'utiliser l'un de ceux-ci qui sont déjà configurés correctement.

Le personnel ne peut malheureusement pas enquêter sur des problèmes de configuration spécifiques liés aux packages de serveurs Web exécutés localement. Par conséquent, j'aimerais suggérer d'envisager d'utiliser la suite qui semble déjà fonctionner correctement pour vous.

J'espère avoir été plus clair maintenant et je m'excuse de ne pas pouvoir aider davantage dans ce contexte spécifique

Merci néanmoins pour votre compréhension

Stefano

Lire plus
Posté le de Stefano G.