Skip to content

Path to default lock file is invalid causing 500 errors #5

@rbargerhuff

Description

@rbargerhuff

My colleague and I noticed multiple 500 errors being thrown on one of our Backdrop CMS instances where the memcache module is being used. We traced it to the following line:

File: memcache-lock.inc:

Line 27:

$lock_file = BACKDROP_ROOT . '/includes/lock.inc';

This is the location on Drupal 7. For Backdrop, the correct location is /core/includes/lock.inc

Line 27 corrected:

$lock_file = BACKDROP_ROOT . '/core/includes/lock.inc';

This should be fixed as soon as possible because of its potential to cause 500 errors.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions