I've just installed TAC on my 4.7 installation. Whenever I enable it, all of my page content displays blank. The content comes back when TAC is disabled from its settings page. No other content types are affected. I'm running the latest drupal, TAC, and mysql 4.1.
Comments
Comment #1
keve commentedOn what pages exactly: /node/123?
or simply: /node?
You have not mentioned any content type. So what content type is affected?
Comment #2
rayarub commentedJust the Drupal-default "page" content type, at the specific URLs of the pages (e.g. /node/17762).
Comment #3
keve commentedWhat other content types do you use?
Do 'story, book, cck' work well?
Does it output 'ACcess denied' or 'page not found'? Does it output title of the page?
Comment #4
rayarub commented"Story" and other flexinode-based content types work fine. On the page, the title is printed, followed by comments, a blank space where the body should be, and the normal page footer.
Comment #5
keve commentedActually, no idea what it can be.
It seems that something blocks node->body in case of "page" content type.
(Are you sure the content is saved in database: body field in 'node' table). When you edit the node, (/node/123/edit) those the Body textarea field shows the content?
It would be nice to see, if node_load function loads the 'body' without problem.
Do you have any other module installed except drupal core & TAC?
If you are a programmer:
For debugging, Try installing devel.module, and see what sql queries are called.
Or try to output print_r($node) to see the content of the $node object. (Somewhere in hook_nodeapi $op=view).
Comment #6
Anonymous (not verified) commentedMy apologies if I'm posting this in the wrong place ... any instruction is welcome.
I'm having a similar problem, but it only happens to users in one role. The symptom: every page shows up with the title "content", and the body is a single digit: 3. Each page's URL is correct, but the content is always incorrect. Furthermore, some menu options disappear.
Here's what's odd: it only does this if I log on to a user account in a specific access role ("members"). If I log onto user accounts in any other access role, all content is displayed correctly.
My configuration: 4.7.6. Modules include taxonomy_access, menu-per-role, civicrm, singlesignon, and others. (Taxonomy_access and menu-per-role are the only access control modules.) It's deployed on Linux through a commercial hosting service.
I searched around and didn't find this problem documented elsewhere. If this is a known problem and there's a workaround, would appreciate it if you could point me in the right direction. If this is something new, I'd be happy to help recreate this for someone far smarter than me to fix. Let me know how I can help.
Thanks!
Comment #7
keve commentedJshuster: Please submit a new issue next time! (It is totally different topic and version number).
I guesss this is not caused by TAC.
To be sure about it: (By properly disabling TAC)
1. Deactivate module on it seetings' page
2. Disable module
If problem persist, and to be sure it is not a bug for TAC
Delete all values of TAC in table node_access:
DELETE FROM node_access WHERE realm='term_access';
(One linde should remain for sure w/ realm: all)
Comment #8
keve commentedWithout further feedback from user, i close this.