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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1455558.patch | 536 bytes | BTMash |
Comments
Comment #1
lindsayo CreditAttribution: lindsayo commentedI'm getting this notice from registry_rebuild on Date 7.x-2.2
Comment #2
BTMash CreditAttribution: BTMash commentedI can confirm that this issue is there as well. Its a relatively simple patch, however.
Comment #3
KarenS CreditAttribution: KarenS commentedThat change already exists in dev.
Comment #5
pjcdawkins CreditAttribution: pjcdawkins commentedKarenS: 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....
Comment #6
BTMash CreditAttribution: BTMash commentedThis can be marked as fixed since it is now in the 7.x-2.x branch.
Comment #7
pjcdawkins CreditAttribution: pjcdawkins commentedBTMash: 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...
Comment #8
BTMash CreditAttribution: BTMash commented@pjcdawkins, line 12 of the links you provided. Also, its in the dev version of the date module.
Comment #9
pjcdawkins CreditAttribution: pjcdawkins commentedBTMash: 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.
Comment #10
BTMash CreditAttribution: BTMash commentedAh...yes, you're right!
Needs to get committed.
Comment #11
cafuego CreditAttribution: cafuego commentedCommitted and pushed to 7.x-2.x-dev