OK i have 10 members who use the activity streams in my drupal site.
Two of them use the same twitter username and get an duplicate error.When one of them deleted these username twitter's feeds never updated again. The nodes of deleted user deleted but the activitystreams(in database) no.
I delete all nodes and activities entries but we get this error
warning: Invalid argument supplied for foreach() in /home/feedad/public_html/modules/activitystream/activitystream_twitter/activitystream_twitter.module on line 20.
and i dont know if these errors have any conection with that:
# user warning: /tmp/a7e21a926d0c8169b617775d00c91f86.spc is not writeable in /home/feedad/public_html/modules/activitystream/activitystream_feed/simplepie.inc on line 1762.
# warning: file_put_contents(/tmp/ddc5039d9fb6cb8b3619f34b005e6e91.spc) [function.file-put-contents]: failed to open stream: Permission denied in /home/feedad/public_html/modules/activitystream/activitystream_feed/simplepie.inc on line 8209.I dont know if this module can support a huge community as well and i am in good way to improve that.
Comments
Comment #1
akalsey commentedThe module was never tested for the instance of two people using the same Twitter name. But the way it's designed, it certainly shouldn't work. Before inserting a node, the module checks to see if it's seen the update before. This prevents duplicate updates from appearing.
It's easy to solve this however. I'll get it in the next release. In the meantime, you can make the following change to activitystream.module to get this working.
In the _activitystream_save function, change the first 6 lines to read...
I have no idea what this means....
The simplepie errors you have are an unrelated a server config problem. Please open a separate issue for those.
Comment #2
skullJ commentedIf you delete an activitystream node via edit node>>delete, the informations(nid,vid,title,uid) will be deleted only in "node" table in mysql database,and in the other hand the activitystream entry in table "activitystream" in MySql database will not.In that way in /stream/ page(or in profile page) will display the activitystream_XmoduleX_icon and "#" without linked anywhere!!!
When you delete an "activitystream node" the activity will still display without title,without link,without author,without link to node.
Comment #3
skullJ commentedYour code works fines but when i changed the code all nodes duplicated!!!(I will delete them via phpMyAdmin)
Comment #4
akalsey commentedThis is fixed in cvs. I added a check to find old-style guids and clean them out to prevent these duplicate activities.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.