Hi

I just upgraded two Drupal 7.4x sites to 7.50 and see lots of errors on what appears to be old module entries in the system table (schema versions indicate Drupal 6.x). All of these modules are not present anymore on the filesystem (understandable as they would not work) but I'm prompted to restore them anyway.

The same for left-overs entries of Drupal7 modules that where deleted from disk (instead of uninstall).

Messages like
User warning: The following module is missing from the file system: atom_reference. In order to fix this, put the module back in its original location. For more information, see the documentation page(link is external). in _drupal_trigger_error_with_delayed_logging() (line 1128 of /x/httpd.www/includes/bootstrap.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wvd_vegt created an issue. See original summary.

cilefen’s picture

Component: configuration system » extension system
Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Closed (fixed)

There have been about 6 issues opened for this recently. All can be handled by reading and following the documentation: https://www.drupal.org/node/2487215

David_Rothstein’s picture

Title: Errors on old drupal 6 module entries in system » Missing modules warning instructions don't make sense for certain situations (such as for old Drupal 6 module entries in the system table)
Version: 7.5 » 7.x-dev
Component: extension system » base system
Category: Support request » Bug report
Status: Closed (fixed) » Needs review
FileSize
1.56 KB

All of these modules are not present anymore on the filesystem (understandable as they would not work) but I'm prompted to restore them anyway.

I guess it's probably better for the message not to recommend a specific solution, when that solution (although usually correct) isn't always applicable, and when the documentation actually has several different suggested solutions for different scenarios...

Here is one possible way to improve that.

I left the "moved within the file system" message alone since for that one I think the default solutions is essentially always correct.

Fabianx’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +String change in 7.52

I agree with the message change, RTBC.

This is a string change, right?

Fabianx’s picture

Oh and maybe we should add a backtrace somewhere or allow setting a variable to get a backtrace?

Hacking core to find out who the hack is calling that is ... really bad.

cilefen’s picture

stefan.r’s picture

Issue tags: +Pending Drupal 7 commit

I'm fine with that change as well.

  • stefan.r committed 3a34404 on 7.x
    Issue #2764131: Missing modules warning instructions don't make sense...
stefan.r’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -Pending Drupal 7 commit

Committed and pushed to 7.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

David_Rothstein’s picture

Issue tags: -String change in 7.52 +String change in 7.51, +7.51 release notes

This is a string change, right?

I guess kind of... it will probably run through t() on display, but I don't think it will ever appear on localize.drupal.org.

We should use the issue tag for the right release though :)