VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: apelius on July 05, 2012, 14:31:00 PM

Title: adding a new product failure
Post by: apelius on July 05, 2012, 14:31:00 PM
hi i'm using latest virtuemart and i have this following problem. When i try to add a ne product i get this error message:

      vmError: Serious error cant save #__virtuemart_products without product_name
        vmError: VmTableData::store failed - Duplicate entry '0' for key 1 SQL=INSERT INTO `o2iea_virtuemart_products_fi_fi` (`virtuemart_product_id`,`product_name`,`product_s_desc`,`product_desc`,`metadesc`,`metakey`,`customtitle`,`slug`) VALUES ('0','as','','','','','','as')
        vmError: Serious error cant save #__virtuemart_products without product_name

I got this message even i write product names correctly.
I have added one product succesfully but after that everything went wrong.

I have finnish translated version of joomla and virtuemart. Where's the problem?





[attachment cleanup by admin]
Title: Re: adding a new product failure
Post by: PRO on July 05, 2012, 19:52:32 PM
version?


and have you tried "install or update tables if necessary"

Title: Re: adding a new product failure
Post by: apelius on July 05, 2012, 20:23:49 PM
Quote from: BanquetTables.pro on July 05, 2012, 19:52:32 PM
version?


and have you tried "install or update tables if necessary"

Yes. I tried to install or update tables but didn't make any change. I'm using Virtuemart 2.0.8a and Joomla 2.5.6.
Title: Re: adding a new product failure
Post by: PRO on July 05, 2012, 21:21:22 PM
apeliius, try filling in the alias, and see what happens. the name does not have to be unique, but the alias does
Title: Re: adding a new product failure
Post by: apelius on July 06, 2012, 07:51:57 AM
Quote from: BanquetTables.pro on July 05, 2012, 21:21:22 PM
apeliius, try filling in the alias, and see what happens. the name does not have to be unique, but the alias does

awwww.... that will make it. For some reason I thought it comes automatically like in joomla articles=) Thank you ;D
Title: Re: adding a new product failure
Post by: PRO on July 06, 2012, 13:36:46 PM
Quote from: apelius on July 06, 2012, 07:51:57 AM
Quote from: BanquetTables.pro on July 05, 2012, 21:21:22 PM
apeliius, try filling in the alias, and see what happens. the name does not have to be unique, but the alias does

awwww.... that will make it. For some reason I thought it comes automatically like in joomla articles=) Thank you ;D

it does,

but there might have been another alias with the same name