Database Cache accessing incorrect database
-
Ran into an issue where information saved on one site was showing up on another. It was extremely weird, but if I disabled the W3 Total Cache plugin everything worked fine.
After further investigation, here were the issues/environment:
– Cloud Dedicated Server (Linux, Apache, PHP-FPM)
– Using Memcache
– Database Cache enabled (using Memcache)
– Sites affected were installed in different directories on the same domain & cPanel account
– Even if we migrated the sites to their own domains and cPanel accounts, we still experienced the issue
– Single WP installs, not multisite
– The onset of these issues was intermittent, and didn’t occur on all sites at any specific interval, but once it started the only way to fix was to disable W3 Total Cache.
– .htaccess was getting modified with incorrect site redirect info
– Logging into one site would redirect you to a different site, logged in, even if your credentials weren’t for that site.I assume it has something to do with memcache, and somehow the plugin is looking to the wrong database for information. It just seems like this shouldn’t happen under any circumstances, but it did.
- The topic ‘Database Cache accessing incorrect database’ is closed to new replies.