I get this error when I install the module

Fatal error: Cannot redeclare phptemplate_breadcrumb() (previously declared in C:\xampp\htdocs\drupal\sites\all\modules\uc_localize\uc_localize.module:109) in C:\xampp\htdocs\drupal\themes\garland\template.php on line 38

Would this module handle translation of shipping quotes and flat rate?

Comments

zegmant’s picture

i get the same error (uberart 6.x-2.2, drupal 6.16).

the problem was solved with commenting lines 34-38 of template.php of the garland theme

function phptemplate_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
  }
}

but, in any case, it's not a wayout.

mathieuhelie’s picture

Only got this error when I attempted to run update.php. (White screen of death)

I am running different themes for the admin and main site, and Garland only activates for back-end stuff. Using Fusion and Acquia Prosper as themes does not cause this error.

aacraig’s picture

Yes, this is an issue with this module, and probably will never be fixed -- hopefully the underlying problem in Ubercart will be fixed and make this module obsolete.

To avoid this error, disable this module before running update.

eme’s picture

What do you mean by "the underlying problem in Ubercart will be fixed"? Where people are coding a solution to this issue?