News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

crash after clone product

Started by oliver, April 20, 2016, 05:09:54 AM

Previous topic - Next topic

oliver

Hello
just for your information
I am using abantecart 1.2.6 and this is a fresh install on a none public host at the moment
i add only one extension on the board  turkish language what is not for 1.2.6 but still working fine with some thinks exeption

i got 1 problem now when i try to clone a product it just crash
this is the report i got
Log file tail:

2016-04-20 8:51:24 - database error:  AbanteCart core v.1.2.6 Error: <br />INSERT INTO abc_product_tags (`tag`, `product_id`, `language_id`) VALUES ('Filtre', '1223', '2')  in <b>/home/fly/public_html/xxxxxxxx.com/core/database/amysqli.php</b> on line <b>106</b>
2016-04-20 8:50:53 - warning:  AbanteCart core v.1.2.6 sprintf(): Too few arguments in <b>/home/fly/public_html/xxxxxxxx.com/admin/controller/common/footer.php</b> on line <b>44</b>
2016-04-20 8:50:42 - warning:  AbanteCart core v.1.2.6 sprintf(): Too few arguments in <b>/home/fly/public_html/xxxxxxxx.com/admin/controller/common/footer.php</b> on line <b>44</b>
2016-04-20 8:49:35 - database error:  AbanteCart core v.1.2.6 Error: <br />INSERT INTO abc_product_tags (`tag`, `product_id`, `language_id`) VALUES ('Filtre', '1222', '2')  in <b>/home/fly/public_html/xxxxxxx.com/core/database/amysqli.php</b> on line <b>106</b>
2016-04-20 8:48:50 - warning:  AbanteCart core v.1.2.6 sprintf(): Too few arguments in <b>/home/fly/public_html/xxxxxxxx.com/admin/controller/common/footer.php</b> on line <b>44</b>
2016-04-20 8:48:37 - database error:  AbanteCart core v.1.2.6 Error: <br />INSERT INTO abc_product_tags (`tag`, `product_id`, `language_id`) VALUES ('Filtre', '1221', '2')  in <b>/home/fly/public_html/xxxxxx


Basara

Hello.

Can you post tags from product you tried to clone

oliver

example the model name is

Product name > HAVA JAGUAR-WAF-4X43

meta Tag keyword: hava filtresi,filtre,motor,araba,oto,aksesuar,jaguar
product tags: Filtre
Meta Tag Description: oto hava filtresi
Model:Winkel
Tax Class: KDV
SKU: HAVA JAGUAR-WAF-4X43
SEO Keyword: hava-jaguar-waf-4x43_0

but this error is on all the products i have on the cart
if i try to clone any product this error are happens


Basara

Hello.

Thank you. You found bug and we able to replicate it. Bug reported to AbanteCart bug tracker https://github.com/abantecart/abantecart-src/issues/525

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

oliver

yes the problem is on "Product Tags" if you use 2 differend language and you write the same product or name in the option then after when you try to clone it it crashed
if you use differend names example on english your write (car) and in other language option you write (auto) that will work by clone without crash
but then you have the name on both language in the "product tags" like this : (car,auto)

just for your information

Forum Rules Code of conduct
AbanteCart.com 2010 -