News:

Support the VirtueMart project and become a member

Main Menu

vmError: TableProduct_customfields: :store failed

Started by dylanphelan, May 14, 2013, 10:14:57 AM

Previous topic - Next topic

dylanphelan

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

dylanphelan

Don't worry. Solved it.

Added auto increment on virtuemart_customfield_id   

rbongartz

Hey, could you elaborate on the fix? I've come up with this same issue and can't figure my way around it