Bug #15366
closedError installing static_info-tables
0%
Description
When installing static_info_table i get to following message in the extension manager:
ERROR: Query could not be parsed: "SQL engine parse ERROR: Field type unknown in parseFieldDef()!: near "uid (uid) ) "". Query: "CREATE TABLE static_countries ( uid int(11) unsigned NOT NULL auto_increment, pid int(11) unsigned NOT NULL default '0', cn_iso_2 char(2) NOT NULL default '', cn_iso_3 char(3) NOT NULL default '', cn_iso_nr int(11) unsigned NOT NULL default '0', cn_official_name_local varchar(45) NOT NULL default '', cn_official_name_en varchar(45) NOT NULL default '', cn_capital varchar(45) NOT NULL default '', cn_tldomain char(2) NOT NULL default '', cn_currency_iso_3 char(3) NOT NULL default '', cn_currency_iso_nr int(10) unsigned NOT NULL default '0', cn_phone int(10) unsigned NOT NULL default '0', cn_eu_member tinyint(3) unsigned NOT NULL default '0', cn_address_format tinyint(3) unsigned NOT NULL default '0', cn_zone_flag tinyint(4) NOT NULL default '0', cn_short_local varchar(45) NOT NULL default '', cn_short_en varchar(45) NOT NULL default '', cn_short_dk varchar(45) NOT NULL default '', cn_short_de varchar(45) NOT NULL default '', PRIMARY KEY (uid), UNIQUE uid (uid) );"
(issue imported from #M2186)
Files
Updated by Frank Benkart almost 19 years ago
This error occures at any extension installation.
Updated by Karsten Dambekalns almost 19 years ago
Not at any installation, but only when using UNIQUE and/or named keys - I have to check this.
Updated by Xavier Perseguers over 14 years ago
Problem comes again when performing a fresh TYPO3 4.4 (pre-beta2) install using the recent integration of DBAL in 1-2-3 installer.
When using Oracle (at least), the third step that imports the whole database automatically crashes after having successfully created tables with
ERROR: Query could not be parsed: "SQL engine parse ERROR: Field type unknown in parseFieldDef()!: near "uid (uid) "". Query: "ALTER TABLE static_territories ADD UNIQUE uid (uid);"
Updated by Xavier Perseguers over 14 years ago
Committed _core:
- TYPO3 trunk (rev. 7499)
- TYPO3 4-3 (rev. 7500)
Committed _dbal:
- DBAL trunk (rev. 32844)
- DBAL_1-1 (rev. 32845)
- DBAL_1-0 (rev. 32846)