bluehost / endurance-page-cache

Other
25 stars 12 forks source link

Safely Disabling the plugin #11

Closed cleyda closed 5 years ago

cleyda commented 7 years ago

What is the best way to properly (and safely) disable the plugin? For example, it does not seem that disabling the plugin restores the htaccess file (e.g. the mod rewrites that redirect to the cache are not removed).

This might mean that if the plugin is disabled, htaccess will continue to direct traffic to the cached pages (which may not be monitored for updates, now that the plugin is disabled).

Also, if the server detects that no endurance page cache plugin is running, won't it just reinstall the plugin and fire it up?

lukecav commented 7 years ago

You can just manually write out the default WP htaccess code into the site .htaccess file.

https://codex.wordpress.org/htaccess

Johan333g commented 7 years ago

DO NOT ACTIVATE THIS PLUGIN delete the file mu-plugins/endurance-page-cache.php from your install using an FTP manager.. Then install a real caching plugin.

The disable is not working for you because the files are directed by the .php DO NOT ATTEMPT to rewrite your access file unless necessary, the server files will rewrite any changes you make.

senordeer commented 7 years ago

I have had this issue with some blogs that get an error string when someone tries to post a comment. I followed Johan's steps to delete the file. Just chiming in, Bluehost should be aware of this conflict with Wordpress. Annoying!

MikeHansenMe commented 7 years ago

@senordeer this is a known issue and we will be releasing an update very soon to get it corrected. The fix ( https://github.com/bluehost/endurance-page-cache/commit/fefa98c4ddd41cc860967b3197f139950c797bd0 )is currently in the master branch.

Thank you for letting us know. If you have any other bugs, please do not hesitate to let us know. We want to get the bugs corrected.

senordeer commented 7 years ago

Hey Mike, fantastic, it's only recently I have had people complain. Good to hear, I will remain a happy Bluehost affiliate seller :)

Johan333g commented 7 years ago

The solution I used above was just temporary to update and get the sites functional enough to be usable.

This plugin has been causing multiple issues with sites for a while now, without disabling the plugin after purging all cache first the site becomes unusable for the administrator, no longer updated pages and posts correctly; even after removal I had to log out of the site and then back in to avoid http upload errors when adding products to commerce sites.

The servers at hostgator are running some very outdated software and the "known issues" seem to be more prevalent than on bluehost.

I have since had to remove all sites that I have with hostgator and bluehost and any other Endurance servers to private servers at considerable expense of time and money.

An expense that could have been avoided, had this plugin not been installed into WordPress without consent and then re-installed once deleted.

I will no longer be recommending or using hostgator, bluehost or any Endurance owned hosting company that deploys malware into their users files.

My opinion is, deploying software with "known issues", is irresponsible at the very least. Disrupting commerce online, is illegal at the very least. Taking claim and describing your own product as having "known issues" and continuing to force its use, is at the very least criminally negligent.. but, I suppose that is just my opinion.

goldtreefrog commented 7 years ago

Amen to the complaints above.

I have lost trust in BlueHost because BlueHost did NOT notify webmasters that this plugin would be installed.

Also, I have a related issue I bring up because even if we do something about the WordPress caching issue, BlueHost seems to cache other files without our knowledge or consent. Yesterday I ran into an apparent server-side caching issue on a STATIC HTML page in a subfolder of my root account folder, neither of which use WordPress or PHP. What gives? I was making changes to one particular HTML page and uploading it several times in a row (because I kept thinking I was finished and then kept seeing one more minor thing to change ;-). What convinced me that it was a server-side issue was when I opened the same page in a browser I had never opened it in before - the page had only been uploaded the first time that very day (yesterday) - and the OLD page showed in that browser too. This is NOT a heavily-visited area; in fact the subfolder was only created that day too. Diagnosing the caching issue here wasted 20 minutes.

My user wasted an hour of both of our times a couple of days ago after he tried to make a page update and could not see the update live in production. Then I wasted another hour trying to figure out why the www..com version of the website was now showing the current page while the http://.com version (no 'www') was still showing the old page. I fixed that with a redirection, but it did not really fix the server-side caching problem. So yesterday I spent another hour researching BlueHost and server-side caching. There are a number of unhappy web hosts because of this. You will find them if you Google the issue.

I have nothing against caching in principle - in fact I use Cloudflare for two of my sites and I see that the Endurance plug-ins have been unnecessarily been installed on those two sites, too!

Today I am searching for an ethical webhost who practices transparency. Had I KNOWN about the plug-ins from the beginning, I would have saved my user and me a total of over 4 hours. If I actually had PAID clients, the situation would be even worse. I will be soliciting paid clients in the future, and I want to be sure to be using a webhost I can trust when I do so.

hanasazi commented 7 years ago

@MikeHansenMe I wanted to let you know that most of the sites I work on where EPC is installed seem to be working okay, but I'm having terrible problem on one. It's causing PHP errors like this: Invalid arguments passed in /home2/cathesn4/public_html/wp-content/mu-plugins/endurance-page-cache.php on line 462 (this error showed up on July 1, 8 and 19). The thing is that the site is not accessible by everyone. The owner is an artist and is about to have a show of her work, so she needs the site to operate properly, yet the lady who owns the gallery where she will be showing next month cannot access her site at all and wrote me to report that it was down. I went to check it and it loaded fine for me. The owner herself wrote me in a panic this morning saying that she cannot access her site either. I'm going to disable it now and see if that improves the situation at all. I must say that I agree with others heer who have expressed their feelings that it is totally unethical for Bluehost or any other hosting company to install such a thing on a customer's server without any notice and with no consent from the site owners. Of course we understand that you need to keep your server performance smooth and fast, but some kind of notification that you were going to do this and offering support if it caused any problems—maybe even designating a team that could be reached at a particular phone number/segment of your support area— would have been the courteous way to treat your customers.

Nodws commented 7 years ago

Horrible practice, just went ahead and cancelled all known bluehost accounts in our company (20+)

dmyur commented 6 years ago

4 hours wasted on attempts to get rid of "Generated by Endurance Page Cache". This is a disease, not a plugin. I have removed everything from every corner of each menu, removed it from mu-plugins folder, purged every possible cache… still can't see the root page of my website. sick 🤯

hhuesca commented 6 years ago

Fuck you and your plugin!

rylanb commented 5 years ago

This plugin is the worst. Blocks other plugins from loading assets, you delete it, doesn't clear out and fix any issues. Terrible practice.

earnjam commented 5 years ago

If you don't want to have this caching enabled, you can change it in the WordPress admin under Bluehost > Performance (if you have the Bluehost plugin active), or under Settings in the Endurance Cache section by choosing Off (Level 0) from the select input.

Once disabled, you can remove the mu-plugin, or just leave it, as it does nothing at that point.

If you are still having problems, please feel free to add a comment or open a new issue. We're working on some major improvements to the plugin and we'd love to get any issues resolved.