Custom Breadcrumb option causes Access Denied in OG Forums
ptoly - November 9, 2009 - 16:43
| Project: | Custom Breadcrumbs |
| Version: | 6.x-2.x-dev |
| Component: | custom_breadcrumbs |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have OG Forums 6.x-2.x-dev (2009-Oct-14) installed on a multi site setup.
On the main site I don't see any problems.
However on the sub site only admin roles can get access, everyone else gets access denied when Custom Breadcrumbs are turned on.
I stepped through the modules (shutting off one by one) and it happens consistently when the main custom breadcrumbs module is turned on.
There is a similar issue on the OG Forums issues, having to do with menu_breadcrumbs: http://drupal.org/node/549542

#1
What custom breadcrumb configuration settings are you using (with only the base custom breadcrumbs module enabled)?
Do you have the problem when "Set the Home breadcrumb text on all pages" and "Use the menu structure to set the breadcrumb trail" options are disabled?
#2
#3
I was using API, Panels, Paths, Taxonomy, and Views (in other words, all of them).
That's what I meant when I said I stepped through all of them. I shut them off, one by one, and checked to see if I continued to get the access denied, which I did.
Settings:
Use the menu structure to set the breadcrumb trail - NO
Set the Home breadcrumb text on all pages - YES
NOW we are making headway :)
When I shut off the Set the Home breadcrumb text on all pages = NO, I stop getting the access denied!
#4
Ok, so this is the same error as reported for menu breadcrumbs, originating with the use of hook_init to set the home breadcrumb on all pages. Right now, I don't have a fix for this, so don't use the option if you need og forum. I'll try to find another hook that could accomplish the same purpose without the unintended side affect.
#5
fixing the title
#6
Thank you!