Viewing 7 replies - 16 through 22 (of 22 total)
  • I don’t see the number of queries going down with the plugin. Also, I don’t see a configure settings option for the “Fix” plugin only activate/deactivate.
    How do I make the plugin work for my page?

    I’m using wp 3.2.1 and 2.2.4 reloaded fix plugin.

    <!-- Cached by DB Cache Reloaded Fix -->
    </body>
    <!-- 40 queries. 4.994 seconds. -->
    <!-- Cached by DB Cache Reloaded Fix -->
    </body>
    <!-- 40 queries. 5.087 seconds. -->

    You have the plugin active but the caching isn’t doing anything if that’s all that is written in the end of your blog’s HTML. Maybe it’s a plugin conflict. You should see something like

    <!-- Generated in 0.267 seconds. Made 41 queries to database and 19 cached queries. Memory used - 27.2MB -->

    above the line

    <!-- Cached by DB Cache Reloaded Fix -->.

    Since you have another plugin telling you the queries after the </body> tag, the possibility of plugin conflict came to mind. Without more information it’s hard to guess, but the plugin documentation may be helpful to you. Also these fixes to your DBCRF may help you locate the problem.

    The queries line is from adding to my footer,

    <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->

    The other plugins I have activated are wp eMember and “Post Types Order”. Other than that I have a custom theme that’s it.

    So I tried the fixes, manually creating

    I got it working by creating an empty /wp-content/db-config.ini, copying /wp-content/plugins/db-cache-reloaded-fix/db.php to /wp-content/db.php and chmodding both to 777 (755 didn’t work on my host).

    and then creating the “cache” directory under

    wp-content/plugins/db-cache-reloaded-fix/cache

    Now the page reports less queries but the page load time reported in firebug is the same or higher.

    <!-- Cached by DB Cache Reloaded Fix -->
    </body>
    <!-- 33 queries. 5.122 seconds. -->

    Still no other output,

    <!– Generated in 0.267 seconds. Made 41 queries to database and 19 cached queries. Memory used – 27.2MB –>

    How do I get that working, or is the plugin working already? I can see files created under

    wp-content/plugins/db-cache-reloaded-fix/cache

    Glad that my fixes helped you. It indeed sounds like the DBCRF plugin is working, but making its output different from normal. The amount of queries is normally should be before, not after </body> and it mentions separately the amount of queries and cached queries.

    The simplest explanation to the content of the message would be the plugin settings, where you can specify the message. This however doesn’t explain why it’s after </body>.

    The first thing I’d try is checking that your custom theme isn’t the cause. See the documentation for wp_footer() and if it doesn’t help, simply try if using another theme solves the problem. The next step I’d try is turning off the two other plugins one by one and seeing does that solve the problem. If it does, please add that plugin’s tag to this conversation from the right side of your message that started the thread.

    I moved the queries output one line up to just before the </body> tag so my footer.php code looks like,

    }
    });
    });
    </script>
    <?php } ?>
    
    <!-- <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> -->
    <?php wp_footer(); ?>
    <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
    </body>
    </html>

    Still getting the same output though. I also tried using the

    set DBCR_DEBUG to true in db-cache-reloaded.php

    and

    DBCR_SAVEQUERIES in wp-config.php file

    but not getting any extra debug code in view source.

    Unfortunately this is a live membership site so I can’t turn off eMember or my theme. I’d really like to know how to get a detail report of the queries though.

    Ok, I just saw a message on the “Dashboard” that my DBCR plugin was not enabled. It took me to a page to activate and now I get the query output.

    Where’s the settings menu for the plugin under “Plugins” menu? This is all I have,

    DB Cache Reloaded Fix
    Deactivate | Edit
    The fastest cache engine for WordPress, that produces cache of database queries with easy configuration. (Disable and enable caching after update). Now compatible with WordPress 3.1.

    Version 2.2.4 | By Ivan Kristianto | Visit plugin site

    There should be a “Settings” link here that goes to

    ../wp-admin/options-general.php?page=db-cache-reloaded-fix/db-cache-reloaded.php

    Here’s some query output, the page load is still slow, probably slower with the plugin activated.

    DBCRF
    
    1st
     <!-- Generated in 5.167 seconds. Made 36 queries to database and 4 cached queries. Memory used - 14.34MB -->
    <!-- Cached by DB Cache Reloaded Fix -->
    
    2nd
                  <!-- Generated in 4.743 seconds. Made 17 queries to database and 23 cached queries. Memory used - 14.34MB -->
    <!-- Cached by DB Cache Reloaded Fix -->
    
    3rd
                 <!-- Generated in 4.917 seconds. Made 17 queries to database and 23 cached queries. Memory used - 14.34MB -->
    <!-- Cached by DB Cache Reloaded Fix -->
    
    4th
    div>
    </div>               <!-- Generated in 5.455 seconds. Made 17 queries to database and 23 cached queries. Memory used - 14.34MB -->
    <!-- Cached by DB Cache Reloaded Fix -->

    The settings for this and most other plugins can be found under Settings instead of under Plugins menu on the left side of the admin pages.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘DB Cache Reloaded Fix’ is closed to new replies.