I am using Ubercart 6x-2.6. Updated from 2.4. All of the modules will update except uc_cart. It is trying to update to 6202 but when I click update it just says updating and gets stuck there. Any idea what could cause this? Thanks

Comments

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

Update 6202 is a simple change to the way the cart block title is handled, and will only ever run one database command, so I have no idea why this isn't working - and nobody else has reported the same thing. Are any other updates outstanding? Perhaps it's not 6202 that's failing, but another subsequent update?

nsummy’s picture

It is the only one showing up as needing an update. The rest of ubercart says no updates available. Is there a way for me to manually update the database to reflect the change or does it not work that way? Otherwise I might just blow away ubercart and reinstall it, as much as I don't want to. I have read about an error not showing up regarding the uc_cart module during an update regarding the schema. I think it was for version 7 but I was wondering if maybe the same thing was happening to me in version 6.

Otherwise, is there a way to completely rollback to to the previous version of ubercart?

longwave’s picture

Status: Postponed (maintainer needs more info) » Fixed

Do you have a custom cart block title set at /admin/build/block/configure/uc_cart/0 ? If so, try deleting the custom title and running update.php again - the 6202 update does nothing if there is no title set.

If this still doesn't work, find the 'uc_cart' row in the system table and change the 'schema_version' value from 6201 to 6202. This will skip the update, but I am still stuck as to why this happens.

However you solve it please let us know how you get on, as this will help anyone else who runs into the same issue.

nsummy’s picture

So I took your advice and the the module still came up requiring an update. I disabled all of the ubercart modules and a lot of them are still showing up on the update list. They say no updates available but if they are disabled they should not show up correct?

Unrelated (or maybe not), I get this error when I try to click review order after everything is in my cart: user warning: Unknown column 'currency' in 'field list' query: INSERT INTO uc_orders (uid, order_status, order_total, product_count, primary_email, delivery_first_name, delivery_last_name, delivery_phone, delivery_company, delivery_street1, delivery_street2, delivery_city, delivery_zone, delivery_postal_code, delivery_country, billing_first_name, billing_last_name, billing_phone, billing_company, billing_street1, billing_street2, billing_city, billing_zone, billing_postal_code, billing_country, payment_method, data, created, modified, host, currency) VALUES (1, 'in_checkout', 0, 0, 'nsummy@hotmail.com', '', '', '', '', '', '', '', 0, '', 0, '', '', '', '', '', '', '', 0, '', 0, '', 'a:0:{}', 1318800317, 1318800317, '', 'USD') in /home/j4moreap/public_html/navydiverolympics.com/includes/common.inc on line 3538.

Status: Fixed » Closed (fixed)

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