Fatal error: Call to undefined function lock_acquire()

人盡茶涼 提交于 2019-12-08 08:23:13

问题


I'm using 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.


回答1:


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

include_once './includes/lock.inc';

Then run update.php and clear your cache.



来源:https://stackoverflow.com/questions/11564017/fatal-error-call-to-undefined-function-lock-acquire

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!