VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: dylanphelan on May 14, 2013, 10:14:57 AM

Title: vmError: TableProduct_customfields: :store failed
Post by: dylanphelan on May 14, 2013, 10:14:57 AM
Hi

I imported some info directly to the database, but now i get this error when adding a custom field. Size and price.

vmError: TableProduct_customfields: :store failed
Duplicate entry '0' for key 'PRIMARY' SQL=INSERT INTO `osd_virtuemart_product_customfields` (`virtuemart_customfield_id`,`virtuemart_product_id`,`virtuemart_custom_id`,`custom_value`,`custom_price`,`custom_param`,`published`,`ordering`,`created_on`,`created_by`,`modified_on`,`modified_by`) VALUES ('0','957','3','160 x 230cm','0.0000','','0','0','','0','2013-05-14 08:06:16','64')
vmError: Media files must have a title

I am using 2.20b and VM 2.5.11

Would appreciate your help,

thanks
Title: Re: vmError: TableProduct_customfields: :store failed
Post by: dylanphelan on May 14, 2013, 10:36:32 AM
Don't worry. Solved it.

Added auto increment on virtuemart_customfield_id   
Title: Re: vmError: TableProduct_customfields: :store failed
Post by: rbongartz on April 03, 2015, 21:21:30 PM
Hey, could you elaborate on the fix? I've come up with this same issue and can't figure my way around it