Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I take this message:
Warning: file_get_contents(/selectivizr.min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /var/www/html/recruiter/includes/locale.inc).
Warning: file_get_contents(/respond.min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /var/www/html/recruiter/includes/locale.inc).
Τhat means that both libraries are missing.Do I need to install them?If so how and where?
thanks
Comments
Comment #1
pinkonomy CreditAttribution: pinkonomy commentedI found the solution.
In order to view the missing libraries visit "admin/appearance/settings/cloudy" -> assets
There you can see the missing libraries.
So download the libraries from here and add the to the sites/all/libraries folder like sites/all/libraries/respond etc.
html5shiv https://code.google.com/p/html5shiv/
pie http://css3pie.com/
respond https://github.com/scottjehl/Respond
selectivizr http://selectivizr.com/
I hope this helps someone else.
thanks
Comment #2
pinkonomy CreditAttribution: pinkonomy commentedComment #3
pinkonomy CreditAttribution: pinkonomy commentedHm,
although the libraries are installed,I still take these messages:
Warning: file_get_contents(sites/all/libraries/selectivizr/selectivizr.min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /var/www/html/recruiter/includes/locale.inc).
Warning: file_get_contents(sites/all/libraries/respond/respond.min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /var/www/html/recruiter/includes/locale.inc).
Warning: file_get_contents(sites/all/libraries/selectivizr/selectivizr.min.js): failed to open stream: No such file or directory in omega_build_js_cache() (line 388 of /var/www/html/recruiter/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(sites/all/libraries/respond/respond.min.js): failed to open stream: No such file or directory in omega_build_js_cache() (line 388 of /var/www/html/recruiter/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Anyone help please?
Comment #4
pinkonomy CreditAttribution: pinkonomy commentedAny help me on this?
Comment #5
pinkonomy CreditAttribution: pinkonomy commentedAnyone help on this please?
Comment #6
chipchenko CreditAttribution: chipchenko commentedI am having the same problem. Has anyone figured out how to solve this ?
edit: Solved this by following the file structure and making sure the name of the files were correct.
Comment #7
pinkonomy CreditAttribution: pinkonomy commented@chipchenco:Could you elaborate please with the steps you did to fix this?
thanks
Comment #8
darol100 CreditAttribution: darol100 as a volunteer and commented@pinkonomy,
He mention the solution already.
The error is saying that is missing some files, which they are the same that you mention on #1. However, you added those libraries under sites/all/libraries, since this is a distribution. The libraries are expected at recruiter/profiles/recruiter/libraries (if I'm not wrong).
Comment #9
pinkonomy CreditAttribution: pinkonomy commentedAha,thanks Darol,I will try this.
thanks again
Comment #10
venusrising CreditAttribution: venusrising commentedThe issue was that Respond and PIE were in caps after changing the file name to match what I saw in the admin to respond it worked
Comment #11
ernestto CreditAttribution: ernestto commentedHi,
I changed the name of the file but the problem still exists because drupal show me in /reports/status :
Respond.js script Respond.js is not correctly using Libraries API
Please install respond.min.js in sites/all/libraries/respondjs. The module is using its included copy at sites/all/modules/respondjs/lib.
Comment #12
pinkonomy CreditAttribution: pinkonomy commentedSOLVED:How I fixed that:
First you need to donwoad the respond and selectivizr libraries under sites/all/libraries for each one.
Then you need to convert the libraries names from Caps to small , e.g. you need to convert "Respond" to "respond" etc.
Then the libraries will appear under admin/appearance/settings/cloudy -> Assets. There you need to select the already donwloaded libraries and click "Save".
However,you will still get messages of type
Warning: file_get_contents(sites/all/libraries/selectivizr/selectivizr.min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /var/www/html/recruiter/includes/locale.inc).
Warning: file_get_contents(sites/all/libraries/respond/respond.min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /var/www/html/recruiter/includes/locale.inc).
So you need to find the selectivizr.min.js and respond.min.js files.For respond.min.js is included in the respond folder.Find it and copy it under libraries/respond.
For selectivzr,which is not inlcluded in the selectivizr folder,you can find it on the internet like https://cdnjs.com/libraries/selectivizr
So download it to the sites/all/libraries/selectizr folder.
I think this is the correct method to make it work.
Cheers
Comment #13
LAguilar CreditAttribution: LAguilar commentedNumber 12 work for me