Closed (won't fix)
Project:
User Points
Version:
6.x-1.1
Component:
Code: userpoints
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
22 Oct 2009 at 07:10 UTC
Updated:
11 Jul 2015 at 02:47 UTC
Comments
Comment #1
kbahey commentedThis is harmless, since the column and key exists already. It is trying to create them again by mistake.
Comment #2
vitis commentedjust re-installed ubercart. got similar message:
Duplicate key name 'cart_id' query: ALTER TABLE uc_cart_products ADD INDEX cart_id (cart_id) in (my files)\includes\database.mysql-common.inc on line 434.going to ignore - unless advised otherwise, or something fishy happens
Comment #3
sterg17 commentedI got the same messages after upgrading my version of Ubercart to the latest update. These are my messages:
user warning: Duplicate column name 'changed' query: ALTER TABLE uc_shipments ADD `changed` INT NOT NULL DEFAULT 0 in /home3/madefrom/public_html/includes/database.mysql-common.inc on line 306.
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home3/madefrom/public_html/update.php on line 173.
user warning: Duplicate column name 'currency' query: ALTER TABLE uc_orders ADD `currency` CHAR(3) NOT NULL DEFAULT '' in /home3/madefrom/public_html/includes/database.mysql-common.inc on line 306.
user warning: Duplicate key name 'qty' query: ALTER TABLE uc_order_products ADD INDEX qty (qty) in /home3/madefrom/public_html/includes/database.mysql-common.inc on line 442.
user warning: Duplicate key name 'nid' query: ALTER TABLE uc_order_products ADD INDEX nid (nid) in /home3/madefrom/public_html/includes/database.mysql-common.inc on line 442.
user warning: Duplicate column name 'weight' query: ALTER TABLE uc_countries ADD `weight` TINYINT NOT NULL DEFAULT 0 in /home3/madefrom/public_html/includes/database.mysql-common.inc on line 306.
warning: Invalid argument supplied for foreach() in /home3/madefrom/public_html/update.php on line 337
Unfortunately, while the website works fine, after a completed order is placed - the following message appears to the customer:
"Unable to send e-mail. Please contact the site administrator if the problem persists"
Even worse, the address, name and order information is NOT captured and the credit cards are NOT charged. HELP!