• Resolved aafritz

    (@aafritz)


    Clicking save after editing a form results in the spinner sitting forever. Happens on any existing form after the first save. No errors are displayed. You simply can never save the form again even if you reload the edit page, or navigate back to it from elsewhere.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter aafritz

    (@aafritz)

    Digging in, the ajax request the save click generates is getting a 404 error…

    The request url is https://www.azuloxworkshops.com/wp-admin/admin-ajax.php which is accessible via a simple get and returns 0 as expected. It returns a 404 error in response to saves from smartforms.

    Is there a way to NOT use ajaxy save? I get that it’s cool, but at this point I need working forms again and I am willing to wait the extra 2s for a refresh if it works.

    Thread Starter aafritz

    (@aafritz)

    And the “root” cause… The form save breaks if you specify a redirect URL. This appears to be broken on all 3 sites I’ve tested, running different plugin sets and templates.

    Thread Starter aafritz

    (@aafritz)

    And finally… URLS in the redirect with “-” in them break the save.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    The character “-” should not break a request to /wp-admin/admin-ajax.php, admin=ajax.php is the standard page to do http requests. Doing some testing using hurl.it i found that if you include the character – in a post request it throws this errror:

    <html>
    <head>
    <title>403 Permission Denied</title>
    </head>
    <body bgcolor=white>
    <h1>403 Permission Denied</h1>

    You do not have permission for this request /wp-admin/admin-ajax.php

    </body>
    </html>

    That is not the standard response, generally that request should pass (you could test it if you want using my site https://smartforms.rednao.com/wp-admin/admin-ajax.php)

    So maybe there is a security plugin in your site that is blocking that request? Do you have any plugin that could do that?

    Regards!

    Thread Starter aafritz

    (@aafritz)

    I ended up changing the permalink for the destination page to avoid the – character and it started working. I’ve since retested and everything works again including destination URLs with the -.

    I had not recently changed any plugins, but I stripped out everything I could and it didn’t seem to make a difference. However, since it has gone away, I’m prepared to accept that it was a transient either related to the specific versions of WP/Plugins installed (some of updated including WP again) or was something else very situation specific.

    Hi aafritz,

    I’m having this exact same issue on all websites that have SmartForms installed. Can you describe how you corrected this problem? I tried to delete the Redirect URL and uncheck the Redirect option box in the After Submit section but still cannot Save any forms. Any help you can provide would be greatly appreciated. Thanks!

    Steve

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to save in WP 4.7.4’ is closed to new replies.