PF22 Posted January 25, 2018 Share Posted January 25, 2018 (edited) Bonjour à tous. Je sais pas si c'est le bon lieu pour demander conseil sur ce point mais je tente ma chance. Mon site a planté et en regardant les fichiers log je m'aperçoit qu'aujourd'hui j'ai environ 170000 fois une ligne du genre. "POST /contactez-nous HTTP/1.1" 500 2454 monsite.org "https://monsite.org/contactez-nous" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" "-" Comment c'est possible ? Je suis pas super calé en spam et piratage mais là y a un souci non... ? Merci d'avance ! Edited January 29, 2018 by Pat_07 (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted January 25, 2018 Share Posted January 25, 2018 Bonjour, Cherchez un peu sur le forum nous répondons à ce problème depuis dimanche Link to comment Share on other sites More sharing options...
PF22 Posted January 25, 2018 Author Share Posted January 25, 2018 merci je regarde ça de plus pres ! Link to comment Share on other sites More sharing options...
Eolia Posted January 25, 2018 Share Posted January 25, 2018 (edited) https://www.prestashop.com/forums/topic/657559-resolu-spam-depuis-le-formulaire-de-contact/ https://www.prestashop.com/forums/topic/610365-spam-du-sav/ https://www.prestashop.com/forums/topic/657663-attaque-email/ Edited January 25, 2018 by Eolia (see edit history) Link to comment Share on other sites More sharing options...
PF22 Posted January 26, 2018 Author Share Posted January 26, 2018 Merco @Eolia, j'étudie ça ! Link to comment Share on other sites More sharing options...
PF22 Posted January 26, 2018 Author Share Posted January 26, 2018 désolé j'ai une question super idiote mais le script à inserer dans le fichier contact-form.tpl il faut le mettre avant les commetaires ou après le bout de code ?... j'ai un truc du genre {* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * etc... * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Contact'}{/capture} {if isset($confirmation)} etc... Link to comment Share on other sites More sharing options...
Eolia Posted January 26, 2018 Share Posted January 26, 2018 Aucune importance mais pour une meilleure visibilité, mettez-le plutôt après les commentaires de licence Link to comment Share on other sites More sharing options...
PF22 Posted January 26, 2018 Author Share Posted January 26, 2018 Merci pour la réponse, mais je comprends pas du coup pourquoi le recaptcha n'apparait pas sur mon formulaire. Link to comment Share on other sites More sharing options...
Eolia Posted January 26, 2018 Share Posted January 26, 2018 Vous avez bien mis la clé PUBLIQUE dans ce script et la clé SECRETE dans celui de index.php ? Votre thème est-il conforme ? (Nom des id des boutons) Url de votre site où l'on peut voir la page ? Link to comment Share on other sites More sharing options...
PF22 Posted January 26, 2018 Author Share Posted January 26, 2018 (edited) clé publique et secréte oui. nom de id des boutons ? ça j'avoue je sais pas ce que ça signifie... url : https:--- Edited January 26, 2018 by Pat_07 ne pas laisser mon url (see edit history) Link to comment Share on other sites More sharing options...
PF22 Posted January 26, 2018 Author Share Posted January 26, 2018 Ok je crois que j'ai compris il me manquait class "contact-form-box" sur ma balise form !!! Link to comment Share on other sites More sharing options...
Eolia Posted January 26, 2018 Share Posted January 26, 2018 Ok Le script utilise le thème default-bootstrap comme modèle et la classe du formulaire avec cette partie du code: var $forms = $('form.contact-form-box'); Chez vous le code de votre thème est différent, donc remplacez cette ligne dans le script par: var $forms = $('form.form-horizontal'); 1 Link to comment Share on other sites More sharing options...
Eolia Posted January 26, 2018 Share Posted January 26, 2018 il y a 1 minute, Pat_07 a dit : Ok je crois que j'ai compris il me manquait class "contact-form-box" sur ma balise form !!! Vous pouvez aussi rajouter effectivement cette classe mais attention que cela ne modifie pas le rendu de la page si une règle css existe pour cette classe^^ Link to comment Share on other sites More sharing options...
PF22 Posted January 26, 2018 Author Share Posted January 26, 2018 super merci beaucoup @Eolia !!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now