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?
Comment | File | Size | Author |
---|---|---|---|
#7 | Capture d’écran 2013-02-25 à 08.49.16.png | 58.39 KB | bernard63 |
Comments
Comment #1
frjo CreditAttribution: frjo commentedWith the latest version of the modules/plugin thew path should be "sites/all/libraries/colorbox/jquery.colorbox-min.js". Have you cleared your cache?
Comment #2
wipeout_dude CreditAttribution: wipeout_dude commentedI found it.. It was a path specified in a custom module that uses colorbox.. Thanks..
Comment #4
Peter Arius CreditAttribution: Peter Arius commentedJust for the records: the issue has been reported for Media Browser Plus in #1896574: Fix path to Colorbox js plugin.
Comment #5
bernard63 CreditAttribution: bernard63 commentedHello,
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
Comment #6
wipeout_dude CreditAttribution: wipeout_dude commentedBernard,
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..
Comment #7
bernard63 CreditAttribution: bernard63 commentedHello,
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
Comment #8
bernard63 CreditAttribution: bernard63 commentedHello,
Yes i have cleared all caches and no changes
Comment #9
Neslee Canil Pinto