Hi there,

I get the following warnings after a successfull installation of recruiter:

Warning: file_get_contents(profiles/recruiter/themes/cloudy/libraries/pie/PIE.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/libraries/html5shiv/html5shiv.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/libraries/html5shiv/html5shiv-printshiv.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/libraries/selectivizr/selectivizr.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/libraries/respond/respond.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/../omega/js/jquery.matchmedia.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/../omega/js/omega.messages.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).

Everything else is working smooth, is there any configuration/permission missing?
Couldn't find anything in the issue queue regarding this warnings.

Regards,
Sandro

Comments

feuillet’s picture

Status: Active » Needs review

I found the issues.

Some libraries are missing from the profile (probably due licence reasons)

The following files/libraries have to be added to the theme directory:
html5shiv https://code.google.com/p/html5shiv/
pie http://css3pie.com/
respond https://github.com/scottjehl/Respond
selectivizr http://selectivizr.com/

You can see if the files are there in the theme configuration screen "admin/appearance/settings/cloudy" -> assets:
Either disable the Assets or put the files/folders into the libaries folder

The second part of the error message is a problem in the theme info:

Warning: file_get_contents(profiles/recruiter/themes/cloudy/../omega/js/jquery.matchmedia.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).
Warning: file_get_contents(profiles/recruiter/themes/cloudy/../omega/js/omega.messages.js) [function.file-get-contents]: failed to open stream: No such file or directory in omega_build_js_cache() (line 384 of /www/htdocs/mywebroot/profiles/recruiter/themes/omega/omega/includes/scripts.inc).

The files just aren't there because the path is wrong in the theme info file.
i solved it by fixing the path and copying the files over from the omega theme...

Hope that helps somebody.

regards,
sandro

BrandonHat’s picture

With the missing modules, that was a quick fix and simple. I'm having the same issue though with the path. Doesn't seem to matter which way I change it, I keep coming back to the same problem / errors that are posted above (In regards to path to omega).

If I edit

profiles/recruiter/themes/cloudy/cloudy.info

scripts[] = ../omega/js/jquery.matchmedia.js
scripts[] = ../omega/js/omega.messages.js

And change it to

scripts[] = omega/js/jquery.matchmedia.js
scripts[] = omega/js/omega.messages.js

that would mean that I copy the omega folder from

profiles/recruiter/themes/omega/omega

and put it inside of cloudy like this?

/profiles/recruiter/themes/cloudy/omega

I'm missing something painfully obvious! Any thoughts?

BrandonHat’s picture

Issue summary: View changes

fixed typo

pinkonomy’s picture

I also have this issue,have @BrandonHat have you solved this?
If yes,how?