Hi all I have created a new post for clarity on what issues I have and how they maybe linked.
Previous posts
http://drupal.org/node/183860
http://drupal.org/node/184892
Original issue with my site where:
The og_forum and og_event modules did not maintain there group theme whilst group members browsed the groups they are subscribed to, this was accruing within the forum and event area of the group.
I added the following patches to the og_user_roles module to fix the above problems.
post 5 og_user_roles.module.5.x-2.6_2.patch
post 7 og_user_roles.module.5.x-2.6_4.patch
Please note that I used a fresh copy of og_user_roles to implement the patch. Also I didn’t apply both patches to the same module. I simply used patch 4 with a clean og_user_roles module as instructed. This fixed the theme problems.
Since adding the patches the follows error are now accruing.
1. When editing within a group, as a group manager the Tinymce editor is duplicating it's self. Please view attached image ref 1.
2. The core forum module is throwing up the following error when click into a forum topic. Error follows.
warning: Invalid argument supplied for foreach() in /home/watersp1/public_html/modules/node/node.module on line 521.
warning: implode() [function.implode]: Bad arguments. in /home/watersp1/public_html/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 /home/watersp1/public_html/includes/database.mysql.inc on line 172
3. The og_forum module is not allowing group managers to post. This is because the forums drop down box is empty rather that offering a category to post the topic into the box is empty. Please view attached image ref 2.
So why are all these problems existing. Well after many hours of hunting through drupal’s posts and changing module configuration with in my site I have come to this conclusion
If I disable the og_user_roles module errors 1 and 2 do not show up. However I am unable to test error 3 as disabling the og_user_roles module removes manager privileges for posting content with in a group, I believe error 3 is related to problem number 2. Thus fixing problem number 2 may fix problem number 3.
So some where in the patched version og_user_roles module with patch og_user_roles.module.5.x-2.6_4.patch implemented some code is causing conflicts.
Can any one help???
Thanks, Matt
| Comment | File | Size | Author |
|---|---|---|---|
| Group_forums_0.jpg | 71.22 KB | shmatty29 |
Comments
Comment #1
somebodysysop commentedAt this point, can't help you because:
a. I am unable to duplicate your problems using the patched code, and;
b. You are referring to patches that are not actually part of the official release.
I tested on a site that has TAC/OG turned on, and another that doesn't. The forum, og_forum and og_calendar modules are key components of the sites I run, so I'm very much interested in any problems that might occur as a result of changes to OGR.
From a logical standpoint, it doesn't make sense to me that adding og_user_roles_theme() would cause these sorts of problems, and I don't see where any other recent patch changes would as well. But, you are having the problems, and you don't have them when OGR is removed, so there is some issue to deal with.
On the forum topic creation, do you see "node/add" or "ognodeadd" in the url?
My recommendation is for you to go back to the version of OG User Roles which was working prior to these errors. When version 2.6 is released, you should only install it on a test site to see if the problems you are reporting here re-occur. If they do, we can go from there because, theoretically, other users would see the same thing.