Hi >:( allesamt,
Bei der Erstellung einer neuen Tabelle mit phpMyAdmin
erscheint ganz unten folgenden Absatz:
FEHLER
Die zusätzlichen Funktionen für verknüpfte Tabellen wurden
automatisch deaktiviert. Klicken Sie hier um herauszufinden
warum.
Nach Betätigung des Links erscheint fogenden Text:
PMA Database ... fehlerhaft[ Dokumentation ]
Allgemeine Verknüpfungsfunktionen Deaktiviert
Der Verweis auf die Dokumentation sagt aus,
dass folgende Zeile
$cfg['Servers'][$i]['bookmarktable'] string
$cfg['Servers'][$i]['relation'] string
irgendwie nicht klar sind?
Die Standardwerte in der Konfigurationsdatei config.inc.php sind jeweils wie folgt:
$cfg['Servers'][$i]['bookmarktable'] = ''; DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = ''; DEFAULT: 'pma_relation'
Kann mir bitte jemanden sagen, wo der Fehler liegt?
Danke
gabin
bei mir sieht das so aus:
$cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
// - leave blank for no bookmark support
// DEFAULT: 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
// DEFAULT: 'pma_relation'
Ich denke mal , das für diese funktionen extra sql tabellen angelegt werden müssen. Lass es einfach leer und versuch es nochmal.
Hi Musicman75,
Schön, dass Du da bist!
phpMyAdmin meldet folgenden Fehler:
MySQL meldet: Dokumentation
#1075 - Incorrect table definition; There can only be one auto column and it must be defined as a key
Also meine Tabelle sieht wie folgt aus:
FEHLER: SQL-Befehl:
CREATE TABLE `mx?????_pages2` (
`pid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`cid` INT( 10 ) DEFAULT '0' NOT NULL ,
`title` VARCHAR( 255 ) NOT NULL ,
`subtitle` VARCHAR( 255 ) NOT NULL ,
`active` INT( 1 ) DEFAULT '0' NOT NULL ,
`page_header` TEXT NOT NULL ,
`text` TEXT NOT NULL ,
`page_footer` TEXT NOT NULL ,
`signature` TEXT NOT NULL ,
`date` DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL ,
`counter` INT( 10 ) DEFAULT '0' NOT NULL ,
`clanguage` VARCHAR( 30 ) NOT NULL
)
Anmerkung: mx????? ist der Prefix der Tabellen:
Wo liegt der Fehler?
Danke
gabin
es fehlt was, probiers mal hiemit:
CREATE TABLE `mx12345_pages2` (
`pid` int(10) NOT NULL auto_increment,
`cid` int(10) NOT NULL default '0',
`title` varchar(255) NOT NULL default '',
`subtitle` varchar(255) NOT NULL default '',
`active` int(1) NOT NULL default '0',
`page_header` text NOT NULL,
`text` text NOT NULL,
`page_footer` text NOT NULL,
`signature` text NOT NULL,
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`counter` int(10) NOT NULL default '0',
`clanguage` varchar(30) NOT NULL default '',
PRIMARY KEY (`pid`)
) TYPE=MyISAM AUTO_INCREMENT=29 ;
Moin :)
zum ersten Prob: ;)
http://www.php-faq.de/q/q-phpmyadmin-relationen.html
Looool, was es in andren Foren so gibt...
http://www.php-resource.de/forum/showthread/t-20258.html
Hi Tora,
eine Frage:
könnte sein, dass das ganze an der neue Version
von phpMyAdmin Latest stable version: 2.6.0-pl3 liegt?
Danke
gabin