WordPress.org

Support

Support » Plugins and Hacks » [Plugin: DB Cache Reloaded] getting a fatal error

[Plugin: DB Cache Reloaded] getting a fatal error

Viewing 15 replies - 1 through 15 (of 25 total)
  • Do you get this error every time? Or only once, e.g. after activating plugin?

    Ovidiu
    Participant

    @ovidiu

    let me rephrase:

    I activate the plugin all looks good, but after activating it, the back end and the front end, both display a blank white page.

    I then check the error log and see that error every time I tried to acces the blog. I delete the filedb.php and all is good btu the caching then doesn’t seem to happen. so I deactivated the plugin again.

    I have updated plugin, so it detects such situations and displays custom error message in admin section. When you have PHP 5 and Reflection extension loaded, it additionally shows file where wpdb class was previously defined.

    Please upgrade to version 1.1.

    Ovidiu
    Participant

    @ovidiu

    ok, seems to work now, but in the source code of my site, I always see output like this:

    <!-- Generated in 1.691 seconds. Made 91 queries to database and 0 cached queries. Memory used - 36.23MB -->
    <!-- Cached by DB Cache Reloaded -->

    it always says 0 cached queries so it seems ineffctive on my site 🙁

    follow the link and check it out: http://pacura.ru

    Do you have any warning message displayed in admin section? DB Cache Reloaded should display it if it will detect that wpdb class is already loaded.

    Which WP version do you use?

    Please also check your WP files. On my install (WP 2.8.4) following files are loaded before wp-content/db.php:
    index.php
    wp-blog-header.php
    wp-load.php
    wp-config.php
    wp-settings.php
    wp-includes/compat.php
    wp-includes/functions.php
    wp-includes/classes.php

    or (for admin section):

    wp-admin/options-general.php
    wp-admin/admin.php
    wp-load.php
    wp-config.php
    wp-settings.php
    wp-includes/compat.php
    wp-includes/functions.php
    wp-includes/classes.php

    Please check these files to make sure they are the same as in official WP archive (except for wp-config). If you have changed them (e.g. wp-config), please check your changes.

    Ovidiu
    Participant

    @ovidiu

    hey,

    what do you mean by admin section? do you mean on your plugins settings page? if so there are no errors or warnings.

    I am on 2.8.4 and yes, my wp-config has been modified quite heavily. i.e. for use with the wp-tuner plugin, etc.

    shall I post a version without my salts and secrets and passwords onto pastebin?

    Oh, and wp-settings I have modified too, for wp-tuner. but those changes should not be a problem…

    Admin section = admin panel or backend (all pages within wp-admin/ dir).

    As I checked, WP Tuner plugin is responsible for this problem. I have notified its author about this issue – hope it will correct it and release new version soon.

    Ovidiu
    Participant

    @ovidiu

    great. will wait for the update then. the author of wp-tuner is pretty good at implementing changes, although a little slow to catch up sometimes. 🙂

    will post again later, after a wp-tuner upgrade or try and disable that plugin for now 🙂

    I’m getting the error upon activation…
    Fatal error: Call to a member function load() on a non-object in /nfs/c12/h12/mnt/12345/domains/dev.thedomain.com/html/wp-content/db.php on line 839

    Both the front end and back end error this way. Only way to fix is to remove the db.php file from wp-content manually.

    This is on WP 2.8.4 using DB Cache Reloaded 1.1 on a MediaTemple gs site.

    @datacode: which PHP version do you use?

    Please also check if upgrade to version 1.2 will help – I did some change in this version, which may help.

    Phoenixheart
    Member

    @phoenixheart

    Hello,
    The same happens to me here: http://www.thica.net/ too. It seems DB Cache Reloaded has no effects:

    <!-- Generated in 1.816 seconds. Made 72 queries to database and 0 cached queries. Memory used - 14.66MB -->

    I’m using DreamHost, if that matters.

    Phoenixheart
    Member

    @phoenixheart

    Yeah, and the same plugin version works very well on my localhost:

    <!-- Generated in 0.652 seconds. Made 4 queries to database and 77 cached queries. Memory used - 14.99MB -->

    @phoenixheart: I have added some extra code to help diagnose such
    problems in last DB Cache Reloaded version – 1.4. It shows -1 as cached query count when there is a conflict with other plugin, and messages in admin backend. Could you check it and let me know if it displays them on your setup?

    Phoenixheart
    Member

    @phoenixheart

    @sirzooro: Well, seems it was a problem with my hosting company. I switched host and DB Cache Reloaded works like a charm now. Great plugin!

    For me, it crashes apache when enabled 🙁

    I use nginx as a transparent proxy…

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Plugin: DB Cache Reloaded] getting a fatal error’ is closed to new replies.