THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Je pense qu'il y a un problème sur le path du bin...

Error reading default parameters definition (/home/knjhairf/public_html/local/modules/Cbatos/parm/parmcom.sherlocks) 
Pathfile
Reading pathfile (/var/www/local/modules/Cbatos/Controller/../parm/pathfile.sherlocks) OK
D_LOGO (/logo/)
F_DEFAULT (/home/knjhairf/public_html/local/modules/Cbatos/parm/parmcom.sherlocks)
F_PARAM (/home/knjhairf/public_html/local/modules/Cbatos/parm/parmcom)
F_CERTIFICATE (/home/knjhairf/public_html/local/modules/Cbatos/parm/certif)

Last edited by JuliaMad (27-05-2014 10:57:24)

Offline


ce sont tes répertoires sur le pathfile qui ne sont pas bons..

Offline


oui, au paravant j'avais une case pour spécifié où ils étaient, mais cette case à disparu du module...

Où puis je modifier F_Certificate F_param F_default D_logo ?

Offline


visiblement tu utilises parm/pathfile.sherlocks .. donc dans ce fichier

Offline


La Vache !! Ca fonctionne enfin !!! Merci

Offline


Bonjour,

oui il faut agir dans le fichier /parm/pathfile afin de modifier les path absolue , pour l'instant le module ne gère pas la génération dynamique de ses fichiers prochaines cela sera le cas

cdt

Offline


il serait surtout bien d'afficher l'erreur retourner par exec

Offline


De retour :

J'ai essayé d'enlever la ligne de code sur CbatosControllerPaid.php :

var_dump($result);exit();

Lors de l'achat la page devient blanche et mon apache me donne :

Uncaught exception 'SmartyException' with message 'Unable to load template file 'assets/inc/breadcrumb.tpl' in 'file:order-payment.html'' in /var/www/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:127\ etc ....

Dans order-payment.html j'ai :

{block name="main-content"} 
 <div class="main-container col1-layout">
            <div class="container">
                <div class="container-inner">
                    <div class="main">
                        {include file="assets/inc/breadcrumb.tpl"}
<div class="col-main">
                                                        	     
     <div class="page-title">
        <h1>{intl l="Payment by credit card" d="cbatos.fo.module_atos"}</h1>
    </div>
<div class="std"> 
<table border="0" align="center" cellspacing="0" class="table">
   
  <tr>

J'ai bien un include file = " assets/inc/breadcrumb.tpl", seulement je n'ai pas de dossier inc ni de fichier breadcrumb.tpl....

Last edited by JuliaMad (27-05-2014 12:20:03)

Offline


en corrigeant le pathfile cela fonctionne
sauf que le fichier 'order-payment.html'
fait reference au fichier

include file="assets/inc/breadcrumb.tpl"

que je n'ai pas
il y a quoi dedans ?

Offline


c'est un modèle de template pas forcémenet compatible à ton template à toi ... enfaite,

tu peux effacer la ligne cela ne changera rien .

Offline


En effet, après suppression de cette ligne, tout roule comme sur des roulettes !

EDIT : Résultat d'un test de payement fait jusqu'au bout :

Sur la page d'admin de thelia la commande est passé mais est toujours en non payé, impossible d'aller dans l'onglet Livraison et Facturation.

Dans /Cbatos/Transactions rien n'a été crée comme fichier...
Le dossier est en chmod 755

Last edited by JuliaMad (27-05-2014 12:29:22)

Offline


je prépare une nouvelle update .... pour palier au problème pathfile j'ajoute aussi la compatibilité de pliusieurs autres banques

Offline


j'ai une erreur apres le paiement
la page de retour est 'cbatos/manuel' directement a la racine du domaine
ces 3 variables sont mal renseignees:

RETURN_URL (http://www.zzuutt.com/cbatos/manuel)
CANCEL_URL (http://www.zzuutt.com/cbatos/manuel)
AUTO_RESPONSE_URL (http://www.zzuutt.com/cbatos/answer)

elles devraient etre:
http://www.zzuutt.com/thelia2/web/cbatos/manuel
......

Last edited by zzuutt (27-05-2014 13:04:27)

Offline


Merci d'ouvrir des issues sur github à chaque problème plus facile pour moi de réparer cela,
chaque soucis = Un issue

Offline


j'ai essaye de tout recapituler en issue

Offline


voir update de github que je viens de faire

Offline


sur la page :
/cbatos/paid/23

j'obtiens :

string(0) ""


on a une erreur aussi quand on veut supprimer le module (en back)

Propel\Runtime\ActiveQuery\ModelCriteria::delete is unable to delete.

Last edited by zzuutt (27-05-2014 16:00:31)

Offline


le string que tu as il taffiche que le string ou alors tu a laffichage des cartes §?

Offline


pour faire fonctionner le module il faut obligatoirement ré enregistrer les param dans le BO car il génère à ce moment le fichier parcom et pathfile en fonctionn du numéro de contrat saisi et de la banque que tu as .

Offline


La mise à jour d'aujourd'hui a été appliqué :
Lors que je fais une commande, visiblement tout se passe bien.
Seulement la commande n'apparait pas en payé, impossible d'aller voir l'onglet livraison et facturation, rien ne s'inscrit dans Cbatos/Transactions/ et mon error log donne ça :

[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined index: CBATOS_PATHBIN in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 20
[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined index: CBATOS_PATHBIN in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 23
[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined index: CBATOS_PATHBIN in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 24
sh: 1: /bin/response: not found
[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 1 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 27
[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 2 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 28
[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 11 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 29
[Tue May 27 18:25:26 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 27 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 31
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 3 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 33
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 10 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 34
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 9 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 35
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 15 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 36
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 13 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 37
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 5 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 38
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 6 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 39
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 14 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 40
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 29 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 41
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 28 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 42
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 27 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 43
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 26 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 44
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 18 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 45
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 12 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 46
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 17 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 48
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined offset: 26 in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 49
[Tue May 27 18:25:27 2014] [error] [client 193.56.46.18] PHP Notice:  Undefined variable: msg in /var/www/local/modules/Cbatos/Controller/CbatosControllerAnswer.php on line 85
[Tue May 27 18:26:29 2014] [error] [client 89.2.127.146] PHP Fatal error:  Uncaught exception 'Exception' with message 'The file /Transactions/Order-48-2.json doesn't exist. You have to create it in order to use this module. Please see module's configuration page.' in /var/www/local/modules/Cbatos/Model/Config.php:62\nStack trace:\n#0 /var/www/local/modules/Cbatos/Loop/atostransaction.php(52): Cbatos\\Model\\Config::read('/Transactions/O...')\n#1 /var/www/core/lib/Thelia/Core/Template/Element/BaseLoop.php(426): Cbatos\\Loop\\atostransaction->buildArray()\n#2 /var/www/core/lib/Thelia/Core/Template/Smarty/Plugins/TheliaLoop.php(146): Thelia\\Core\\Template\\Element\\BaseLoop->exec(NULL)\n#3 /var/www/cache/prod/smarty/compile/c097f46ab25b02a20a242aa6c3ebb07c217b5bb1.string.php(59): Thelia\\Core\\Template\\Smarty\\Plugins\\TheliaLoop->theliaLoop(Array, NULL, Object(Smarty_Internal_Template), true)\n#4 /var/www/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(180): content_5384bcb5862bb8_51778804(Object(Smarty_Internal_Template))\n#5 /var/www/core/lib/Thelia/Core/Template/Smarty/Pl in /var/www/local/modules/Cbatos/Model/Config.php on line 62, referer: http://monsite.fr/admin/orders

Je suis allé dans CbatosControllerAnswer.php à la ligne 20 mais je ne sais pas trop quoi changer.

Offline


J'ai supprimé le module (voir l'erreur)
puis réinstallé

Reparamètre puis passe la commande
Au moment où les cartes doivent s'afficher j'ai le strings qui s'affiche

Offline


j'ai le strings qui s'affiche

Oups, c'est embarrassant ;-)


OpenStudio Toulouse

Offline


roadster31 wink (c'est qand on se relie que ...... smile)


Ce matin j'ai supprimer toutes les commandes
supprimer le module cbatos
reinstalle cbatos
configure avec le Numéro de marchand : 013044876511111     banque : credit agricole

je passe la commande
arrive au moment ou il doit afficher les cartes de credit, j'ai une page blanche avec

string(0) "" 

Offline


Y'a sans doute un var_dump() qui traine dans le code.


OpenStudio Toulouse

Offline


Oui, knjeurope a rajouté un var_dump() quand y'a une erreur... visiblement son fichier request retourne rien.