Author Topic: crash after clone product  (Read 1523 times)

Offline oliver

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
crash after clone product
« on: April 20, 2016, 05:09:54 AM »
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


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4380
  • Karma: +205/-0
    • View Profile
Re: crash after clone product
« Reply #1 on: April 20, 2016, 07:40:05 AM »
Hello.

Can you post tags from product you tried to clone
“Chuck Norris is so amazing.”
― Mother Teresa

Offline oliver

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
Re: crash after clone product
« Reply #2 on: April 20, 2016, 10:15:55 AM »
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


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4380
  • Karma: +205/-0
    • View Profile
Re: crash after clone product
« Reply #3 on: April 21, 2016, 04:32:34 AM »
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
“Chuck Norris is so amazing.”
― Mother Teresa

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1782
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: crash after clone product
« Reply #4 on: April 21, 2016, 09:36:40 AM »
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline oliver

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
Re: crash after clone product
« Reply #5 on: April 22, 2016, 03:43:18 AM »
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

 

Powered by SMFPacks Social Login Mod