- πͺπΈSpain batdesign
Yes. Correct location for libraries folder from D8 is in root dir not in sites/all
Incorrect documentation which will no doubt confuse a lot of Drupal newbies. - Status changed to RTBC
11 months ago 7:11pm 30 July 2023
The installation instructions for the Easy Responsive Tabs to Accordion plugin library say:
Uncompress the downloaded file, then rename main folder to "easy-responsive-tabs", and copy it to "/sites/all/libraries/" folder.
The folder "/sites/all/libraries/" did not work for me. I get the following error :-
Warning: file_get_contents(libraries/easy-responsive-tabs/js/easyResponsiveTabs.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1130 of core/modules/locale/locale.module).
After a bit of digging around I discovered an alternative location - web/libraries (so libraries is at the same level as "core", "sites", etc. - see
Directory Structure β
). This works for me and I can readily reproduce the documented failure. All file ownership and permissions are the same. Mine is a relatively small site at the moment and I can't see any reason why "/sites/all/libraries/" doesn't work, but it doesn't. I tried with and without the #libraries_api module but it made no difference. Using web/libraries I don't need the libraries_api. I hope this helps someone.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Yes. Correct location for libraries folder from D8 is in root dir not in sites/all
Incorrect documentation which will no doubt confuse a lot of Drupal newbies.