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.
We're getting the following error after a fresh install:
Warning: file_get_contents(profiles/julio/libraries/colorbox/colorbox/jquery.colorbox-min.js) [function.file-get-contents]: failed to open stream: No such file or directory in drupal_build_js_cache() (line 4915 of /home/usename/public_html/includes/common.inc).
Comments
Comment #1
ubuntuslave CreditAttribution: ubuntuslave commentedI deleted the colorbox entire folder and then redownload it by typing
$ drush dl colorbox
Learn about drush before attempting this.
Comment #2
jsimonis CreditAttribution: jsimonis commentedBefore I posted this I'd deleted the whole folder, downloaded a fresh copy from drupal.org, and then uploaded it. Didn't fix the error.
Comment #3
ubuntuslave CreditAttribution: ubuntuslave commentedAs a last resort, use the colorbox module that comes with Julio. You might need to delete everything but just keep your sites folder (exclude all), and copy the contents of Julio back again.
Comment #4
jsimonis CreditAttribution: jsimonis commentedThe one that originally threw out the error was the one that came with Julio. I'm done with my work on that project, so hopefully the person who was doing the next phase will be able to work it out.
Comment #5
Drewbee CreditAttribution: Drewbee commentedGot the same error right after installation.
Site looks horrible, no CSS, no layout, nothing!
I think there is a parsing/programming error because there is no actual directory
profiles/julio/libraries/colorbox/colorbox/
with a filejquery.colorbox-min.js
in it.Instead, that file is located in
profiles/julio/libraries/colorbox/
So looking for the folder "
colorbox
" inside the actual folder "colorbox
" seems to cause the issue.Any ideas how to fix this?
Regards,
Drewbee