user warning: Unknown column 'products' in 'field list' query: UPDATE uc_coupons SET name = 'Test Coupon', code = 'testcoupon', value = 25, type = 'percentage', status = 1, valid_until = 1240977600, max_uses = 0, products = '0', users = '', roles = '1', minimum_order = 0 WHERE cid = 41 in /home/html/includes/database.mysql.inc on line 174.

When changing the date of an existing coupon

Comments

thill_’s picture

So When I upgraded I ran update.php as I normally do, but it seems that the update never fired, I was able to manually go in and fire update 1. This might be an issue when using 1 as the update. I can't test right now, but i am thinking changing that to 6001 would make it fire like it should.

longwave’s picture

Status: Active » Postponed (maintainer needs more info)

This has worked fine in my testing, update ID 1 should work okay as the default schema version is 0. Schema version 6001 is reserved for Drupal 6 installations, but you are using Drupal 5.

Which version of the module did you upgrade from? There's several versions of uc_coupon floating around which doesn't help things here, unfortunately.

longwave’s picture

Status: Postponed (maintainer needs more info) » Fixed

This field has been removed in the latest version, so this should no longer be an issue.

Status: Fixed » Closed (fixed)

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