I've been trying to get the module to work for couple of hours now, but cannot figure this out..

I keep getting no logs in the /activities page view ('There is no activity here yet'). Trying clearing messages cache makes the /activities page go completely blank (WSOD).

I've uninstalled and reinstalled, but nothing. I am not getting any error or warning, Rules debug code is ok and am not using tokens just to be sure Token module is no culprit.

Running Drupal 6.16, Latest versions of Activity_log and Tokens, Rules 6.x-1.4

Is anyone else experiencing this? Thx

(marking as critical as basically the module does not work)

Comments

marcoBauli’s picture

Title: /activities gives a blank page » /activities gives a blank page (wsod)

this is from the error_log in case could help:

PHP Fatal error: Call to undefined method stdClass::get() in /httpdocs/sites/all/modules/rules/rules/rules.variables.inc on line 322

plus lot of:

PHP Notice: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 2 of 43 bytes in /httpdocs/includes/bootstrap.inc on line 478
icecreamyou’s picture

Category: bug » support

I don't know what would cause this and I've never experienced this or heard of anyone experiencing this before, especially if you're just using the default Rules.

The only thing that stands out to me is that you're 10 versions behind on core, though that is almost certainly not the issue.

I would consider reinstalling Activity Log or at least deleting all recorded messages and reverting modified rules.

tstackhouse’s picture

I'm getting the same problem intermittently. I've been trying to debug for a couple weeks on and off, at least for me, it has to do with token replacement failing. For instance, I have rules that are "[user:username-themed] joined the group [group:title]".

On some pages where that message appears, I get that PHP error, but on others I get the proper display. On still others, I occasionally get [group:title] (the raw token).

Removing the token so that the log message reads "[user:username-themed] joined a group" and regenerating activity makes the error go away, but obviously decreases the utility of the activity log.

I'm on 6.22 running Commons 2.5, so whatever version of Activity Log and OG that ships with it, is what I have. The .info file doesn't say.

icecreamyou’s picture

Does the [group:title] token cause problems in other places, like in a standard system message?