• Resolved Mike V. Gorbunov

    (@michael_zloi)


    Hello, please help me.
    On some of my sites I’m experiencing a weird problem: Apocalypse Meow doesn’t save settings.
    I set the things I need, hit the Save button, tha page reloads and I receive the message that the settings are saved successfully, but all the checkboxes and numbers revert to the state before my changes.
    This is the only plugin with such a strange behavior I have.
    Cache clearing and logging off/on doesn’t help.

    https://wordpress.org/plugins/apocalypse-meow/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Blobfolio

    (@blobfolio)

    Hi Michael,

    Would you mind giving the beta version a shot on one of the affected sites and see if that fixes your issue? It is planned for launch within the next week or so anyhow. The interface and has been completely rewritten, so I suspect it will solve your problem.

    You can download it here:

    https://blobfolio.com/repo/apocalypse-meow-beta.zip

    To install, you have two options:

    • You can de-activate and delete the original, then click “Add New” and use the “Upload Plugin” option to install the zip automatically.
    • The trouble with the above is it might delete your data/settings from the old version. Instead, you can go in through FTP and delete the original apocalypse-meow folder, which will force de-activation but not remove settings/data. Then you can use the “Add New”/”Upload Plugin” option to install the new version.

    The beta version should be stable, but if you run into any trouble, you can delete the apocalypse-meow plugin folder via FTP to force deactivation.

    Please let me know how it goes!

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    sorry, it doesn’t work. It activates, but creates no admin menu items, so I can’t use it

    Plugin Author Blobfolio

    (@blobfolio)

    Sorry, I should have mentioned: the links in this version are consolidated under the “Users” menu. If you look there, you should see Login Settings, Login Tools, and Login Activity?

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    I receive a “A server error ruined the last request. :(” error on saving the settings

    Plugin Author Blobfolio

    (@blobfolio)

    Hi Michael,

    Thank you so much for helping to debug the plugin! I very much appreciate it. 🙂

    Am I correct to assume that you are not seeing any errors on the Dashboard or Plugin screens (it would be a message along the lines of “Your server doesn’t meet the minimum requirements…”)? That will at least rule out many host-related compatibility problems.

    And the error you are receiving is when you are trying to save your settings? Do you have any other security plugins installed on the site, or anything running at a server level (such as mod_security)? If you’re not sure about the latter, may I ask who you’re using for web hosting (and if there is a common thread between the sites having this issue versus the ones that don’t)?

    And one last broad debug request: do you have any security or privacy extensions installed in your web browser, or something like anti-virus software that might meddle with browsing requests?

    Again, thank you so much for your help in debugging.

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    Hello, no problem.

    Am I correct to assume that you are not seeing any errors on the Dashboard or Plugin screens (it would be a message along the lines of “Your server doesn’t meet the minimum requirements…”)?

    you are correct, I see no error messages

    And the error you are receiving is when you are trying to save your settings?

    yes

    Do you have any other security plugins installed on the site, or anything running at a server level (such as mod_security)?If you’re not sure about the latter, may I ask who you’re using for web hosting (and if there is a common thread between the sites having this issue versus the ones that don’t)?

    I have no other security tools. I experience the problem with the settings even on a clean installation of WP.
    I have https enabled, but on my other site your plugin works correctly in the 100% same environment, so I’m at a loss.

    And one last broad debug request: do you have any security or privacy extensions installed in your web browser, or something like anti-virus software that might meddle with browsing requests?

    I have friGate and adGuard on my Chrome

    Plugin Author Blobfolio

    (@blobfolio)

    Curiouser and curiouser.

    First things first, I updated the beta zip. It fixes a bug affecting the saving of the fail window, and also adds debug output on the settings page.

    HTTPS should not cause a problem, unless maybe the WP admin URLs aren’t generating correctly (like they’re still coming up HTTP and then there’s a redirect later on). Having define('FORCE_SSL_ADMIN', true); in wp-config.php should resolve that (if that is the issue).

    The two versions of the plugin process settings very differently. The only thing in common I can think of would be some of the field names. My instinct is that there is some sort of REQUEST scrubbing going on, either at the server level or maybe through a proxy or something. (Security policies might object to data like “password” and “enumeration” and “xml” and so on.)

    A couple follow-up requests for you:

    1. First, please update the build (same link as before).
    2. Are you able to access your site via Incognito Mode? If so, does that make any difference? (This will help rule out a browser extension being to blame.
    3. Can you copy and paste the debug output from a Save Settings response? If you aren’t comfortable pasting that here, you can email it to me at hello@blobfolio.com

    Again, thank you so much for taking the time to help debug! I know it is a pain. 🙂

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    I managed to find some time to test again.
    I did a clean install of WP without https, so only your plugin and WP via http are active. I opened the site on a clean Firefox installation with no plugins.
    This is what I get:

    A server error ruined the last request. :(

    {"data":"no count","status":500,"config":{"method":"POST","transformResponse":[null],"url":"http://***.***/wp-admin/admin-ajax.php","data":{"core":{"file_edit":false,"xmlrpc":false,"enumeration":false,"enumeration_die":false},"login":{"fail_limit":3,"fail_window":720,"subnet_fail_limit":20,"reset_on_success":true,"exempt":[],"nonce":false,"key":"REMOTE_ADDR","alert_on_new":true,"alert_by_subnet":true},"password":{"alpha":"required","numeric":"required","symbol":"optional","length":10},"prune":{"active":true,"limit":90},"template":{"generator_tag":true,"adjacent_posts":true,"readme":false},"readonly":[],"action":"meow_ajax_settings","n":"baefb2426d"},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}},"statusText":"Internal Server Error"}

    Plugin Author Blobfolio

    (@blobfolio)

    Michael,

    Thank you so much. I think I fixed the problem! (*fingers crossed*) Would you please download the updated beta (same link as before) and give that a shot?

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    Now I receive only the A server error ruined the last request. :( message. WP and PHP logs are clear.

    Plugin Author Blobfolio

    (@blobfolio)

    Michael, I’m sorry. I had stupidly left some debug code in that last package. 🙁 Would you please re-download the beta one last time?

    Thank you again for putting in so much effort!

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    Works correctly now, thanks

    Plugin Author Blobfolio

    (@blobfolio)

    Yay! Thank you Michael. Most people won’t go to the trouble of even opening a support ticket, let alone patiently working with the developer to find out which of a million tiny things could be going wrong.

    Thread Starter Mike V. Gorbunov

    (@michael_zloi)

    No problem. I work in a software sompany, so I understand you 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Won't save settings’ is closed to new replies.