Verfasst: 12.03.2008 20:36
hat noch jemand diesen Fehler? möchte mir gerne diesen MOD installieren....
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
CREATE TABLE `phpbb_kb_sub_cat` (
`cat_id` MEDIUMINT( 8 ) NOT NULL auto_increment,
`right_id` MEDIUMINT( 8 ) NOT NULL,
`left_id` MEDIUMINT( 8 ) NOT NULL,
`show_edits` TINYINT( 1 ) NOT NULL ,
`main_cat` MEDIUMINT( 8 ) NOT NULL default '0',
`title` varchar(255) NOT NULL default '',
`description` text NOT NULL,
`image` VARCHAR( 255 ) NOT NULL;
PRIMARY KEY (`cat_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
Code: Alles auswählen
SQL ERROR [ mysql4 ]
Unknown column 'image' in 'field list' [1054]
SQL
SELECT cat_id, title, main_cat, description, image FROM phpbb_31kb_sub_cat ORDER BY left_id ASC
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()
FILE: knowledge/index.php
LINE: 53
CALL: dbal_mysql->sql_query()
Helmut hat geschrieben:Hallo blauesblut,
hier ist die betreffende SQL Anweisung für die install.xml, damit sollte es dann gehen:
Code: Alles auswählen
CREATE TABLE `phpbb_kb_sub_cat` ( `cat_id` MEDIUMINT( 8 ) NOT NULL auto_increment, `right_id` MEDIUMINT( 8 ) NOT NULL, `left_id` MEDIUMINT( 8 ) NOT NULL, `show_edits` TINYINT( 1 ) NOT NULL , `main_cat` MEDIUMINT( 8 ) NOT NULL default '0', `title` varchar(255) NOT NULL default '', `description` text NOT NULL, `image` VARCHAR( 255 ) NOT NULL; PRIMARY KEY (`cat_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ;
@djchrisnet
Klar sollte es phpbb_kb_article heisen, wobei bei mir alles mit phpbb3_ beginnt.
Gruß Helmut
Code: Alles auswählen
MySQL meldet:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9
Code: Alles auswählen
CREATE TABLE `phpbb_kb_sub_cat` (
`cat_id` MEDIUMINT( 8 ) NOT NULL auto_increment,
`right_id` MEDIUMINT( 8 ) NOT NULL,
`left_id` MEDIUMINT( 8 ) NOT NULL,
`show_edits` TINYINT( 1 ) NOT NULL ,
`main_cat` MEDIUMINT( 8 ) NOT NULL default '0',
`title` varchar(255) NOT NULL default '',
`description` text NOT NULL,
`image` VARCHAR( 255 ) NOT NULL,
PRIMARY KEY (`cat_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
Code: Alles auswählen
Unterkategorie
Hier kannst du Unterkategorien für die Artikel anlegen und bearbeiten.