Whenever I run update.php,I see this:

uc_cart_links module can not be updated. Its schema version is 0. Updates up to and including 1 have been removed in this release. In order to update uc_cart_links module, you will first need to upgrade to the last version in which these updates were available.

It doesn't seem to be hurting anything, but it's annoying. What can I do to correct this?

Comments

JoelMFD’s picture

bump

tr’s picture

Status: Active » Fixed

Without knowing the details of what you upgraded from and what you upgraded to, it's hard to say *why* that error occurred, but you *can* safely ignore that message in this case. Everything will still work properly.

ericinwisconsin’s picture

I updated from Drupal 5.x to 6.22. I get the status report notice that some modules are out of date, but none are listed in the available updates. It's showing up with I run update.php with the error I mentions and the select versions is opened on the update page.

4kant’s picture

subscribe - updated from ubercart 6.x-2.4 to 6.x-2.6

longwave’s picture

Category: support » bug
Priority: Normal » Minor
Status: Fixed » Active

I think we can safely remove uc_cart_links_update_last_removed() from 6.x. It was added late, so some installs have schema version 0 when it should be 1.

uc_cart_links_update_1() deleted a single variable so it's not critical to have it in place: http://drupalcode.org/project/ubercart.git/blob/refs/heads/5.x-1.x:/uc_c...

longwave’s picture

4kant’s picture

Thanks Dave,
everything`s OK now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

davemurphy’s picture

Status: Closed (fixed) » Active

can we have this opened again please.
I just update from Ubercart 6.x-2.1 to 6.x-2.7 on Drupal 6.22 and I get exactly the error as described above.

Dave

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

The code that would trigger this was removed for Ubercart 6.x-2.7 so I am not sure how this can still occur.

davemurphy’s picture

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

fixed it by emptying cache, flush database, and running update.php again.
closing
Dave