3 replies [Last post]
kris's picture
Offline
Joined: 02/09/2009
Juice: 30
Was this information Helpful?

I'm trying to do a first time install of Ubercart onto my server. When I try to install the Ubercart package I get a white screen. My error log gives the following message:

PHP Fatal error: Cannot redeclare tapir_get_table() (previously declared in ...../sites/all/modules/tapir/tapir.module:281) in ....../sites/all/modules/ubercart/uc_store/includes/tapir.inc on line 39

Do I need to reinstall my Tapir module? Or is there something else I need to configure.

Any help would be much appreciated! Thanks in advance!

cha0s's picture
Offline
Getting busy with the Ubercode.
Joined: 08/22/2008
Juice: 416
Re: Tapir Causing White Screen

What version of Drupal are you running? It sounds like you have mismatched some module versions.

Try FreeBASIC!
My game Lynn's Legacy

kris's picture
Offline
Joined: 02/09/2009
Juice: 30
Re: Re: Tapir Causing White Screen

I'm running Drupal 6. I've installed Tapir 6.x-1.5 and Ubercart 6.x-2.0-beta.

I've "fixed" the problem by commenting out Tapir's version of the function and allowing it to use Ubercart's. This shouldn't hurt any other modules else because I have currently have no other modules that rely on Tapir. I'm just worried now that this could have broken something or make things more difficult in the future.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Tapir Causing White Screen

Quick fix... don't use TAPIr. Smiling

I didn't even know there was a 6.x version, so maybe you grabbed it from that issue in the issue tracker. The module is no longer a requirement for Ubercart on Drupal 6.