Hi,
when i open heartbeat's view like http://mysite/activity i've got this :

x
Status message
Stream class clone_of_useractivity does not exist in streams/useractivity.inc or it's not auto-included in yourmodule.info. The requested page "/activity" could not be found.

but under that the same page is loaded !! with this :

Warning: Cannot modify header information - headers already sent by (output started at .../includes/common.inc:2681) in drupal_send_headers() (line 1216 of .../includes/bootstrap.inc).
Warning: Cannot modify header information - headers already sent by (output started at .../includes/common.inc:2681) in drupal_send_headers() (line 1212 of .../includes/bootstrap.inc).

You are not authorized to access this page.

It's the same way with all blocks and pages of Heartbeat activity defaults module!
Anyone could help me?
Thanks

Files: 
CommentFileSizeAuthor
heartbeat_weird.PNG59.41 KBRedsucker

Comments

Status:Active» Closed (works as designed)

Hi,

The message on top is the real message you should look at: "stream of class clone_of_useractivity" does not exist ..."

So this says me that you cloned the useractivity from the heartbeat_defaults module. You cloned that one, so to use this stream, you need the useractivity and thus the heartbeat_defaults module enabled.
So my best guess is that the module does not check if the actual PHP class is still there (E.g. disabling the defaults module afterwards)

Also, the useractivity stream is a special one. As it says in the description, it is specific for a known user. So If you actually want to clone this one, you will need to use a path like the useractivity itself: user/%user/activity
For me personally, I never found a good reason to clone that one. Or you use it or you don't. Modify it you prefer that.

Does this answer your question?

Hi Stalski, thanks for your help but still doesn't work, so i've put my mind upside down and i found why. it seems works great with a MySql database and don't with sqlite :(...
I made 2 new fresh installs in multi on the same instance of drupal :
Heartbeat sqlite (scroll down to see the error!) http://heartbeat.alsd.fr/heartbeat/siteactivity
and heartbeat mysql http://heartbeat2.alsd.fr/heartbeat/siteactivity works like a charm !
thx again and for your module!
R.