VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: TADS on May 13, 2014, 13:01:19 PM

Title: Child product not created successfully
Post by: TADS on May 13, 2014, 13:01:19 PM
Good Morning all,

i have been creating a shop for a customer that we have to have around 6 child products for each product. we have only added around 30 products and most do have 4-6 child products.... but when creating a new product now it will not let me create any child products... i get the error
Child product not created successfully

i am using Joomla 2.5.19 and VirtueMart 2.6.0a

everything was fine until last night when i could not create any more children.

We are using Generic child variant Custom Field to show stock of each of the children.

Hope someone can help.

Kev
Title: Re: Child product not created successfully
Post by: TADS on May 13, 2014, 15:53:11 PM
it has just let me crate one child, and now back to the same error again! Dam this is annoying.
Title: Re: Child product not created successfully
Post by: Milbo on May 13, 2014, 21:36:12 PM
you may try another alias for testing. Else send me a pn with an export of your vm tables.
Title: Re: Child product not created successfully
Post by: TADS on May 13, 2014, 21:49:46 PM
Thanks for the reply Milbo,

We have already tried to change it but no luck not even on new products... i have sent you a pm

thanks.
Title: Re: Child product not created successfully
Post by: TADS on May 24, 2014, 17:53:56 PM
We are facing the same problem again... this time after the customer has taken his store over and started to add the rest f his products....

The last time it was our fault and user error but i have check the products and i can not see any problems.

Hope someone can help her.

Kev
Title: Re: Child product not created successfully
Post by: TADS on May 26, 2014, 21:33:51 PM
i have also updated joomla to 2.5.20 still using VM 2.6.4

still can not add child products

Hoping someone can please help me out... this is a live site and it has broken while our client has it live :(

Many Thanks
Title: Re: Child product not created successfully
Post by: roojai on May 27, 2014, 04:16:52 AM
I am suffering from the same problem.

I was able to add child products without problem but I recently upgraded to VM2.6.4 and also started to use two languages (not sure if related to languages).

Now if I try to create a child product I get the message:

vmError: Database error: createChild Duplicate entry '1' for key 'slug' SQL=INSERT INTO `****_virtuemart_products_en_gb` (`virtuemart_product_id`,`slug`) VALUES ("0","1");
vmError: Database error: createChild Duplicate entry '1' for key 'slug' SQL=INSERT INTO `****_virtuemart_products_zh_tw` (`virtuemart_product_id`,`slug`) VALUES ("0","1");
Child product not created successfully


I cannot assign a different SKU or alias as there is no opportunity - I can't even get to that point.

Thanks for any help
Title: Re: Child product not created successfully
Post by: jenkinhill on May 27, 2014, 12:19:57 PM
http://forum.virtuemart.net/index.php?topic=124064.msg423936#msg423936