• Resolved ghandlin

    (@ghandlin)


    I had previously added a custom pattern block for *.amazonaws.com and I see it in the blocks7 table. The name is there that I gave it “Would never have a person from there.” and the parameters field is: {“ipRange”:””,”hostname”:”*.amazonaws.com”,”userAgent”:””,”referrer”:””}

    However, when I go back into the Create Blocking Rule page, it does not show, nor can I save a value I add as the save button never enables. I would expect the existing value to be populated and have the ability to edit the field.

    Am I missing something?

    Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi @ghandlin

    That sounds like something breaking our JavaScript on the Blocking page.

    We have a guide here:

    https://www.wordfence.com/help/advanced/troubleshooting/

    Thread Starter ghandlin

    (@ghandlin)

    I just did a test by spinning up a fresh install of WP 5.7.1 and only adding the Wordfence plugin. No change in behavior and nothing of any significance in the dev tools of either Edge or Chrome.

    Thoughts?

    Plugin Support wfphil

    (@wfphil)

    Hi @ghandlin

    Thank you for the update.

    Did you use the same theme or are you using a default WordPress theme such as Twenty Twenty One?

    Were you using the same database or did you create a new database?

    Thread Starter ghandlin

    (@ghandlin)

    Fresh database, default theme. Only thing I did after the WP setup wizard was install Wordfence. Wondering if it has something to do with the jQuery cleanup that is happening from WP?

    Thread Starter ghandlin

    (@ghandlin)

    BTW, I am a developer of 20 years, but I’m a MS stack guy.

    Plugin Support wfphil

    (@wfphil)

    Hi @ghandlin

    Thank you for the update.

    Wordfence is fully compatible with all of the jQuery and jQuery migration development tool changes in WordPress.

    Have you tried in a different browser where the browser cache has been cleared?

    Thread Starter ghandlin

    (@ghandlin)

    Well, there shouldn’t be any cache since it was completely new, so the url had never been accessed. Regardless, I just tried it in an incognito window with Chrome with the same results. I then tried it on a different computer and had the same issue.

    Plugin Support wfphil

    (@wfphil)

    Hi @ghandlin

    Your normal browser may have been malfunctioning so we have at least ruled that out.

    I would like to have a look at your Wordfence diagnostics report. Please go to the top of the “Diagnostics” tab on the Wordfence “Tools” page. There will be a “SEND REPORT BY EMAIL” button to send the diagnostics report. Enter wftest [at] wordfence [dot] com as the email and ghandlin as the forum username please.

    Once you have emailed me the diagnostics report can you reply here to let me know that it has been sent. This is important in the unlikely event that your installation of WordPress is having an issue with sending mail.

    Thread Starter ghandlin

    (@ghandlin)

    I just sent it from the original site I noticed the issue with. When I went in there, there was a message saying the configuration was corrupt. I chose to rebuild it. Unfortunately, the problem still exists.

    Thank you for your help!

    Thread Starter ghandlin

    (@ghandlin)

    Hi Phil, I was wondering if you saw anything?

    Plugin Support wfphil

    (@wfphil)

    Hi @ghandlin

    Can you setup WordPress debugging.

    Add these lines of code to your WordPress wp-config.php configuration file:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings 
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    NOTE: You must insert this ABOVE the line that says /* That's all, stop editing! Happy blogging. */

    Reload the Firewall >> Blocking page and look for the debug.log file in the location below, download it and send to wftest [at] wordfence [dot] com. Make sure to put your username ghandlin in the email subject field and let me know when it is sent:

    ~/wp-content/debug.log

    Thread Starter ghandlin

    (@ghandlin)

    Thank you Phil, I just emailed the results. Sorry it took so long, thank you again for your help.

    Plugin Support wfphil

    (@wfphil)

    Hi @ghandlin

    Sorry for the late reply.

    I see this error:

    Unable to open [redacted]/wp-content/wflogs/config-synced.php for reading and writing.

    If you are not able to find or fix any file or ownership problems then you may find that using the MySQLi firewall storage engine fixes this:

    https://www.wordfence.com/help/firewall/mysqli-storage-engine/

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Adding Custom Pattern Blocks’ is closed to new replies.