致命错误:调用未定义的函数 lock_acquire() [英] Fatal error: Call to undefined function lock_acquire()

查看:37
本文介绍了致命错误:调用未定义的函数 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()

它似乎位于:

modules/system/system.module 在线 810

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.

推荐答案

在PHP顶部system.module添加:

include_once './includes/lock.inc';

然后运行 ​​update.php 并清除缓存.

Then run update.php and clear your cache.

这篇关于致命错误:调用未定义的函数 lock_acquire()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆