Guten Tag zusammen
Leider bin ich ein Anfänger und deshalb dankbar für euere Unterstützung.
Ich möchte gerne eine Erweiterung für einen osCommerce installieren und musst zum Schluss die Datenbank updaten mit folgenden Befehl:
Kann mir jemand sagen wie und wo ich diese Befehle eingeben muss?
Ich hatte das schon unter myphp Admin / SQL versucht (siehe Anhang), bekomme aber immer wieder Fehlermeldungen.
Besten Dank für Eure Unterstützung
Site-Styler
Leider bin ich ein Anfänger und deshalb dankbar für euere Unterstützung.
Ich möchte gerne eine Erweiterung für einen osCommerce installieren und musst zum Schluss die Datenbank updaten mit folgenden Befehl:
PHP-Code:
Update the database with these sql commands
##
ALTER TABLE products_options
ADD products_options_type INT( 5 ) NOT NULL ,
ADD products_options_length SMALLINT( 2 ) DEFAULT '32' NOT NULL ,
ADD products_options_comment VARCHAR( 32 ) ;
ALTER TABLE customers_basket_attributes
ADD products_options_value_text text ;
##
##
INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');
INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 2, 'TEXT');
INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 3, 'TEXT');
##
or via some other method.
(For info, these are the instructions)
Add new fields to db
Add the following fields to table products_options
NAME: products_options_type
TYPE: int(5)
NULL: No
DEFAULT: 0
NAME: products_options_length
TYPE: smallint(2)
NULL: No
DEFAULT: 32
NAME: products_options_comment
TYPE: varchar(32)
NULL: Yes
DEFAULT: NULL
Add the following field to table customer_basket_attributes
NAME: products_options_value_text
TYPE: text
NULL: Yes
DEFAULT: Null
Kann mir jemand sagen wie und wo ich diese Befehle eingeben muss?
Ich hatte das schon unter myphp Admin / SQL versucht (siehe Anhang), bekomme aber immer wieder Fehlermeldungen.
Besten Dank für Eure Unterstützung
Site-Styler
Kommentar