Der Beitrag konnte nicht gespeichert werden.
![](http://www.drupalcenter.de/files/noavatar_mini.gif)
am 14.07.2011 - 10:52 Uhr in
Hallo Drupal-Gemeinde ,
ich habe seit heute plötzlich das Problem das keine Beiträge mehr erstellt werden können.
Watchdog gibt dazu folgendes aus :
a:4:{s:6:"%error";s:7:"warning";s:8:"%message";s:39:"Invalid argument supplied for foreach()";s:5:"%file";s:73:"/xxx/xxx/xxx/xxxxx/httpdocs/drupal/modules/taxonomy/taxonomy.module";s:5:"%line";i:1242;}
Es wurden keinerlei Updates oder sonstwas an den Modulen gemacht bzw. geändert. Was ist da auf einmal im Argen ?
Kann mich da wer bitte aufklären ?
Vielein Dank im vorraus :)
- Anmelden oder Registrieren um Kommentare zu schreiben
Ich habe da einen weiteren
am 14.07.2011 - 12:12 Uhr
Ich habe da einen weiteren Auszug und scheint das eigentliche Problem zu sein.
a:4:{s:6:"%error";s:12:"user warning";s:8:"%message";s:307:"Duplicate entry '14197' for key 2
query: INSERT INTO node (vid, type, language, title, uid, status, created, changed, comment, promote, moderate, sticky, tnid, translate)
VALUES (14197, 'interview', 'de', 'testeintrag', 1, 1, 1310641532, 1310641532, 2, 0, 0, 1, 0, 0)";s:5:"%file";s:60:
"/srv/www/vhosts/gggggg/httpdocs/drupal/includes/commonse.inc";s:5:"%line";i:3528;}
Nun aber die Frage: Wie kommt der Doppeleintrag zustande? Und wie behebe ich das nun =?
Wo wird die höchste nid
am 14.07.2011 - 13:04 Uhr
Wo wird die höchste nid bestimmt?
Mögliche Lösung
am 14.07.2011 - 13:46 Uhr
Access your database. Check the affected table. In this case, the error tells us that it is the node table (query: INSERT INTO node). This also happens with other tables, modify these instructions accordingly.
This is the node table, so the problem is the node id (nid). Each node has a unique id. Look at your table, and find the highest node id (nid). If you have many nodes, it may help to sort your table by nid to find the highest one.
Go to your sequences table. Change the node id in the sequences table to a number higher than the id you found in step 2.
Wie lautet nun die Tabelle in der deutschen Version ?