致命错误:调用未定义的函数lock_acquire() [英] Fatal error: Call to undefined function lock_acquire()
问题描述
我正在使用Drupal版本6.25。
I'm using Drupal Version 6.25.
我复制了一个现有的drupal页面,并试图将其本地安装到我的系统中。
在输入数据库信息的步骤之后,我得到了这个致命错误:
I duplicated an existing drupal page and tried to install it locally on my system.
After the Step where I entered the database information I got this fatal error:
致命错误:调用未定义的函数lock_acquire()
Fatal error: Call to undefined function lock_acquire()
它似乎位于:
行810上的modules / system / system.module
modules/system/system.module on line 810
但不幸的是,我不知道该如何解决。
but unfortunately I couldn't figure out how to fix it.
希望你们中的某些人知道如何解决它,因为我无法再进一步了,我需要在本地进行此复制。
Hopefully somebody of you know how to fix it because I can't go any further and I need this duplication locally.
推荐答案
在 system.module
的PHP顶部,添加:
At the top of the PHP in system.module
add:
include_once './includes/lock.inc';
然后运行 update.php
并清除缓存。
这篇关于致命错误:调用未定义的函数lock_acquire()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!