[Plugin: DB Cache Reloaded Fix] Query filtering isn't working
-
Hi!
I tried to use the DB Cache Reloaded Fix together with Alo EasyMail Newsletter plugin. If DBCRF is activated, the newsletter is producing mail bombs of more than 50 e-mails per one user. I tried to exclude newsletter queries from caching, but it didn’t help.
I found that there is a problem with query filter. The variable $config[‘filter’], checked by some preg_match’es in db-module-wrapper.php is empty.
It’s easy to fix this problem, by replacing $config with $this->dbcr_config. For example, the most important code segment responsible for query filtering (lines 186-197):http://pastebin.com/H7yRNkwL
should be changed to:
http://pastebin.com/szqjpHHdBest Wishes,
Paweł
- The topic ‘[Plugin: DB Cache Reloaded Fix] Query filtering isn't working’ is closed to new replies.