Closed (fixed)
Project:
Radioactivity
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2012 at 21:22 UTC
Updated:
5 Mar 2012 at 12:20 UTC
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
Comment #1
tcmug commentedPlease 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.
Comment #2
kars-t commentedNo errors in my log and the DB data changes. I am closing this. 3 Bugs in a day! Yay! :D