Jump to content
xt:Commerce Community Forum

Fehlermeldung Bei Kopieren Produkt


selbstbau

Recommended Posts

Wenn ich unter Produkte anlegen Produkt kopieren dupliezieren w?hle, bekomme ich folgende Fehlermeldung.

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 ('7', '1', 'pufferspeicher', 'teste das mit Pufferspeicher','Test des Pufferspeichers', 'www.baudochselbt.de', '0')

[XT SQL Error]

Was mache ich da denn falsch.

Gru? Michael

Link to comment
Share on other sites

Hallo zusammen,

ich habe versucht in categories.php den code auszutauschen wie im Link beschrieben.

xtc_db_query("insert into " . TABLE_PRODUCTS . "

(products_quantity,

products_model,

products_image,

products_price,

products_discount_allowed,

products_date_added,

products_date_available,

products_weight,

products_status,

products_tax_class_id,

manufacturers_id,

product_template,

options_template,

products_fsk18)

values

('" . $product['products_quantity'] . "',

'" . $product['products_model'] . "',

'" . $product['products_image'] . "',

'" . $product['products_price'] . "',

'" . $product['products_discount_allowed'] . "',

now(),

'" . $product['products_date_available'] . "',

'" . $product['products_weight'] . "',

'0',

'" . $product['products_tax_class_id'] . "',

'" . $product['manufacturers_id'] . "',

'" . $product['product_template'] . "',

'" . $product['options_template'] . "',

'" . $product['products_fsk18'] . "'

)");

gegen

xtc_db_query("insert into " . TABLE_PRODUCTS . "

(products_quantity,

products_model,

products_image,

products_price,

products_discount_allowed,

products_date_added,

products_date_available,

products_weight,

products_status,

products_tax_class_id,

manufacturers_id,

product_template,

options_template)

values

('" . $product['products_quantity'] . "',

'" . $product['products_model'] . "',

'" . $product['products_image'] . "',

'" . $product['products_price'] . "',

'" . $product['products_discount_allowed'] . "',

now(),

'" . $product['products_date_available'] . "',

'" . $product['products_weight'] . "',

'0',

'" . $product['products_tax_class_id'] . "',

'" . $product['manufacturers_id'] . "',

'" . $product['product_template'] . "',

'" . $product['options_template'] . "'

)");

tut sich aber trotzdem nichts.

Kann mir mal jemand schreiben, was ich da noch machen kann?

Gru? Michael

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
  • Create New...