| phpMyEdit - Rozšírené detaily chyby | [ Späť ] | ||||
|
|
|||||
| ID: | Kategória: | Dôležitosť: | Reprodukovateľnosť: | Dátum vloženia: | Posledná zmena: |
| 405 | setup script | vlastnosť | vždy | 2006-09-20 14:09 | 2006-09-22 15:35 |
|
|
|||||
| Autor: | zucarino | Platforma: | |||
| Priradené: | OS: | ||||
| Priorita: | normálna | Verzia: | |||
| Stav: | schválený | Verzia produktu: | 5.6 (stable) | ||
| Build produktu: | Core class: 1.188 , Script: 1.48 | Riešenie: | otvorený | ||
| Projection: | žiadny | Duplicitné ID: | |||
| ETA: | žiadny | ||||
|
|
|||||
| Zhrnutie: | Incorrect key_type | ||||
| Popis: | After the php file creation via browser, the key_type option don't get the correct type when the unique key is "bigint". Then you can't Edit, Copy, Remove, etc the field. | ||||
| Kroky k vyvolaniu: |
- My table: CREATE TABLE `visitantes` ( `ID_Visit` bigint(10) NOT NULL default '0', `Nome_Visit` varchar(40) NOT NULL default '', `ID_Empresa` varchar(14) default NULL, `Tel1` varchar(12) default '021-', `Tel2` varchar(12) default NULL, PRIMARY KEY (`ID_Visit`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; - Data: INSERT INTO `visitantes` (`ID_Visit`, `Nome_Visit`, `ID_Empresa`, `Tel1`, `Tel2`) VALUES (8989898811, 'Sergio Pampolini', '33064262000500', '', ''), (2392839832, 'Ricardo Aued', '33064262000330', '', ''), (3232352637, 'Paulo Fernando', '33064262000411', '', ''), (4390749823, 'Luiz Maganhi', '64736478248767', '', ''), (7362784678, 'Marcos', '33064262000330', '021-88992222', ''); |
||||
| Dalšie informácie: |
Open created php file and change the line like this: [code] // Type of key field (int/real/string/date etc.) // $opts['key_type'] = 'int'; $opts['key_type'] = 'bigint'; [/code] |
||||
| Pripojené súbory: | |||||
| Poznámky k chybe | ||||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||
|
|
||||
|
|
|||