this is my first issue here but not the last one

i receive error message in sql query on installation of the shipping module

user warning: Field 'weight' doesn't have a default value query: INSERT INTO af_ec_product_features (ptype, ftype) VALUES ("tangible", "shippable") in D:\work\art-factor\includes\database.mysql.inc on line 172.

to fix change on shipping.install line 78
with this line

db_query('INSERT INTO {ec_product_features} (ptype, ftype, weight) VALUES ("tangible", "shippable", 0)');

hope this help

Comments

brmassa’s picture

Status: Patch (to be ported) » Fixed

Svilen,

you are right. but its a product module problem. fixed!

regards,

massa

PS: when you provide a "patch" like this, set it as "patch (code needs review)". se you "to be ported" when it was fixed on eC3, for example, and the solution needed to be ported to eC4.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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