Fehlermeldung

  • User warning: The following module has moved within the file system: comment_notify. In order to fix this, clear caches or put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /local/www/drupal/core/7.79/includes/bootstrap.inc).
  • User warning: The following module has moved within the file system: piwik. In order to fix this, clear caches or put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /local/www/drupal/core/7.79/includes/bootstrap.inc).

Drupal user warning: Duplicate entry for key 'PRIMARY' in systems table

Patch zur Beseitigung des Fehlers unter Drupal 6.24/6.25 und Drush 4.5.

Ein fehlerhafte SQL-Anweisung kann zu folgender Fehlermeldung führen:

  1. 
  2. user warning: Duplicate entry 'sites/default/themes/garland/garland.info' for key 'PRIMARY' query: UPDATE system SET owner = 'themes/engines/phptemplate/phptemplate.engine', info = 'a:13:{s:4:\"name\";s:14:\"garland\";s:11:\"description\";s:30:\"Mobile optimized simple theme.\";s:4:\"core\";s:3:\"6.x\";s:6:\"engine\";s:11:\"phptemplate\";s:11:\"stylesheets\"
  3. ;a:1:{s:3:\"all\";a:1:{s:9:\"style.css\";s:50:\"sites/default/themes/garland/style.css\";}}s:7:\"version\";s:7:\"6.x-1.1\";s:7:\"project\";s:14:\"garland\";s:9:\"datestamp\";s:10:\"1243343469\";s:7:\"regions\";a:5:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\";s:13:\"Right sidebar\";s:7:\"content\";s:7:\"Content\";s:6:\"header\";s:6:\"Header\";s:6:\"footer\";s:6:\"Footer\";}s:8:\"features\";a:10:{i:0;s:20:\"comment_user_picture\";i:1;s:7:\"favicon\";i:2;s:7:\"mission\";i:3;s:4:\"logo\";i:4;s:4:\"name\";i:5;s:17:\"node_user_picture\";i:6;s:6:\"search\";i:7;s:6:\"slogan\";i:8;s:13:\"primary_links\";i:9;s:15:\"secondary_links\";}s:7:\"scripts\";a:1:{s:9:\"script.js\";s:50:\"sites/default/themes/garland/script.j
  4. s\";}s:10:\"screenshot\";s:55:\"sites/default/themes/garland/screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";}', filename = 'sites/default/themes/garland/garland.info' WHERE name = 'garland' AND type = 'theme' in /www/drupal-6.24/modules/system/system.module on line 836.

Diskutiert wird dieser Fehler in Zusammenhang mit drush für verschiedene Drupal 6 Versionen:

Unter dem letzten Punkt wird der Fehler und die Beseitigung durch diesen Patch beschrieben.