Jump to content
xt:Commerce Community Forum

Produkt Duplizieren Geht Nicht !


Grunewald

Recommended Posts

Hallo,

wenn ich Produkt duplizieren w?hle, kommt folgender Fehler:

1136 - Column count doesn't match value count at row 1

insert into products_description (products_id, language_id, products_name, products_description, products_short_description, products_meta_title, products_meta_description, products_meta_keywords, products_url, products_viewed) values ....

[XT SQL Error]

Link to comment
Share on other sites

  • 3 weeks later...

habe den Fehler gefunden. In der Datei \Admin\categories.php muss die Zeile 360 durch folgenden Code ersetzt werden, da drei Argumente zu wenig angegeben sind.

xtc_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, products_short_description, products_meta_title, products_meta_description, products_meta_keywords, products_url, products_viewed) values ('" . $dup_products_id . "', '" . $description['language_id'] . "', '" . addslashes($description['products_name']) . "', '" . addslashes($description['products_description']) . "','" . addslashes($description['products_short_description']) . "','" . addslashes($description['products_meta_title']) . "','" . addslashes($description['products_meta_description']) . "','" . addslashes($description['products_meta_keywords']) . "', '" . $description['products_url'] . "', '0')");

:D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...