Library File not included correctly

Created on 24 June 2013, almost 12 years ago
Updated 6 February 2025, 3 months ago

Problem/Motivation

Moved library file to libraries folder and then got white screen

Proposed resolution

Add a library include in hook_init() in the module file:

/**
 * Implements hook_init().
 */
function campaignmonitor_init() {
  if ($path = libraries_get_path('campaignmonitor')) {
    require_once '';
    $path . '/campaignmonitor.class.inc';
  }
}
🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom darrenwh Bristol

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024