Fatal error: Call to undefined function lock_acqui

2019-05-31 18:01发布

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条回答
▲ chillily
2楼-- · 2019-05-31 19:07

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

include_once './includes/lock.inc';

Then run update.php and clear your cache.

查看更多
登录 后发表回答