Hi,

I made the Date 7.x-2.1 update bout two weeks ago, and our website went berserk. We first experienced an apparent lack of memory, and then the server ended up churning error 500 every time we tried to empty the cache/ activate modules/ do other resource-intensive stuff.

Our sysadmin provided the following Drush messages :

[~/public_html]# drush rr
Manually deleted 1 stale file from the registry. [success]
A file has been declared in a module's .info, but could not be found. This is probably indicative of a bug. The missing file is sites/all/modules/date/date_views/includes/date_views.views_default.inc. [warning]
The registry has been rebuilt [success]

'all' cache was cleared [success]

----
However I must stress the error could not be reproduced after moving the Drupal installation and the database on another server. I'm not really sure of what happened, but the 7.x-2.1 version looks like the culprit, because the server environment was very stable before that update.

CommentFileSizeAuthor
#2 1455558.patch536 bytesBTMash
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lindsayo’s picture

I'm getting this notice from registry_rebuild on Date 7.x-2.2

BTMash’s picture

Priority: Normal » Minor
Status: Active » Needs review
FileSize
536 bytes

I can confirm that this issue is there as well. Its a relatively simple patch, however.

KarenS’s picture

Status: Needs review » Fixed

That change already exists in dev.

Status: Fixed » Closed (fixed)

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

pjcdawkins’s picture

Status: Closed (fixed) » Reviewed & tested by the community

KarenS: was it really fixed? The HEAD still appears to contain the line and the file hasn't been updated since

http://drupalcode.org/project/date.git/blob/HEAD:/date_views/date_views....

BTMash’s picture

Status: Reviewed & tested by the community » Fixed

This can be marked as fixed since it is now in the 7.x-2.x branch.

pjcdawkins’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Fixed » Reviewed & tested by the community

BTMash: where? can you show me a commit where it was fixed? is there some repository somewhere else?

I'm looking at this:
http://drupalcode.org/project/date.git/blob/HEAD:/date_views/date_views....
which is the file in question in the HEAD of the 7.x-2.x branch. Permalink:
http://drupalcode.org/project/date.git/blob/6f396c2f9a8e01bf5281081315d4...

BTMash’s picture

@pjcdawkins, line 12 of the links you provided. Also, its in the dev version of the date module.

pjcdawkins’s picture

BTMash: the line is supposed to be removed by the patch, not added. The file is still missing, and anyway .views_default.inc files shouldn't be listed in .info files.

BTMash’s picture

Ah...yes, you're right!

Needs to get committed.

cafuego’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 7.x-2.x-dev

Status: Fixed » Closed (fixed)

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