Warning: file_get_contents(sites/all/libraries/chosen/chosen.jquery.min.js) [function.file-get-contents]: failed to open stream: No such file or directory в функции _locale_parse_js_file() (строка 1393 в файле /var/www/virtual/ul7.ru/www/includes/locale.inc).
Problem:
If I use a git to load/update files of library I go to path sites/all/libraries and in this place run git command. In result I have:
libraries
-- chosen
---- chosen
------ chosen.css
------ chosen.jquery.js
------ chosen.jquery.min.js
------ chosen.proto.js
------ chosen.proto.min.js
------ chosen-sprite.png
---- coffee
------ ...
on line 25 and 27 i see, what files can't be loaded. You can check real path of files to load.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | directory info | 97.24 KB | Xaber |
| #2 | .git location | 7.68 KB | Xaber |
Comments
Comment #1
xanoAre you sure the files are located at /sites/all/libraries/chosen/chosen instead of /sites/all/libraries/chosen?
Comment #2
Xaber commentedof course. view attached images
Comment #3
Dylanotron commentedAs a side question, why does the Chosen module request files to be located at /sites/all/libraries/chosen/chosen instead of /sites/all/modules/libraries/chosen/chosen?
Comment #4
xanoBecause it's not part of libraries.module.
Comment #5
Dylanotron commentedBut why does the libraries module need to exist outside the modules folder?
Comment #6
xanoLibraries.module should be placed within the modules folder. It's the libraries themselves that are placed in /sites/*/libraries.
If you don't agree with this, please file an issue in Libraries' queue. It has nothing to do with Chosen.
Comment #7
Cyclodex commentedI see no problem here. It works as designed.