Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Forum: Fixing WordPress
    In reply to: Publishing failed
    Thread Starter WP4TeePee

    (@wp4teepee)

    @macmanx, it wasn’t a section, that was all that was in the htaccess file ??

    Anyway, I’m going to mark this closed and resolved. Thanks again James.

    Forum: Fixing WordPress
    In reply to: Publishing failed
    Thread Starter WP4TeePee

    (@wp4teepee)

    @macmanx I have two WordPress sites on the same server. One works and the other doesn’t. And no, I don’t have modsecurity.

    That all said, I think I’ve solved my problem. It looks like it was security related and that Wordfence made changes to htaccess
    # Wordfence WAF
    <IfModule LiteSpeed>
    php_value auto_prepend_file ‘/home/orgchang/timpaul.com/wordfence-waf.php’
    </IfModule>
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    # BEGIN WordPress

    # END WordPress

    I’ve now rebuilt htaccess
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I can create posts and pages. I should mention, I still have the classic editor plugin enabled.

    James, thanks for your help ??

    Forum: Fixing WordPress
    In reply to: Publishing failed
    Thread Starter WP4TeePee

    (@wp4teepee)

    Hello @macmanx (James),

    As I noted in my original post:
    I receive the error ‘Publishing failed’ when *all* plugins are disabled
    I have installed the Classic Editor plugin and still get the error

    I am not aware of anything else that would interfere with the REST API. I note also in the original post that Health Check displayed a REST API respons i.e. 404 so I assume the api is working???

    Thanks for responding to my post

    Cheers

    Thread Starter WP4TeePee

    (@wp4teepee)

    David, unfortunately I am still getting the same errors.

    [Feb 26, 16:01:36] PHP Notice: Undefined offset: 2 in /home/../public_html/wp-content/plugins/wordfence/lib/wfActivityReport.php on line 601 [Feb 26, 16:01:36] PHP Notice: Undefined offset: 2 in /home/../public_html/wp-content/plugins/wordfence/lib/wfActivityReport.php on line 601 [Feb 26, 16:01:36] PHP Notice: Undefined offset: 2 in /home/../public_html/wp-content/plugins/wordfence/lib/wfActivityReport.php on line 601 [Feb 26, 16:01:36] PHP Notice: Undefined offset: 2 in /home/../public_html/wp-content/plugins/wordfence/lib/wfActivityReport.php on line 601

    I’m thinking that I need to remove the plugin, your thoughts?

    Thank you.

    Thread Starter WP4TeePee

    (@wp4teepee)

    Ok, I’ve done that Dave. Will wait and see if I get more PHP errors

    Thanks for your help

    PS, just for your info, VaultPress deactivated PHPMyAdmin because “Unsanitized PHP global variables are being used to include or require other files.”

    Thread Starter WP4TeePee

    (@wp4teepee)

    Thank you Dave, that was a very helpful tip.

    The returned data is:
    —–
    Showing rows 0 – 19 (20 total, Query took 0.0012 seconds.)

    SELECT SUBSTR(actionData,49,100) FROM wp_wfHits WHERE actionData IS NOT NULL ORDER BY attackLogTime DESC LIMIT 20

    SUBSTR(actionData,49,100)
    “cmVxdWVzdC5xdWVyeVN0cmluZ1twaWNd”,”paramValue”:”L…
    “cmVxdWVzdC5xdWVyeVN0cmluZ1twYXRoXQ==”,”paramValue…
    :”cmVxdWVzdC5xdWVyeVN0cmluZ1t1cF9hdXRvX2xvZ10=”,”p…
    cmVxdWVzdC5ib2R5Wy0tNDcyMmQzMGM0MGNlMzNiY2E3NTA0Mz…
    cmVxdWVzdC5ib2R5Wy0tZDZjYmIzNTljNGZjOTczMWIwYjMwNW…
    “c2VydmVyLmVtcHR5″,”paramValue”:””,”path”:”L3dwLWF…
    “cmVxdWVzdC5xdWVyeVN0cmluZ1twaWNd”,”paramValue”:”L…
    “cmVxdWVzdC5xdWVyeVN0cmluZ1twYXRoXQ==”,”paramValue…
    :”cmVxdWVzdC5xdWVyeVN0cmluZ1t1cF9hdXRvX2xvZ10=”,”p…
    cmVxdWVzdC5ib2R5Wy0tM2FmMzdkM2IyNmQ3NWZiODI3OWQ5NT…
    cmVxdWVzdC5ib2R5Wy0tNDUxMGJiMTQyNjJkODFiZDlmOTVhYj…
    “c2VydmVyLmVtcHR5″,”paramValue”:””,”path”:”L3dwLWF…
    ,”paramValue”:””,”path”:”L3htbC5waHA=”}
    ,”paramValue”:””,”path”:”L3dzbzkucGhw”}
    ,”paramValue”:””,”path”:”L3dzby5waHA=”}
    ,”paramValue”:””,”path”:”L3dwLXN5c3RlbS5waHA=”}
    ,”paramValue”:””,”path”:”L3dwLXNlY3VyaXR5LnBocA==”…
    ,”paramValue”:””,”path”:”L3dwLXNlYXJjaGVzLnBocA==”…
    ,”paramValue”:””,”path”:”L3dwLXBhZ2UucGhw”}
    ,”paramValue”:””,”path”:”L3dwLW5ldHdvcmsucGhw”}

    Now, I have not run the delete query yet as on my read you are saying delete everything? so
    DELETE * FROM wp_wfhits;

    Or is there something more specific to delete?

    Thread Starter WP4TeePee

    (@wp4teepee)

    Thanks for the note, friend. Your suggestion, though, is beyond my skill set

    • This reply was modified 5 years, 9 months ago by WP4TeePee.
    Thread Starter WP4TeePee

    (@wp4teepee)

    I haven’t heard back so have removed this plugin from my site. You can close this request if you like.

    Thread Starter WP4TeePee

    (@wp4teepee)

    Hello @donncha, just a quick note to confirm that WP Super Cache 1.5.9 is still offline as it breaks my site when I switch the cache on.

    When I switch WPSuper Cache on my site looks like this.

    As requested, I have debug running. I am now waiting on instructions for providing the debug data.

    Thanks.

    Thread Starter WP4TeePee

    (@wp4teepee)

    Stand by:

    The site broke again. Disabling CDN did not help. Disabling cache (switching cache to off) resolved the site issue.

    I’ve generated a super cache log file but no errors in PHP log file. Should I upload the super cache log file?

    Cheers

    Thread Starter WP4TeePee

    (@wp4teepee)

    Thanks for the note @donncha. I have enabled debug logging, enabled the cache (which broke the site again), and inspected the log. I can’t see anything that might be helpful in the log. I’ve started PHP logging too but, as it now happens, the site won’t break.

    When I could break the site consistently, I did notice the disabling CDN and enabling the cache meant the site didn’t break.

    My site is now working with CDN enabled. Can’t explain why ..

    Cheers

    tp

    Thread Starter WP4TeePee

    (@wp4teepee)

    Thanks for the very quick response, much appreciated. I understand the situation. I will use a carriage return break the long line into two but keeping the sentence in the one text box.

    Thanks for the great plugin!

    Take care

    Ciao

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