superskyman100 Posted January 21, 2020 Share Posted January 21, 2020 Hello, I have a serious problem with the native PS 1.7.5 contact form Everytime a customer tries to send me one message, there is an error message. Sometimes this error message occurs even if the message is correctly sent. Case 1 : with attachment Here there is SYSTEMATICALLY an error message whereas the message is correctly sent..... strange and bad impression on the customer side... Case 2 : without attachment Error message occurs at first try to send message > no message sent Message correctly sent on the second try................ Very strange behaviour.... Any idea ??? Thx Link to comment Share on other sites More sharing options...
superskyman100 Posted January 21, 2020 Author Share Posted January 21, 2020 Not a solution. 1/ when u send a message, u need acknowledgment 2/ I have error message either if the message is correctly send OR problem/unsent.... Link to comment Share on other sites More sharing options...
superskyman100 Posted January 21, 2020 Author Share Posted January 21, 2020 Moreover, if i disable all Theme the theme module related to 'contact form' i still do have the problem... Link to comment Share on other sites More sharing options...
dinesh badrukhiya Posted January 21, 2020 Share Posted January 21, 2020 Share the code of \themes\YOUR THEME\modules\contactform\views\templates\widget\contactform.tpl and also let me know which version of contact form module are you using? Link to comment Share on other sites More sharing options...
superskyman100 Posted January 21, 2020 Author Share Posted January 21, 2020 Hello Dinesh, Thanks very much, for your help i'm getting short on solutions....... First it seems that i cannot configure one SMTP username for one email adress ([email protected], [email protected]...) cause PS 1.7.5 overwrite the last saved SMTP username for ALL emails. This could be part of the problem.... Second here my answers to your questions : PS v1.7.5 PS_contact form module v4.1.1 My theme is warehouse v4.2.1 Here the code : <div class="col-sm-8"> <section class="contact-form"> <form action="{$urls.pages.contact}" method="post" {if $contact.allow_file_upload}enctype="multipart/form-data"{/if}> {if $notifications} <div class="col-xs-12 alert {if $notifications.nw_error}alert-danger{else}alert-success{/if}"> <ul> {foreach $notifications.messages as $notif} <li>{$notif}</li> {/foreach} </ul> </div> {/if} <section class="form-fields"> <!--div class="form-group row"> <div class="col-md-9 col-md-offset-3"> <h4>{l s='Contact us' d='Shop.Theme.Global'}</h4> </div> </div--> <div class="form-group row"> <label class="col-md-3 form-control-label">{l s='Subject' d='Shop.Forms.Labels'}</label> <div class="col-md-6"> <select name="id_contact" class="form-control form-control-select"> {foreach from=$contact.contacts item=contact_elt} <option value="{$contact_elt.id_contact}">{$contact_elt.name}</option> {/foreach} </select> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">{l s='Email address' d='Shop.Forms.Labels'}</label> <div class="col-md-6"> <input class="form-control" name="from" type="email" value="{$contact.email}" placeholder="{l s='[email protected]' d='Shop.Forms.Help'}" > </div> </div> {if $contact.orders} <div class="form-group row"> <label class="col-md-3 form-control-label">{l s='Order reference' d='Shop.Forms.Labels'}</label> <div class="col-md-6"> <select name="id_order" class="form-control form-control-select"> <option value="">{l s='Select reference' d='Shop.Forms.Help'}</option> {foreach from=$contact.orders item=order} <option value="{$order.id_order}">{$order.reference}</option> {/foreach} </select> </div> <span class="col-md-3 form-control-comment"> {l s='optional' d='Shop.Forms.Help'} </span> </div> {/if} {if $contact.allow_file_upload} <div class="form-group row"> <label class="col-md-3 form-control-label">{l s='Attachment' d='Shop.Forms.Labels'}</label> <div class="col-md-6"> <input type="file" name="fileUpload" class="filestyle" data-buttonText="{l s='Choose file' d='Shop.Theme.Actions'}"> </div> <span class="col-md-3 form-control-comment"> {l s='optional' d='Shop.Forms.Help'} </span> </div> {/if} <div class="form-group row"> <label class="col-md-3 form-control-label">{l s='Message' d='Shop.Forms.Labels'}</label> <div class="col-md-9"> <textarea class="form-control" name="message" placeholder="{l s='How can we help?' d='Shop.Forms.Help'}" rows="3" >{if $contact.message}{$contact.message}{/if}</textarea> </div> </div> {if isset($id_module)} <div class="form-group row"> <div class="offset-md-3 col-md-9"> {hook h='displayGDPRConsent' id_module=$id_module} </div> </div> {/if} </section> <footer class="form-footer text-right"> <style> input[name=url] { display: none !important; } </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> </form> </section> </div> I also use the module IQIT Contactpage to improve pagination of the 'contact' page, but i doubt the problem is coming from that... And... This is it... Thanks Aurelien 2 Link to comment Share on other sites More sharing options...
George441 Posted January 21, 2020 Share Posted January 21, 2020 Clear your Browsing Data with Advanced mode. Then try again, i guess it will work. Link to comment Share on other sites More sharing options...
dinesh badrukhiya Posted January 21, 2020 Share Posted January 21, 2020 I don't think this is the error comes from your theme as contactform.tpl code is well. You can disable IQIT Contactpage module and check for the same. It might be help you. Link to comment Share on other sites More sharing options...
superskyman100 Posted January 22, 2020 Author Share Posted January 22, 2020 Hello Guys, Thanks for your help, Well i already disabled the IQIT contact page module to test, but it didn't change the result, i had same problems.... ... and cleaning the browsing data shouldn't change much things, i won't ask my customers to clean their browsing data before sending a message... .... 1 Link to comment Share on other sites More sharing options...
martin_88 Posted May 28, 2021 Share Posted May 28, 2021 have you got a solution ? same problem with Warehouse theme. 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