致命错误:调用未定义的函数lock_acquire()复制drupal站点 [英] Fatal error: Call to undefined function lock_acquire() duplicating drupal site

查看:211
本文介绍了致命错误:调用未定义的函数lock_acquire()复制drupal站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Drupal版本6.25。



我复制了一个现有的drupal页面,并尝试在本地安装在我的系统上。

在输入数据库信息的步骤之后,我得到了致命错误致命错误:调用未定义的函数lock_acquire()似乎位于第810行 modules / system / system.module中,但不幸的是我无法弄清楚如何解决它。

希望有人知道如何解决它,因为我不能再进一步,我需要这个重复本地。

提前感谢

yves

解决方案

在PHP的顶部 system.module add:

  include_once'./includes/lock.inc'; 

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


Drupal Version 6.25.

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 Fatal error: Call to undefined function lock_acquire() it seems to be located in 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.

Thanks in advance
yves

解决方案

At the top of the PHP in system.module add:

include_once './includes/lock.inc';

Then run update.php and clear your cache.

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

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