jma85 Posted April 16, 2009 Share Posted April 16, 2009 Bonjour à tous,Personne ne m’a répondu lors de ma dernière question alors je repose ma question :j’ai installé le module Newsletter sur mon site, mais celui ci ne fonctionne pas.En effet, lorsque je m’inscris et que je clique ensuite sur le bouton OK, j’obtiens une page d’erreur du type HTTP 405 – Ressource non autorisée. On dirait que dans le form du module il n’y a aucune adresse de page appelée.A moins que ce soit un paramètre EMAIL ou serveir IIS ?Quelle est la solution à ce problème ?Aidez moiMerciJMA Link to comment Share on other sites More sharing options...
Mambe Posted April 16, 2009 Share Posted April 16, 2009 Bonjour,Quel est la version de PrestaShop utilisé ?Quel est la version du module Bloc Newsletter utilisé ? Link to comment Share on other sites More sharing options...
jma85 Posted April 16, 2009 Author Share Posted April 16, 2009 prestashop Version 1.1.0.3 avec le module bloc newsletter par défaut Link to comment Share on other sites More sharing options...
Mambe Posted April 16, 2009 Share Posted April 16, 2009 Essaie avec le module de la version de prestashop 1.1.0.5 Link to comment Share on other sites More sharing options...
Damien Metzger Posted April 16, 2009 Share Posted April 16, 2009 C'est clairement du à IIS, mais je ne sais pas exactement pourquoi. Link to comment Share on other sites More sharing options...
Mambe Posted April 16, 2009 Share Posted April 16, 2009 J'opterais pour un problème lié à url rewritting. Link to comment Share on other sites More sharing options...
jma85 Posted April 16, 2009 Author Share Posted April 16, 2009 ok que dois faire comme test ?Merci Link to comment Share on other sites More sharing options...
acidcool Posted May 10, 2009 Share Posted May 10, 2009 I have the same problem, and it seems to be only on IIS -windows platform..is there any solution yet?I know the cause of the problem is because the form post method has and action="/". Anyone know how to overcome this?merci Link to comment Share on other sites More sharing options...
jma85 Posted May 10, 2009 Author Share Posted May 10, 2009 oui j'ai le même problème pour faire fonctionner la newsletter sur un serveur IIS windowsPeut on contourner le problème ?Aider moi merciJMA Link to comment Share on other sites More sharing options...
acidcool Posted May 10, 2009 Share Posted May 10, 2009 Enfin, j'ai trouvé le moyen de résoudre le erreur http 405 sur bulletin bloc. Travail autour des mesures: 1. localiser blocknewsletter.tpl dans \ modules \ blocknewsletter \ dossier 2. Ouvrez le fichier dans le bloc-notes 3. remplacer la ligne 10 avec <form action="{$base_dir}" method="post"> <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post"> 4. enregistrer le fichier 5. félicitations que vous avez terminé. ------------ PS: Je suis totalement nouveau pour php, mysql, smarty. Ne corrigez-moi si ce n'est pas la bonne manière de résoudre ce problème.===========================================================================================Finally, I found the way to solve the http 405 error on newsletter block. Work around steps:1. locate blocknewsletter.tpl in \modules\blocknewsletter\ folder2. Open the file in notepad3. replace the line 10 <form action="{$base_dir}" method="post"> with <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post">4. save the file5. congratulations you are done.------------PS: I am totally new to php, mysql, smarty. Do correct me if this is not the right way resolve this problem. Link to comment Share on other sites More sharing options...
S7 Media Ltd Posted September 29, 2009 Share Posted September 29, 2009 Acidcool, thank you very much, your workaround seems to correct the problem very well / merci beaucoup, votre idée pour le problème fonctionne très bien! Link to comment Share on other sites More sharing options...
jolvil Posted September 29, 2009 Share Posted September 29, 2009 Si le problème est résolu tu peux ajouter [résolu] au titre du 1er post - Merci :cheese: 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