Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With Forum_Access-7.x-1.x enabled (running on Drupal 7.14 against Advanced_Forum-7.x-2.x ), functionality of Content_Access-7.x-1.2-beta1 is disabled. Modules indicated that they work together, but something in Forum_Access is now conflicting with Content_Access.
Attempting to set Access Controls on a Content Type with Forum Access enabled results in a blank page (completely and utterly empty), and no errors appear in the log.
Comments
Comment #1
KarinGA WSOD? There has to be an entry in a log somewhere. Have you checked both the php error log file(s) - and the dblog?
Comment #2
tommyvyo CreditAttribution: tommyvyo commented@KarinG:
PHP Fatal error: Call to undefined function _forum_access_content_access_admin_form() in /srv/www/domain.com/public_html/sites/all/modules/forum_access/forum_access.module on line 237, referer: domain.com
Adding a blank function _forum_access_content_access_admin_form() fixed the WSOD.
Not sure the 'drupalesque' way to fix a problem like this otherwise I'd submit a patch.. thoughts?
Comment #3
tommyvyo CreditAttribution: tommyvyo commentedOn second thought, we found that the function does exist but for some reason was commented out of our version with a note "TODO Fix when CA is released!".
http://api.drupalhelp.net/api/forum_access/forum_access.admin.inc/functi...
Comment #4
KarinGSo what is the exact dev version you are using?
Comment #5
KarinGOk, so can you have a look at where that function is called, probably a form_alter() hook (maybe one or two levels deeper), comment out that hook, and refresh the cache?
Comment #6
tommyvyo CreditAttribution: tommyvyo commentedSorry for the long delay in my response Karin!
Exact dev version is: 7.x-1.0+5-dev.
Prior to comment #5 we uncommented the function we found and seems to be working.
Comment #7
KarinGOk, thank you. salvis is only just back from vacation - but I'm sure he'll be looking into a permanent fix for this.
Comment #8
salvisThank you for reporting and investigating. I've just pushed a change to uncomment the function but
return
right away.The function is intended to provide a helpful hint on how to get FA and CA to work together smoothly. I will have to investigate that when CA is stable.