I tried the module on a testsite, works fine.
When I try it on a site that has I18n installed, I get a WSOD + fatal error on a term page:
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/taxonomy_breadcrumb/i18ntaxonomy.pages.inc' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\bakx\includes\menu.inc on line 346
When I view a node, the term-breadcrumbs display fine, but for some reason there's a conflict with i18n on term-pages itself.
Tested with 1.1 and latest -dev release.
I also have Taxonomy-menu installed and using it, but that doesn't seems to cause problems when I18n isn't installed(all modules are up to date)
Any fixes/patches for this?
Comments
Comment #1
askibinski CreditAttribution: askibinski commentedSame issue here on a i18n site, but I don't use taxonomy menu.
So I think the problem is only with i18n + taxonomy_breadcrumb.
Comment #2
MGN CreditAttribution: MGN commentedBoth modules are overriding the core taxonomy/term/% pages. taxonomy breadcrumb goes to some length to work with modules like i18n, by storing and calling the original callback function. But for this to work, taxonomy breadcrumb needs to have a greater weight in the system table than i18n. I set up a test installation and found that when i18ntaxonomy has the greater weight, the fatal error occurs. Increasing the weight of the taxonomy breadcrumb module and clearing the cache seems to fix the problem - though I haven't been able to test to see if i18ntaxonomy still works correctly after this change.
This is not really a bug. There just isn't a good way for modules to both override the same page and still work correctly. I know we have it working with a couple of modules now, but not sure if this will be sufficient to work with i18n.
Please let me know if this solution will work for you.
Comment #3
asb CreditAttribution: asb commentedSame issue here, not using 'taxonomy menu', just 'Taxonomy Breadcrumb' and i18n.
> But for this to work, taxonomy breadcrumb needs to have a greater weight in the system table than i18n.
How do I manage this? Do I need to hack the database directly?
Thanks & greetings, -asb
Comment #4
MGN CreditAttribution: MGN commentedYes, though I think hack is a strong word. Change the weight of taxonomy breadcrumb so its greater than i18ntaxonomy. I can give you some php code to accomplish this, if you like, or just use phpMyadmin (or something equivalent).
Comment #5
asb CreditAttribution: asb commentedA sample SQL statement would be fine with me - I'm not using phpMyAdmin, but I've access to the database.
Thank you!
Comment #6
asb CreditAttribution: asb commentedComment #7
MGN CreditAttribution: MGN commentedTry the following script. You can execute it in a page (or any other content type) that has php code enabled as an input format. Just cut and paste the whole thing, including the php tags into the body of the page and save it. You should get a message saying the system weight has been changed...
Comment #8
TuFrac CreditAttribution: TuFrac commentedThank you, I me work of marvel, you extracted me of a trouble with your code
Comment #9
RaulMuroc CreditAttribution: RaulMuroc commentedTo me it did not work. It told me "Taxonomy breadcrumb weight was not changed..." and is giving me the same message as TuFrac at the beginning "page not found". Is there some other solution or possibility?
I have been trying few things, i watched database and the weight is correctly.
Thanks
Comment #10
Summit CreditAttribution: Summit commentedSubscribing, greetings, Martijn
Comment #11
MGN CreditAttribution: MGN commented@raulcabestany, do you know what module(s) are causing the conflict ? Any hints in the error message?
Comment #12
gisleThe Drupal 6 version is no longer supported. Closing this as outdated. If you think this is still relevant for Drupal 7 or Drupal 9, please open a new issue.