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

KarinG’s picture

A WSOD? There has to be an entry in a log somewhere. Have you checked both the php error log file(s) - and the dblog?

tommyvyo’s picture

@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?

tommyvyo’s picture

On 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...

KarinG’s picture

So what is the exact dev version you are using?

KarinG’s picture

Ok, 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?

tommyvyo’s picture

Sorry 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.

KarinG’s picture

Ok, thank you. salvis is only just back from vacation - but I'm sure he'll be looking into a permanent fix for this.

salvis’s picture

Status: Active » Fixed

Thank 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.