Hi

I get loads of HTTP 500 errors if I let radioactivity run on my live server. It seems the different storage engines miss their bootstrap. I removed the check and the emissions happen correctly. I have no other clue that this might be a problem with the PHP versions and OOP.

   if ($storage->requiresBootstrap()) {
      // verify boostrapping
      _radioactivity_require_bootstrapping();
   }
  /**
   * Accessor for the const for PHP < 5.2
   */
  public function requiresBootstrap() {
    return self::REQUIRE_BOOTSTRAP;
  }

You write PHP 5.2 and our server is running 5.2.10-2ubuntu6.10 but it seems that $storage->requiresBootstrap() is never TRUE on this server. If I put the check in comments it works. Locally I use 5.3.5-1ubuntu7.7. So maybe this is a problem with PHP below 5.2?

Comments

tcmug’s picture

Please see if the head of 7.x-2.x fixes this.

Basically I removed the const and it now returns TRUE or FALSE instead of the const.

kars-t’s picture

Status: Active » Fixed

No errors in my log and the DB data changes. I am closing this. 3 Bugs in a day! Yay! :D

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.