I have upgraded to 2.2 and updated the colorbox plugin with the latest version.. The "Status" report page is clear but I am getting the following warning message..

Warning: file_get_contents(sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js): failed to open stream: No such file or directory in drupal_build_js_cache()...

If I move the jquery.colorbox-min.js file to libraries/colorbox/colorbox/ then the warning goes away but the status page shows a problem..

So I had to put jquery.colorbox-min.js in both the libraries/colorbox/ and libraries/colorbox/colorbox/ directories to make the warning disappear and the status page happy.. I am not sure if the file is now being downloaded twice by the browsers from each location..

Any ideas why this is happening?

Files: 

Comments

Category:bug» support

With the latest version of the modules/plugin thew path should be "sites/all/libraries/colorbox/jquery.colorbox-min.js". Have you cleared your cache?

Status:Active» Fixed

I found it.. It was a path specified in a custom module that uses colorbox.. Thanks..

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Just for the records: the issue has been reported for Media Browser Plus in #1896574: Fix path to Colorbox js plugin.

Version:7.x-2.2» 7.x-2.3
Status:Closed (fixed)» Active

Hello,
I use D7.20
I have the same difficulty
Can you help me ?.

In the "read documentation" to install Colorbox iI find:
55 Make sure the path to the plugin file becomes:
56 "sites/all/libraries/colorbox/jquery.colorbox-min.js"
Where I can do it ?
Or how to use the patch : media_browser_plus_fix_colorbox_path-1896574-1.patch ?
Is it a modification in a file or an other action ?
Thank's for response
Bernard

Bernard,
Check that you don't have any other modules that use colorbox that are trying to find it on the old path..

As a work around you can have the it in "sites/all/libraries/colorbox/jquery.colorbox-min.js" and "sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js" to get rid of the error but this will probably mean your visitors are downloading it twice..

Hello,
Colorbox is only for viewing photos that are in galleries (modules: Media + Media Galleries and other necessary modules + Colorbox). Before release 7.x-2.3 Colorbox (7.X-1.4) everything went well. I upgraded the old module Colorbox thinking improve this function. There is no improvement and I have this error message .. I'd like to know where this not correct address is found by the module? I looked at all the files in the modules and funded nothing.
To temporarily solve the problem, I created the requested file and the error message does not appear, but it is not a good solution.
You can see below the error message

Hello,
Yes i have cleared all caches and no changes