• Resolved shazzahmad786

    (@shazzahmad786)


    Hi Patrick,

    We have a problem with contact form 7, when we deploy to our live instance, the form is not working and have some json error. I believe that this error is coming from simply static plugin because its not copying necessary files and gives 404 not found error.

    This is the path that I have found have 404 not found error:

    https://www.blabla.com/wp-json/contact-form-7/v1/contact-forms/978/feedback/schema

    Here is the link of the screenshot of an error: https://ibb.co/s67jW3k

    If you could please help us with this error as soon as possible, because we are relying on Simply Static plugin in most of our websites, and permanent solution is indeed needed. Please also remove such errors in the updated version of simply static, so we can use updated version easily without any errors or any type of errors.

    Thank you and looking forward to your response ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support sr293

    (@sr293)

    Hello @shazzahmad786. In the static files that were generated, do you have a forms.json file available at the following path /wp-content/uploads/simply-static/configs/forms.json? If not, you may want to go through the setup guide one more time just in case a step was missed. Here is a link to our contact form setup guide: https://simplystatic.com/docs/set-up-forms/

    Thread Starter shazzahmad786

    (@shazzahmad786)

    @sr293 Thanks for the swift response, do you mean forms.json in the staging website or in the live website after deployment?

    Both website have forms.json: Following are whats inside the json file:

    [{"id":"978","tool":"cf7","endpoint":"https:\/\/live.com?mailme","redirect_url":""}]

    I have followed the steps written in the same link, but couldnt be able to submit the form after deployment.

    If its possible to come through teamviewer or anydesk to see the issue yourself?

    Thread Starter shazzahmad786

    (@shazzahmad786)

    Hi Guys, do you have any other questions related to my problem? Please let me know if you guys are still working on this issue, we have really a serious problem with contact form 7 ??

    Plugin Author patrickposner

    (@patrickposner)

    Hey @shazzahmad786,

    we usually aren’t allowed to do pro support within the forum here, but as there is already a discussion running, I thought I reply here now as well.

    The problem isn’t within Simply Static. It’s because of a CORS issue between your static website and your WP installation.

    CF7 sends a Rest API request to WP once you submit the form. If that request gets blocked, the validation is stuck.

    Solutions to that:

    1. Fix the CORS request issue ( the error pops up in the browser’s console once you click the submit button)
    2. Use an external webhook service (like Zapier or IFTT)

    Cheers,

    Patrick

    Thread Starter shazzahmad786

    (@shazzahmad786)

    Hi Patrick,

    We check that we don’t have CORS request issue, the problem seems to be within Simply Static Plugin, if we could arrange a meeting to solve this issue asap, I would be very grateful to you. Please let me know what you require in order to fix this issue?

    Thread Starter shazzahmad786

    (@shazzahmad786)

    When i try to open this link on live website after deployment it says the requested URL was not found on this server.

    /wp-json/contact-form-7/v1/contact-forms/978/feedback/schema

    This url has 404 not found error.

    Thread Starter shazzahmad786

    (@shazzahmad786)

    Also in diagnostic, I saw that this file is Not readable, i dont know why, may be this is the reason why contact form is not working on the live website?

    /var/www/html/wp-content/plugins/simply-static-pro/assets/ssp-form-webhook-public.js?ver=1.3.1

    Thread Starter shazzahmad786

    (@shazzahmad786)

    any update? ??

    Thread Starter shazzahmad786

    (@shazzahmad786)

    I got this response now.

    https://ibb.co/L59XHNN

    can you please solve this issue?

    Plugin Support sr293

    (@sr293)

    Hello @shazzahmad786,

    Unfortunately, we aren’t allowed to provide Pro support within the forum.
    Please reach out here:?https://simplystatic.com/support/, and we are more than willing to help you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Contact Form 7 Submission Error’ is closed to new replies.