I switched from the normal 1.0 to the 1.0 DEV.

The result is that I'm getting: Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/taxonomy_breadcrumb/i18ntaxonomy.pages.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/drupal6/includes/menu.inc on line 346

If I uninstall the module again the error is gone.
I'm also using vocabulary index module, this is the reason why I tried the dev version.

Comments

MGN’s picture

Status: Active » Postponed (maintainer needs more info)

This error comes up when two modules are simultaneously trying to override the taxonomy term pages. You'll find similar error reports in the panels and ctools issue queues, for example. I thought we had managed to get taxonomy breadcrumb and vocabulary index working well together, but maybe there is more to be done?

First, which version of the vocab index module are you using?

I think taxonomy_breadcrumb 6.x-1.x-dev should work with vocabulary_index 6.x-2.x-dev. If you are not working with the latest dev of both of these modules, please upgrade to the latest code.

Also, to verify that it is a conflict between these two modules, try deactivating vocab index and see if the problem goes away. We really need to know which two modules are in conflict.

EDIT: Reading more closely - from the error it looks like the conflict is with i18ntaxonomy. Are you using this module? If so, what version?

MGN’s picture

I've played around a little more with this, but haven't been able to force this error using the latest versions of taxonomy_breadcrumb, vocabulary_index, and i18n (i18ntaxonomy). Looks like I'll need step-by-step instructions on how to reproduce the error. I am assuming you are seeing the error on taxonomy term pages?

MGN’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

closing since there has been no response. A new release will be issued shortly. If this is still an issue, please try the latest code and see if the problem persists.

Nchase’s picture

I have the same error only having i18ntaxonomy and taxonomy_breadcrumb installed ...

update: this is weared, as soon as I redirect the taxonomy with taxonomy_redirect to another url everythings fine... as soon as I open the real taxonomy URL alias I'm getting the error.

Rakward’s picture

I had the same problem and installed the latest -dev version, but still having the same error. Any ideas on when you'll be able to fix this?

Taxonomy redirect doesn't work for me, probably because I'm using Taxonomy menu to create these links?

hilrap’s picture

Version: 6.x-1.x-dev » 6.x-1.1
Status: Closed (fixed) » Active

Same problem ! Any solution avialable yet?

ignat.s’s picture

I've encountered the same problem using i18ntaxonomy and taxonomy_breadcrumb

MGN’s picture

Status: Active » Postponed (maintainer needs more info)

You might check the weight of the taxonomy breadcrumb module and make sure it is greater than i18ntaxonomy in the system table. I can give you some php code to accomplish this, if you like, or just use phpMyadmin (or something equivalent).

Nchase’s picture

@MGN thanks for the hint. I'm using phpMyadmin

samonenko’s picture

Same problem!

MGN’s picture

See the comments in #8 and let me know what you find.

solar_olexa’s picture

I get an error
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/taxonomy_breadcrumb/i18ntaxonomy.pages.inc' (include_path='.;C:\xampp\php\PEAR') in

And #8 didn't help, even though PHP says that Taxonomy breadcrumb is already greater than i18ntaxonomy

Do you have any other idea?

P.S.: forgot to Flush the cash. Now everything works! Great, man :)

Anonymous’s picture

You might check the weight of the taxonomy breadcrumb module and make sure it is greater than i18ntaxonomy in the system table. I can give you some php code to accomplish this, if you like, or just use phpMyadmin (or something equivalent).

Maybe you should add a control that allows users to adjust the module weight. Seems a bit of a hassle having to enter the database manually.

jwilson3’s picture

Status: Postponed (maintainer needs more info) » Reviewed & tested by the community

Confirming again that #8 works for me in the same scenario:

i18n project's submodule i18ntaxonomy was enabled with weight=5, and taxonomy_breadcrumbs had weight=1, taxonomy/term/N pages woudnt load with the require_once() error.

I updated to taxonomy_breadcrumbs module weight to 6 then cleared all the caches. Et voila!

Thanks!

Wish there were a hook to 'refresh weights'... that would be really useful for dependency calculations etcetera.

jwilson3’s picture

Title: Error with latest DEV version » error require_once i18ntaxonomy.pages.inc

Updating the title so people can find this issue.

quazardous’s picture

maybe taxonomy breadcrumb could adjust its weight in the hook_enable()...


function taxonomy_breadcrumb_enable() {
  $weight = intval((db_result(db_query("SELECT MAX(weight) FROM {system} WHERE type='%s' AND name IN ('%s')", 'module', 'i18ntaxonomy'))) + 1);
  db_query("UPDATE {system} SET weight=%d WHERE type='%s' AND name = '%s'", $weight, 'module', 'taxonomy_breadcrumb');
}

chaugi’s picture

#8 works fine, but there is still a conflict with Panels taxonomy template page:
Page manager module is unable to enable taxonomy/term/%term because some other module already has overridden with _taxonomy_breadcrumb_term_page.
I have no idea why this module overrides taxonomy/term/% page?!

jwilson3’s picture

@chaugi, #17 sounds like a separate problem than the one discussed here. might you start a separate issue for that?

Drake’s picture

Had the same issue; chaning the taxonomy_breadcrumb weight from 1 to 6 has solved this issue.

andyhu’s picture

Issue still exists after changing the module weight to 99. However I've fixed it in the ugly way, copied i18ntaxonomy.pages.inc to taxonomy_breadcrumb folder...
Is there any other ways to fix this?

quazardous’s picture

when changing the weight flush the cache !

sanday’s picture

Hi
I don't know i do right thing or not but i removed i18n folder from my website directory and work for me.
may i face problem further ?

sanday’s picture

Dont do this this mess everything :(

nehajyoti’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (outdated)

Closing the issue as the version is outdated.