Updating to Drupal 6.16:

Fatal error: Call to undefined function lock_acquire() in /home/**/public_html/drupal-6/modules/locale/locale.module on line 357

I had to change the status of securesite in the database tabel "system" to 0 to get this right: switching of the securesitemodule.

Looks like securesite and the drupal 6.16 locale (core) module does not work together

regards
Martin

Comments

dreipunktnull’s picture

Same here. This seems to have something to do with hook_boot(). What fixed it for me on two sites was to move/copy the line

require_once variable_get('lock_inc', './includes/lock.inc');

in include/bootstrap.inc.php to the top of the script.

Best regards,
Björn

dddave’s picture

The 6.16 update went well for my sites however secure site produced this error. Strangly not consistently and never for UID1. I doubt this can be repaired by SS. Core issue: #732064: "Call to undefined function lock_acquire", locale module

charos’s picture

For a quick fix use #732064-31: "Call to undefined function lock_acquire", locale module . It made this issue disappear. Merely a suggestion until issue resolved.