Mark Maunder
Forum Replies Created
-
Sorry but I tried that link I asked for again and no luck. You’re probably seeing it because you’re signed in as admin.
Regards,
Mark.
Hi Chief,
Tim asked me to come here and try to help. Looking at what you’ve posted I don’t see anything that’s clearly a problem.
I tried to click the link you posted in your initial post in this thread to see what your site looked like when it crashed, but that link doesn’t work anymore.
If you’re seeing a 500 Internal Server Error, then please ask your hosting provider to check the error logs for your web server or check them yourself. Whenever you have a problem in your .htaccess that is causing a 500 error it writes the error to that logfile and it will be quite clear what the problem is.
If you’re not seeing a 500 error then post what you’re seeing as a screenshot and I’ll take another look.
Regards,
Mark.
Hi folks,
Please don’t reply to the sticky announcing the release with a support request. You’re not going to get a response. Please create a new forum post and Tim will be happy to help you.
Regards,
Mark.
Firstly please delete the /wp-content/plugins/wordfence directory on your website to repair it.
Then sign into your website. Reinstall Wordfence. Then go to your Wordfence options page.
Please check the following:
Scroll down to where it says:
“Update Wordfence automatically when a new version is released?”
Do you see a red message talking about LiteSpeed web server?
Thanks,
Mark.
Yes you can but make sure that the empty table is created when you do a restore because if some wordfence tables are missing it won’t function correctly.
We’re adding a primary key to wfStatus for the next release. It will be automatically added when you upgrade.
Regards,
Mark.
While I disagree with “some tables are poorly designed” I’m happy to help. This was a design choice by us because the table simply doesn’t need a primary key. But apparently this backup software does.
Two options come to mind:
1. Exclude wp_wfStatus from all backups. You don’t need to back this up. If your site fails as long as you can create the empty table Wordfence will function fine. The only thing you lose is the status messages of previous scans and Wordfence activity.
2. Run the following SQL which will create a primary key on that table. It won’t interfere with Wordfence function. Just remember that if you remove and reinstall Wordfence you need to recreate this primary key:
alter table wp_wfStatus add id bigint UNSIGNED NOT NULL auto_increment PRIMARY KEY;Regards,
Mark.
Hi.
Tim asked me to look at this for you. Please post the contents of your lib/wordfenceClass.php file on http://pastebin.com/
Then paste the link here. I’d like to examine it. The code above is actually Wordfence code which we have deactivated and it should never execute. It actually has never been active in any production release. So I’d like to understand how you came to have this code execute on your website. Are you running a modified version of Wordfence?
Regards,
Mark.
Hi,
Just wanted to confirm that when you enable Falcon we ask you to back up your .htaccess – you probably are aware of this already – so just in case something happens you can restore it.
We don’t ever blank an .htaccess file, we only modify it. Quite a long time ago we had an issue that would corrupt the htaccess, not blank it. But that was fixed – it was due to a quirk in PHP and only happened very rarely. But not a factor now.
Regards,
Mark.
OK marking this resolved for now. Please post again if you see this issue again and you can reference this conversation.
Regards,
Mark.
Yes this is a temporary issue and we’re working with the WP team to get downloads enabled again. Should be another few minutes.
Regards,
Mark.
Hi @holmpage
The issue you’re experiencing is identical in every way to an issue we fixed in an earlier version. I’ve read the thread above and it looks like you aren’t sure which version you were running and you haven’t had the issue since updating. If I misunderstood let me know, but if not lets wait and see if this occurs again.
We haven’t had any other reports of this issue since we fixed it. The problem we had previously is that we were misreading the file size of .htaccess under certain conditions due to a quirk in PHP (caused by the stat() cache) but that has been fixed and we’ve had no reports of this since.
So let me know if the current version causes the same issue.
Thanks.
Mark.
Regards,
Mark.
OK I read it and don’t see anything that’s incompatible with what we’re doing.
Will take a look at PHP-FPM on apache with falcon and do some testing.
Regards,
Mark.
Hi @ascom,
I’ve filed a bug to investigate this. We’re going to set up Apache/PHP-FPM in the lab and try to determine what the issue is. If you could post your .htaccess here if it doesn’t have any sensitive info in it or email it to me at mark @wordfence I’d appreciate it.
Thanks.
Hi Daniel,
Sorry about that – can you email me a ZIP of your plugin and I’ll whitelist it and also get that false positive taken care of. My email is mark at wordfence dot com.
Thanks!!
This is table corruption and likely your DB crashed which is what caused this. It’s indicative of an unstable DB rather than a problem with our plugin.
Please also check the rest of your tables, it’s likely you’ll find errors there too.
Run a full repair on the tables with problems. Then monitor both the table integrity and when/if your DB crashes. I’m guessing you’ll notice a correlation between your DB crashing (or other issues like disk corruption or disk getting full) and table corruption.
Regards,
Mark.