groppe19 Posted June 17, 2009 Report Share Posted June 17, 2009 Hallo, bekomme diese Fehlermeldung nachdem ich die guestbook.sql ausgeführt habe.Habe alle Dateien nach Anleitung hochgeladen und abgeändert. UPDATE admin_access SET guestbook=1 WHERE customers_id=1; MySQL meldet: Unknown column 'guestbook' in 'field list' Link to comment Share on other sites More sharing options...
tech4freaks Posted June 17, 2009 Report Share Posted June 17, 2009 Die Fehlermeldung sagt das die in der Spaltenauflistung stehende Spalte "guestbook" nicht vorhanden ist. Gruß Rene Link to comment Share on other sites More sharing options...
groppe19 Posted June 17, 2009 Author Report Share Posted June 17, 2009 Hallo Rene, gibt es da eine Lösung um den Fehler zu beheben ? Installiert wurde alles nach der Anleitung ! Grüsse thomas Link to comment Share on other sites More sharing options...
tech4freaks Posted June 17, 2009 Report Share Posted June 17, 2009 Kannst ja die Spalte per Hand anlegen. Bin mir aber nicht sicher ob es funzt. Was ist das für ein Gästebuch. Gruß Rene Link to comment Share on other sites More sharing options...
groppe19 Posted June 18, 2009 Author Report Share Posted June 18, 2009 Es ist folgendes Gästebuch : smart_guestbook_xtc304sp21_mit_captcha Kannst du mir kurz erklären wie ich die Spalte anlegen kann ? Grüsse Thomas Link to comment Share on other sites More sharing options...
tech4freaks Posted June 18, 2009 Report Share Posted June 18, 2009 Gehe in deine Sql-Datenbank wo das Gästebuch installiert werden soll. 1. Diesen Befehl ausführen lassen CREATE TABLE guestbook ( entry_id int(11) NOT NULL auto_increment, visitors_name varchar(64) NOT NULL default '', visitors_email varchar(96) default '', entry_rating int(1) default NULL, entry_status int(1) default '1', date_added datetime default NULL, last_modified datetime default NULL, entry_read int(5) NOT NULL default '0', PRIMARY KEY (entry_id) ) TYPE=MyISAM; 2. Diesen Befehl ausführen lassen CREATE TABLE guestbook_description ( entry_id int(11) NOT NULL default '0', languages_id int(11) NOT NULL default '0', entry_text text NOT NULL, PRIMARY KEY (entry_id,languages_id) ) TYPE=MyISAM; 3. Diesen Befehl ausführen lassen INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'GUESTBOOK_SHOW', 'true', 50, 1, NULL, now(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'),'); INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'GUESTBOOK_MAX_DISPLAY_ENTRIES', '6', 50, 2, NULL, now(), NULL, NULL); INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'GUESTBOOK_MAX_DISPLAY_PAGE_LINKS', '8', 50, 3, NULL, now(), NULL, NULL); INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'GUESTBOOK_NAME_MIN_LENGTH', '4', 50, 4, NULL, now(), NULL, NULL); INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'GUESTBOOK_TEXT_MIN_LENGTH', '25', 50, 5, NULL, now(), NULL, NULL); INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'GUESTBOOK_ALLOW_GUEST_ENTRY', 'true', 50, 6, NULL, now(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'),'); 4. Diesen Befehl ausführen lassen INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('50', 'Guestbook', 'Guestbook description', '50', '1'); 5. Diesen Befehl ausführen lassen ALTER TABLE admin_access ADD guestbook int(1) NOT NULL DEFAULT 0; UPDATE admin_access SET guestbook=1 WHERE customers_id=1; Müsste funktionieren. Habe ich selbst aber noch nicht getestet. Wie immer vor einer Änderung. Daten sichern !!! Gruß Rene Dies ist die Anlegung aller Spalten und Tabellen für das Gästebuch. Link to comment Share on other sites More sharing options...
groppe19 Posted June 19, 2009 Author Report Share Posted June 19, 2009 Hallo Rene, DANKE ! Jetzt funktioniert alles wie es sollte ! Danke für deine Mühe ! Gruss Thomas Link to comment Share on other sites More sharing options...
tech4freaks Posted June 19, 2009 Report Share Posted June 19, 2009 Gern geschehen. Gruß Rene Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.