#1 (permalink)  
Alt 06.01.2006, 14:56
xt:C Sponsor
 
Registriert seit: 27.12.2005
Beiträge: 120
Standard

Versuche ich ?ber das Admin-Interface einen Artikel einzustellen, so bekomme ich folgenden Fehler nachdem ich auf Speichern klicke:

Code:
1054 - Unknown column 'group_permission_4' in 'field list'

insert into products (products_quantity, products_model, products_ean, products_price, products_sort, products_shippingtime, products_discount_allowed, products_date_available, products_weight, products_status, products_startpage, products_startpage_sort, products_tax_class_id, product_template, options_template, manufacturers_id, products_fsk18, products_vpe_value, products_vpe_status, products_vpe, group_permission_0, group_permission_1, group_permission_2, group_permission_3, group_permission_4, group_permission_5, group_permission_6, products_date_added) values ('10', '53464', '', '25', '', '1', '', null, '', '1', '1', '', '0', 'product_info_v1.html', 'table_listing.html', '', '0', '', '', '', '0', '0', '0', '0', '0', '0', '0', now())

[XT SQL Error]
Installiert ist der Shop (version 3.04 SP1) auf nem linux System mit xampp 1.4.16 (php4).

Eigentlich eindeutig der Fehler, da in der xtcommerce.sql in der Tat an den beiden entsprechenden Stellen die Werte group_permission_4, group_permission_5 und group_permission_6 fehlen.

Code:
DROP TABLE IF EXISTS categories;
CREATE TABLE categories (
 ?categories_id int NOT NULL auto_increment,
 ?categories_image varchar(64),
 ?parent_id int DEFAULT '0' NOT NULL,
 ?categories_status TINYint (1) ?UNSIGNED DEFAULT "1" NOT NULL,
 ?categories_template varchar(64),
 ?group_permission_0 tinyint(1) NOT NULL,
 ?group_permission_1 tinyint(1) NOT NULL,
 ?group_permission_2 tinyint(1) NOT NULL,
 ?group_permission_3 tinyint(1) NOT NULL,
 ?listing_template varchar(64),
 ?sort_order int(3) DEFAULT "0" NOT NULL,
 ?products_sorting varchar(32),
 ?products_sorting2 varchar(32),
 ?date_added datetime,
 ?last_modified datetime,
 ?PRIMARY KEY (categories_id),
 ?KEY idx_categories_parent_id (parent_id)
);
und hier:

Code:
DROP TABLE IF EXISTS products;
CREATE TABLE products (
 ?products_id int NOT NULL auto_increment,
 ?products_ean varchar(128),
 ?products_quantity int(4) NOT NULL,
 ?products_shippingtime int(4) NOT NULL,
 ?products_model varchar(64),
 ?group_permission_0 tinyint(1) NOT NULL,
 ?group_permission_1 tinyint(1) NOT NULL,
 ?group_permission_2 tinyint(1) NOT NULL,
 ?group_permission_3 tinyint(1) NOT NULL,
 ?products_sort int(4) NOT NULL DEFAULT '0',
 ?products_image varchar(64),
 ?products_price decimal(15,4) NOT NULL,
 ?products_discount_allowed decimal(3,2) DEFAULT '0' NOT NULL,
 ?products_date_added datetime NOT NULL,
 ?products_last_modified datetime,
 ?products_date_available datetime,
 ?products_weight decimal(5,2) NOT NULL,
 ?products_status tinyint(1) NOT NULL,
 ?products_tax_class_id int NOT NULL,
 ?product_template varchar (64),
 ?options_template varchar (64),
 ?manufacturers_id int NULL,
 ?products_ordered int NOT NULL default '0',
 ?products_fsk18 int(1) NOT NULL DEFAULT '0',
 ?products_vpe int(11) NOT NULL,
 ?products_vpe_status int(1) NOT NULL DEFAULT '0',
 ?products_vpe_value decimal(15,4) NOT NULL,
 ?products_startpage int(1) NOT NULL DEFAULT '0',
 ?products_startpage_sort int(4) NOT NULL DEFAULT '0',
 ?PRIMARY KEY (products_id),
 ?KEY idx_products_date_added (products_date_added)
);

F?ge ich in der Tabelle die Werte hinzu, so l?uft wirklich alles einwandfrei. F?hl mich ein wenig wie ein Beta-Tester, der sich gott sei dank zu helfen weiss...


Ist das noch keinem anderen vorher aufgefallen oder liegt der Fehler bei mir doch woanders? Ich h?tte jetzt die Werte ja selber noch in die tabelle einf?gen k?nnen, trotzdem w?re es sch?n zu wissen, wieso das nicht auf Anhieb funktioniert?!

LG

T. Kr?ger
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 09.02.2006, 12:23
Benutzerbild von wunschtacho
Erfahrener Benutzer
 
Registriert seit: 02.06.2005
Beiträge: 255
Standard

Habe das gleiche Problem - komisch
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
artikel, einstellen, fehler

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 08:07 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand