I have a problem previewing all nodes attributed to a group . However i can post the node successfully .
This problem seems to occurs with as all of my other OG related modules are disabled.
* warning: Invalid argument supplied for foreach() in /modules/node/node.module on line 521.
* warning: implode() [function.implode]: Invalid arguments passed in /modules/node/node.module on line 525.
* 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 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /includes/database.mysql.inc on line 172.
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedperhaps clear caches under admin/settings/performance? anyone else see this? this could happen if you have custom themeing. maybe use garland theme to check this out.
Comment #2
christefano CreditAttribution: christefano commentedI'm having the same problem and have just started looking into it. #278982 and #278983 have been marked as duplicates.
Comment #3
christefano CreditAttribution: christefano commentedThis is a strange problem. Following the OG 5.x-7.3 update, the default views provided by OG are indeed missing from the Views admin listing on a site I maintain. I haven't seen any changes made to OG (og.install, og.module, og_views.inc, etc.) in the last week that would cause this.
In the duplicate issues linked to above, others have reported "fixing" this by disabling attachments and comments on their group-enabled content types. This not only doesn't make sense to me, it also didn't work when I tried it. :) Neither did switching themes, clearing caches or burning incense.
Here's the SQL error I get (on Drupal 5.7, MySQL 5.0.32 and PHP 5.2.0-8).
Comment #4
christefano CreditAttribution: christefano commentedAfter revisiting this, I realized that disabling comments and attachments on OG-enabled content types actually does make a river of news show up when viewing a group with posts in it. The default views (og_search, og/all, etc.) are still missing, however, from the Views admin listing and OG configuration form.
Comment #5
dugh CreditAttribution: dugh commentedIt was a bug with the global redirect module. Update global redirect and the organic groups views should reappear.
Comment #6
christefano CreditAttribution: christefano commentedThis is indeed a problem with Global Redirect. That explains why I couldn't find a problem in OG...
This is marked as a duplicate of #279530.