Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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 -->

    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.

    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

    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. -->
    Thread Starter x5150

    (@x5150)

    Installed a comment plugin and got it working.

    Thread Starter x5150

    (@x5150)

    Fixed. Had to set DirectoryIndex index.html index.php In my perl.conf file. Maybe perl.conf was overwritting other declarations?

Viewing 6 replies - 1 through 6 (of 6 total)