WP4TeePee
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Publishing failed@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@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 WordPressI 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 failedHello @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 errorI 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
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.
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.”
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 20SUBSTR(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?
Thanks for the note, friend. Your suggestion, though, is beyond my skill set
- This reply was modified 5 years, 9 months ago by WP4TeePee.
Forum: Plugins
In reply to: [WP Super Cache] WP Super Cache breaks my siteI haven’t heard back so have removed this plugin from my site. You can close this request if you like.
Forum: Plugins
In reply to: [WP Super Cache] WP Super Cache breaks my siteForum: Plugins
In reply to: [WP Super Cache] WP Super Cache breaks my siteStand 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
Forum: Plugins
In reply to: [WP Super Cache] WP Super Cache breaks my siteThanks 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
Forum: Plugins
In reply to: [Crelly Slider] Wrap slide text – responsiveThanks 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