Warning : file_get_contents

Created on 10 January 2018, almost 7 years ago
Updated 24 November 2023, about 1 year ago

Hi
After installing that module and its library, got

Warning : file_get_contents(libraries/datetimepicker/build/jquery.datetimepicker.full.js): failed to open stream

in reports

The libraries is in the right place

dbourrion@labua-test:/var/www/html/dragendad8/sites/all/libraries/datetimepicker/build$ pwd
/var/www/html/dragendad8/sites/all/libraries/datetimepicker/build

chown of /libraries is me, but chgrp is www-data

Any idea ?

💬 Support request
Status

Closed: works as designed

Version

1.2

Component

Code

Created by

🇫🇷France dbourrion

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.

  • 🇳🇱Netherlands firfin

    I got this after upgrading to D10 (from D9.4.8, module from 8.x-1.8-beta1 to 2.0.0-beta1 )

    In my case the problem was the directory seemed to have moved ( libraries/datetimepicker -> libraries/jquery-datetimepicker)
    After reading the README.MD properly my problem was solved using require "wikimedia/composer-merge-plugin":"^2.0" and adding the following to composer.json :

    "extra": {
      "merge-plugin": {
        "include": [
          "[web-root]/modules/contrib/single_datetime/composer.libraries.json"
        ]
      },
    }

    Just leaving this for future reference.

Production build 0.71.5 2024