WP Anti Hack File Monitor conflict with Wordfence
Hi. Thanks for a feedback. I’m gonna install the Wordfence now and check what is happening.
Fatal error: Cannot redeclare class Diff in /home/.../public_html/wp-content/plugins/wp_anti_hack_file_monitor/includes/diff.php on line 17
I see that. The Wordfence uses the same class diff as I used.
For now please go to
and comment the 13th line:
//require_once dirname(FILE) . ’/includes/diff.php’;
I’m gonna send a proper update soon.
If you don’t know how to edit files – please pass me your e-mail, I’ll send you the fixed one.
I just sent an updated files so now Reviewer needs to approve it.
However please send me a message on email@example.com . I’ll send you the fixed files in reply. After the tests I realised that this is not the same class, so just commenting it out won’t be enough.
”...You can create as many revisions as you like, but keep in mind that it takes your hosting quota.
Your uncompressed files takes 7 333.219 MB”
this is really compress in 30 seconds?
7.3 gb website – quite a big website you have! Please go to /wp-admin/admin.php?page=exclude_files and deselect the catalog that takes so many space. I bet it’s wp-content/uploads which you probably don’t need to monitor.
Your monitored area should be something below 20mb, however me and the Reviewer has been testing the 120mb AFTER compression.
Nice idea! Is this plugin compatible with wordpress multisite? If not: you Plan to make it compatible?
Thank you very much! Good luck with Sales!
Thank you. To be honest I never tested it on multisite, I’ll do this soon and let you know.
I just did a quick test of how it works on Multisite. First of all, WP Multisite doesn’t “duplicate” the core files. The themes and plugins are common. However things like media/uploads are not common to all sites, and here we have the problem.
Admin of the Site A can backup all the files and see the media files of Site B. If this is a big problem – then I’m affraid it’s not compatible with multisite
However, each Admin can create different settings like files exclusion and notifications e-mail. The url in admin.php?page=cron_setup is also created properly and works.
Therefore, if the media/uploads privacy is not a problem – then it is compatible with multisite.
Thank you very much for investigating. I will buy your plugin later today. Maybe you will consider to create a network settings Page for network admin to allow network wide settings. Again thank you very much.
This wont work if a required file was removed or the plugin’s itself was removed!
Also at least it need to be able to run in standalone mode without wordpress to fix wordpress if it was broken and we can’t enter the dashboard
This is why you have the revisions ziped in wp-revisions catalog. If the entire website is broken, you need to revert it manuly from that zip file. The main purpose of this plugin is to monitor the files in case of changes you cannot notice. Internet bot who “intent” to use your website to send spam emails and broke it entirely is not a threat.
It might be a good idea to write a kind of dashboard which operates on that zipped files, however the entire work of this dashboard would be “unzip select revision”
Figured I give my 2 cents – I’ve been using this for about 3 months now, great plugin. Simple and works!
Thank you, great to hear it!
We would like to buy this plugin. but I have few questions:
We are interested in using only monitoring option. can the plugin do the following:
Scan our specified directories and any folder/files inside that directories and send out email notification?
Can we set multiple directories scan rules and send out email to different email group based on directories?
We wouldnt mind paying for modification to your script.
A quick response will be great help.
You can set as many directories as you like. You have a tree structure
and you check the directories you would like to keep eye on.
What i meant was:
If there is any changes in Directory A then the email should go to email A
and if there is any changes in Directory B then the email should go to email B
Is it possible?
This is not possible at this moment
can modify the plugin to do that?
Hi, Can I get notified if a user download a file from my website?
No, the plugins doesn’t check if someone downloads a file from your website.
The purpuse of the plugin is to inform you about potential hacking attempt, not visitor’s actions.
If you want to know a behavior of your visitors, please try some analytics – like Google Analytics.
Hi, you’re plugin looks awesome. I was searching for an alternative to backup for my plugins updates and ability to revert back quickly in case it broke the website. I see you didn’t make any update since march 2015. Are you still going to enhance and update this plugin ?
Hi, is compatible with 4.4.1 version of wp ? thanks
I just tested on most recent version of Wordpress and it works.
Hi, i hve sent you 3 private email without reply ? did you have some problems? thanks
Hi I’m interested in this plugin, want to knw if its still being updated as the last update was a while back and if works with current version of wp
many thanks! bought it !
Great, thank you!
Is correct to put the index.php file to run the cron with php-q ?
Where i can find the backuped file into my ftp?
for security reason write me privately if needed
There are problems with big site first backup?
the timeout is value to change ???
@cron – I’m not 100% sure if your solution gonna work, but you can always use wget http://domain.com?wp_reverter_check=true
@backups – in documentation it’s told the catalog where backups are stored.
@big websites – there might be, but you can exclude the files which are not necessary – for example uploads
ok thanks. I do not find the catalog dir into the documentation. i write you privately. thanks
Warning: scandir() expects parameter 2 to be long, string given in /wp-content/plugins/wp_anti_hack_file_monitor/includes/ReverterPanel.php on line 577 & 578
I click to create first revision, it loads but it doesnt create one. I assume its due to php.ini settings. my WP is 500MB, what should I set values for php.ini? max_post, etc… ? it’s dedicated server
Please see my issue that was posted 7 days ago before I request a refund for non working software. I have followed the instructions and checked to make sure my setup meets the requirements.
Please send me a message and I’ll send you the version which doesn’t uses this parameter.
You can find my email in documentation
Will do Thank you.
Can’t see it, have you sent on cezary.siwa[at]gmail[dot]com ?
an hour and half ago
Was in spam, I just replied
What is the best practices for setting up the cron job? I didn’t see instructions on which file to include in the CRON for those with access to this function? Thanks!
Please add to cron following instruction:
I tried and it said http://www.mydomainnamehere.com/?wp_reverter_check=true: No such file or directory. Maybe because I had a / in there? I’ll try the other way
I think it’s working now. Thank you.
No files are appearing under current revisions. I can FTP in and I’ve tried to make 2 sets of revisions, both appear in the revisions folder. What is wrong? Thanks!
I would like to know why there are only few sms providers as in the market there are a lot which are providing the sms services with more facilities and have their own direct connections, I have a few customers who would like to use the system and are asking for us to provide them one but since we are not able to find the API that where we could earn on the basis of service for sms we are not referring at your location, i would be glad to share the same on our blog and forums on our website if you could integrate the API we wish to sell to our customers.
Kindly let me know if you are available onn skype and we could discuss further.
Your plugin is just great. Simple and very useful. Why don’t you push a bit the concept of backup? Adding a backup of the entire database .sql zipped directly from your plugin. It would save some time and make your plugin really a practical tool for backup. Other plugins are so heavy and complicated it’s always in conflict with something. Think about it, you could sell your plugin at a better price. Also, for the same purpose, it would be great to be able to choose several revisions settings, for exemple if I want to keep only ecommerce plugins for a revision, another one with only uploads folder and another one for everything except uploads. Quicker than going from FTP to Server host and loose a lot of time.
Hope you’ll think about it for your future enhancements. Keep up the good work and thank you!
Thank you for your advice. I also think that this might be a good idea. It would be difficult to monitor the database, because data is changing all the time and in 99% of cases it’s an expected behavior, however I could just add database dump to turn the plugin into the backup solution. I already did mysql backup in my other product (Ultimate Backup), so in free time I’ll just implement Ultimate Backup into AHFM.
I have the next trouble when i start the first one revision:
Warning: scandir() expects parameter 2 to be long, string given in /nfs/c04/h03/mnt/85064/domains/inmuebleslocales.com/html/wp-content/plugins/wp_anti_hack_file_monitor/includes/ReverterPanel.php on line 577
Warning: usort() expects parameter 1 to be array, null given in /nfs/c04/h03/mnt/85064/domains/inmuebleslocales.com/html/wp-content/plugins/wp_anti_hack_file_monitor/includes/ReverterPanel.php on line 578
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details