• Resolved W0tti

    (@w0tti)


    Hi there,

    I have used your form many a time as it is the best one out there for me. However, I have come across an issue which I have not seen before.

    I am building this website on someone else’s server and they have PHP safe_mode turned on, not sure if that is what is causing my issue which I explain below.

    I have set the form up as usual and can submit it fine, the email gets sent and the page loads to a search results page (as though you had searched for something and it returns no results found.) I don’t have a redirect set up so it should just refresh the page with the default thank you message.

    Any idea what/why this is happening?

    Cheers,

    Jack

    https://www.ads-software.com/plugins/si-contact-form/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter W0tti

    (@w0tti)

    A link to one of the contact forms on the site might help…

    https://www.betweentime.uk.com/Temp/lime/

    Thanks,

    Jack

    Hi Jack, I did some testing and it returns to the following address

    https://www.betweentime.uk.com/Temp/lime/#FSContact2…..The page you requested could not be found.

    What are your current settings under Advanced tab?

    Kind regards

    Thread Starter W0tti

    (@w0tti)

    Hi there,

    I had the field ‘Enable an HTML anchor tag on the form POST URL.’ ticked so I un ticked it, tested it again and was greeted with the same search results page.

    Nothing else on the Advanced section is ticked.

    Cheers,

    Jack

    Hi Jack, what are the server specs? What permalink structure are you currently using?

    What are the plugins running on the website? Have you tried deactivating all the plugins and running a test? If the previous works then activate one by one and performing a test.

    Kind regards

    Thread Starter W0tti

    (@w0tti)

    I am not too sure what the server specs are but I will find out.

    I am using the Post name permalink structure which I use for all my sites and I have never had this problem before.

    Regarding the plugins, I have All In One SEO Park, Easy SMTP Mail and then the Fast Secure Contact form. I disabled the SEO and SMTP plugins and the contact form still submits, the email gets sent but the same search results page appears.

    This makes me think that it must be the server configuration.

    Cheers,

    Jack

    Hi Jack I am also curious to know what is your server configuration. The reason why I am curious is because you have used this plugin many times and never had this problem before. I will wait until you share your server specs.

    Regards

    Thread Starter W0tti

    (@w0tti)

    I have managed to solve my issue which I will explain below:

    With this plugin, you get 4 fields by default, Name, Email, Subject and Message. I chose to disable all of the default fields and added my own. There are no error messages or warnings to say that you cannot disable all default fields but that is what the issue was. I simply started doing some tests by enabling the default fields (and deleting any duplicate fields that I may have added as a result of disabling the fields in the first place) and what do you know, the form finally worked.

    As mentioned previously, the emails have always been sending, its just the page was redirected to a search results page after you submitted the form. I simply enabled the default Name field (leaving the other 3 default fields disabled) and everything works fine.

    If the plugin developer reads this, maybe it is worth either fixing it so you can disable all 4 default fields or at least provide a warning message letting people know that the form won’t work if you do disable them all.

    Anyway, I hope this helps anyone in the future with the same/similar issue.

    Thanks,

    Jack

    Jack, thank you for the response with your solution. I’ve been going on hours now trying to figure out why my redirect is not responding properly and it is because I disabled the default fields.

    Interesting little bug that caused me a lot of headache.

    Thanks!

    – Gabe

    Not sure why anybody really wants to disable all 4 standard fields, but disabling the email field could possibly cause the email to not be able to be sent because an email address is a required element of an email. I will have to see if I can duplicate the condition.

    version 4.0.27 fixed a possible page not found problem caused by conflicting post types. Make sure you are using the latest version.

    4.0.27
    (09 Sep 2014) – Fix ‘After form additional HTML’ was not printing on form.
    Fix to check for conflicting post types and show a warning. None of the field slugs can be the same as a post type rewrite_slug or you will get “page not found” when posting the form with that field filled in. In this new version, if you have this conflict there will be a warning on the form and on the form edit page. Warning: one of your field tags conflicts with the post type redirect tag “tag name”. To automatically correct this, click the “Save Changes” button on the form edit page. Also the form editor will not let a conflict happen while editing, but a conflict can still happen if you add custom post types. So if you add any custom post types, be sure to check your forms for any warning messages.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Email sends but page doesn't refresh properly’ is closed to new replies.