THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

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

Offline

#1 Paypal : erreur dans smarty

(17-07-2019 18:54:04)


Salut,

J'ai une erreur sur paypal, en mode normal sur firefox : cdK2kQZTmc3o.png

En mode debug , j'ai

SmartyException in smarty_internal_templatebase.php line 129:
Unable to load template file 'paypal/form/extra-paypal.html' in 'file:/home/www/camillapearls/camillapearls.fr/local/modules/PayPal/templates/frontOffice/default/paypal/order-invoice-payment-extra.html'

les fichiers semblent bien là:

$ ls -la local/modules/PayPal/templates/frontOffice/default/paypal/form/
total 24
drwxr-xr-x 2 www www 4096 nov.  23  2017 .
drwxr-xr-x 3 www www 4096 juil. 17 19:48 ..
-rw-r--r-- 1 www www 4273 nov.  23  2017 extra-credit-card.html
-rw-r--r-- 1 www www 1041 nov.  23  2017 extra-paypal.html
-rw-r--r-- 1 www www 1647 nov.  23  2017 extra-planified-payment.html

Et lisible …

Je connais pas bien smarty, mais le fichier contient {include file="paypal/form/extra-paypal.html"} , faut il replacer l'ensemble du lien du modèle ?

Merci smile

Last edited by Shnoulle (17-07-2019 18:54:35)

Offline


Tout à l'air normal.

Essaie de vider le cache (supprimer cache/dev et cache/prod), ça résoudra sans doute le problème.


OpenStudio Toulouse