Jump to content

Recommended Posts

Bonjour,

Voila lors de l'utilisation du formulaire de contact j'ai une erreur "Une erreur s'est produite pendant l'envoi du message, veuillez essayer de nouveau." Après plusieurs recherche et plusieurs test fait aucune ne fonctionne...

quelqu'un aurais t'il une solution?

Version : 1.7.5.1

site:  avesi.fr

Share this post


Link to post
Share on other sites

Hi!

I found this solution, add these 2 lines:

        <input type="text" name="url" value=""/>
        <input type="hidden" name="token" value="{$token}" />

before submit in mytheme /public_html/themes/yourtheme/modules/contactform/views/templates/widget/contactform.tpl

Quote

</style>
        <input type="text" name="url" value=""/>
        <input type="hidden" name="token" value="{$token}" />
        <input class="btn btn-primary" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
      </footer>

 

it works! the error has disappeared and now I see the message in the prestashop panel but unfortunately I don't receive the email!

Share this post


Link to post
Share on other sites

Bonjour voici mon fichier contactform.tpl

(avec la modification de xNik ) et la en effet le mail est envoyé sur la back office je vois biens le messages mais je ne le reçois pas sur mon mail...

contactform.tpl

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More