Hi,

I just updated to Drupal 7.14, and had to add $include_dir/lock.inc into the list of files that get included at the start of the rebuild for it to work. Missing function was lock_acquire().

Comments

rfay’s picture

Thanks for the word. Could you roll a patch (make sure to add it to both the php and the drush versions)?

Thanks!
-Randy

mscharley’s picture

Status: Active » Needs review
StatusFileSize
new759 bytes

Patch as requested.

mscharley’s picture

StatusFileSize
new759 bytes

Resubmitting patch because I didn't actually test it, and just realised I typoed. Oops.

q0rban’s picture

Status: Needs review » Fixed

Just ran into this myself. Tested, works as described, applies cleanly... Committed!

http://drupalcode.org/project/registry_rebuild.git/commitdiff/4b9f153

rfay’s picture

Created 7.x-1.8 release so people who use stable release won't be bit.

Thanks all!

Refineo’s picture

This patch helped, thank you !

Maybe this helps somebody: Don't forget to update the registry_rebuild in the drush includes folder. I didn't update and drush picked the wrong (old) version. It was couple of months ago I used this last time...fortunatelly:)

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

hi,
Is it possible to have some details regarding how to do this? I have just discovered this problem with a site that I have exported from Drupalgardens.
How do I update the lock.inc file to work with my Drupal 7.14 in the exported site from Drupalgardens?

Thanks a lot!

Annette

rfay’s picture

@AnnetteWallenius, this is a closed, finished issue. If you need support, you should open a new support issue.

But what I think you're asking is "How do I get the latest version of Registry Rebuild". The answer is, follow the instructions on the project page (http://drupal.org/project/registry_rebuild). With the latest version, you should not have the problem described in this issue.