I was waiting for a "recommended version" of Activity for a long time. I just realized it's released yesterday finally. I put it on my site and got those
* warning: implode() [function.implode]: Invalid arguments passed in /home/topnet/public_html/iliski.com/sites/all/modules/activity/activity.module on line 557.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2 query: SELECT COUNT(*) FROM activity_targets activity_targets INNER JOIN activity activity ON activity.aid = activity_targets.aid WHERE activity_targets.target_uid IN () in /home/topnet/public_html/iliski.com/sites/all/modules/activity/activity.module on line 625.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY activity.created DESC LIMIT 0, 6' at line 3 query: SELECT activity.*, activity_targets.target_uid, activity_targets.target_role FROM activity_targets activity_targets INNER JOIN activity activity ON activity.aid = activity_targets.aid WHERE activity_targets.target_uid IN () ORDER BY activity.created DESC LIMIT 0, 6 in /home/topnet/public_html/iliski.com/sites/all/modules/activity/activity.module on line 625.
I'm on Drupal 6.9.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | activity.module.txt | 44.82 KB | jaydub |
| #7 | activity.module.393188.patch | 777 bytes | jaydub |
Comments
Comment #1
sirkitree commentedAre you upgrading from a dev version? a 5 version? brand new install? what all packaged activity modules do you have installed?
Comment #2
drupallogic commentedas I mentioned, it's a fresh install. I didn't upgrade anything.
I have enabled all Activity components. don't know which one is causing these errors...
Comment #3
drupallogic commentedI found out.
when I enable "User relationships activity" under Activity module, these errors happen!
Comment #4
sirkitree commentedThanks, I'll start looking there.
Comment #5
jaydub commentedComment #6
jaydub commentedFrom your error message I can assume that the error is originating from a block but I am not sure which block or blocks is causing this. Can you verify for what block(s) you have enabled when you see the error?
Comment #7
jaydub commentedDo you know how to apply a patch? If so can you try applying the attached patch and let us know if this fixes the issue for you?
Comment #8
drupallogic commentedactually I don't know how to apply a patch, but I will search and learn.
Comment #9
jaydub commentedtry this attached file. Copy it to your Activity module directory. Rename the file to activity.module (this is because the drupal project pages don't allow files uploaded with the .module extension).
Comment #10
jaydub commentedif you didn't try #9 you can try downloading the latest -dev snapshot as I've rolled the changes in #9 into the -dev tree.
Comment #11
tracerhand commentedI got this message when users signed up. Their confirmation email took them to a page where they're asked to change their password by clicking on a one-time login link and the subsquent page displayed this error. However, after reinstalling, the message seems to have disappeared.
Comment #12
drupallogic commentedI just uploaded 6.x-1.x-dev and it works fine. no errors yet. thank you!
meanwhile I'm not sure if I'm missing. Does Activity have the feature "Who looked to my profile?"
if not it will be great to add.
Comment #13
jaydub commented#12 - the User Activity contrib module can track when a user views another user's profile page.
Comment #14
drupallogic commentedyes but it's different. if someone views my profile it's listed under his account that he viewed my profile.
but I can't see who viewed my profile when I go to my account. hope you add it.
Comment #15
jaydub commentedChanging issue title to relate to request in #12
Comment #16
jaydub commentedtagging for release
Comment #17
jaydub commentedpushing to next release
Comment #18
sirkitree commentedclosing. 1.x no longer supported.