there are tons to be found about my issue... Unfortunately too newbee to do it with Drush which I understood might have been the sollution. Please understand that I have to do it in another way than by using Drush.

The colorbox module is in /sites/all/libraries/colorbox-2/colorbox/(colorbox, content, example 1, ect) The module is activated in the Modules' section.
In the Configuration of the Colorbox I see in red "You need to download the Colorbox plugin and extract the entire contents of the archive into the /sites/all/libraries/colorbox folder of your server."(which is there already..)
If underneath with warning I put in the path /sites/all/modules/colorbox and save it will still come up with this same warning.. (see attachment)

The colorbox plugin is in /sites/all/modules/colorbox/(colorbox-insert-image.tpl.php ect)

If it is a folder preferences issue than is my question how do I use Sudo, which I googled up is a module/tool to set preferences in Drupal.
(I work locally with MAMP)

Thanks a lot in advance

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lvpapa’s picture

Go here: http://jacklmoore.com/colorbox

near the top of the page you will see:
Download
Current version: 1.3.19 ( Released under the MIT License | Github | Changelog )
Tested in: Firefox, Safari, Chrome, Internet Explorer 6, 7, 8, 9, Opera 11.

The link to the download is the 1.3.19. Click there and download. Place the extracted file in a folder other than your folder where the Colorbox folder is or it will automatically place itself in the earlier download of Colorbox. Now the separate extracted folder, which is also named colorbox, can be uploaded to your sites/all/libraries folder.

FareThoughts’s picture

I'm having the same problem as well, but I'm not sure I'm following the steps correct. BTW, I did not have an old install of ColorBox, but here's what I did:

Module is installed and apparently working except for the error message.

  1. I downloaded the file from the site.
  2. I uploaded the zipped archive to the sites/all/libraries/ folder of my Drupal 7 install.
  3. I extracted it so that there's now a colorbox folder in the libraries folder.

In the sites/all/libraries/colorbox I see another folder called colorbox, one called content, and then several example folders.

Still, I cannot get the error message to go away. Can anyone help?

Thank you.

whtemple1959’s picture

If only the Jack Moore website was working.....
And I know this will upset a lot of people but I really do believe that if a module has dependencies then those modules should be made readily available by the module creator.

frjo’s picture

@misscosmic, you say that you have the Colorbox plugin installed in "/sites/all/libraries/colorbox-2/colorbox/(colorbox, content, example 1, act)". That will not work. You need to move it to "/sites/all/libraries/colorbox/(colorbox, content, example 1, act)".

@FareThoughts, your installation seems to be correct. What happens if you go to "http://[yourdomain]/sites/all/libraries/colorbox-2/colorbox/jquery.colorbox-min.js" in your browser?

@whtemple1959, including their party libraries is strongly discourage in Drupal modules. There are a number of really good reasons for this. Allowing users to pick version of a librarie, allowing modules to share libraries etc.

sabsbrain’s picture

Just had this issue myself as I installed the module and plugin

It was a permission issue for me as indicated in this thread;

http://drupal.org/node/1116672

chmod 755 sites/all/libraries/colorbox
chmod 755 sites/all/libraries/colorbox/colorbox

sorted it out for me.

Maybe worth adding this to the readme as a note?

katiekatie’s picture

Version: 7.x-1.x-dev » 7.x-1.3
Component: User interface » Code

I'm having the same issue.
I just downloaded and enabled the Colorbox module then found this error when I went to configure it:
"You need to download the Colorbox plugin and extract the entire contents of the archive into the sites/all/libraries/colorbox folder of your server."

I checked my permissions and they were755 for directories, 644 for files.

@frjo The path was different for me. When I tried this path in my browser the js code appeared:
http://[mydomain]/sites/all/modules/colorbox/js/colorbox.js

I'd appreciate help with getting Colorbox working,
thanks in advance :-)

dolly nyc’s picture

@katiekatie -- the plugin is separate from the module. you need to install the plugin as well. The link is in the README (also above in #1) and then follow the instructions on where to install.

misscosmic’s picture

how can I see the difference in a plugin or a module..?

And yes I do read the READMEES but honestly a lot of the time I'am not intelligent enough to understand them. Or my wireing is slightly different because I'am left handed... dunno just often don't get it.

katiekatie’s picture

@dolly nyc -- Hey thanks, yes I hadn't appreciated I needed to install the plugin in addition to the module. I needed to create a folder sites/all/libraries (as one did not exist) and then unpack the contents of the colorbox.zip plugin. Thanks so much for your help, it works now :-)

@misscosmic -- You will keep getting the following error unless the plugin files have EXACTLY the right path:
"You need to download the Colorbox plugin and extract the entire contents of the archive into the /sites/all/libraries/colorbox folder of your server."
You can set the path to the plugin in the COLORBOX PLUGIN SETTINGS but I would recommend going with the default 'sites/all/libraries/colorbox' since you are having trouble.

So you need to download the colorbox.zip plugin from here http://jacklmoore.com/colorbox.
And upload the colorbox.zip to this directory:
[yourdomain]/sites/all/libraries/

Then you need to extract colorbox.zip into this directory and the folder colorbox will appear.

To answer your question 'how can I see the difference in a plugin or a module..?', well the plugin contains these two important files and the module does not:
jquery.colorbox-min.js
jquery.colorbox.js

To test whether you have installed the plugin to the correct place try typing this into your browser:
http://[mydomain]/sites/all/libraries/colorbox/colorbox/jquery.colorbox.js
and if it brings up the js code you have the path right.

MentalFS’s picture

I had that problem when I used git to check out colorbox from https://github.com/jackmoore/colorbox.

It turns out that jquery.colorbox-min.js has been / is going to be removed: https://github.com/jackmoore/colorbox/commit/71d7c77a3755ca31d9be7efc900...

Using the zipped release works fine for me, it is just not as easy to update.

bayousoft’s picture

I had a similar issue. I use colorbox all the time. Most recent install nothing was copied into the sites/all/modules/colorbox... directory as it should have been. All the colorbox files were sitting in the root sites/all/modules/colorbox. Once I created the subdirectories and copied everything in all was golden.

frjo’s picture

@MentalFS, there is a Drush command that downloads and installs the plugin for you.

drush colorbox-plugin
MentalFS’s picture

Awesome, thank you. Didn't even think of that.

frjo’s picture

Assigned: misscosmic » Unassigned
Status: Active » Fixed
misscosmic’s picture

@katiekatie, thanks for you very clear answers, this way I really understand.
I've got the colorbox working YEAH!!

Thanks to all

Status: Fixed » Closed (fixed)

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

jokek’s picture

thanks man, i've been troubled for quite a time trying to figure this out! changing the permissions did the job for me!!

FunkyBuddha72’s picture

Status: Closed (fixed) » Active

Hi everyone,
don't know what I am doing wrong here.
I've downloaded the colorbox plugin zip file, I've extracted this and get the following files/directories
directories:-
content
example1
example2
example3
example4
example5

files:-
colorbox.ai
colorbox.jquery.json
component.json
jquery.colorbox-min.js
jquery.colorbox.js

I then create a folder called colorbox in the sites/all/libraries folder and put these files in it and it doesn't work! Reading other posts, it appears that people are talking about another folder called colorbox that should be part of this download and extract - I'm going to the Jack Moore website http://www.jacklmoore.com/colorbox and downloading from the left hand side version 1.3.29. I've checked file permissions. Not sure what is going wrong here. Any help would be greatly appreciated.

frjo’s picture

Status: Active » Closed (fixed)

Please don't reopen old issues.

Your issue is here http://drupal.org/node/1890116#comment-6948236.

Please test the 7.x-1.x-dev release and report back to the post above if that works for you.

navoff’s picture

I read that comment and have no idea what it's suppose to have to do with the issue at hand, i.e. Drupal complaining that the plugin isn't installed.

Where the frack are the files suppose to go? I downloaded the colorbox-master.zip file at http://www.jacklmoore.com/colorbox (which is what I get when I click on Current Version), unzipped the contents under /sites/all/libraries/colorbox, ie. file structure:

/sites/all/libraries/colorbox
   /content
   /example1
   /example2
   /example3
   /example4
   /example5
   /i18n
  colorbox.ai
  colorbox.jquery.json
  component.json
  jquery.colorbox.js
  jquery.colorbox-min.js
  README.md

but I still get an error from Drupal that the plugin isn't installed. So I tried moving the files under /sites/all/libraries/colorbox/colorbox. Drupal still gives me the following error: You need to download the Colorbox plugin and extract the entire contents of the archive into the sites/all/libraries directory on your server. I'm working on a Windows 7 system. This issue has been going on for over a YEAR now. Why is this so freaking hard to fix?

frjo’s picture

Make sure you are using the latest version of the Colorbox module that has support for the new path to the plugin, 7.x-2.3 as of this writing.

This is the correct patch now, the plugin changed directory structure recently.

sites/all/libraries/colorbox/jquery.colorbox-min.js

Also make sure the Colorbox plugin files are readable for the web server.

There are no general problem with this, the module is used on well over 100000 sites without problems.

navoff’s picture

Version: 7.x-1.3 » 7.x-2.3

Upgrading from colorbox-7.x-2.0 to 7.x-2.3 seems to have done the trick.

info@cgfix.com’s picture

I have the latest release 7x2.3

and have the library installed at sites/all/libraries/colorbox/jquery.colorbox-min.js

But I still am getting the message

"You need to download the Colorbox plugin, extract the archive and place the colorbox directory in the sites/all/libraries directory on your server."

i never had a problem in the past.

It is definitely broken. Message goes away with Colorbox Library 2.x installed but colorbox fails to work. I have replaced with old versions module(7.x-1.4) and library(1.3.20.1) I had on file which works fine.

It looks like Jack made a recent change to his library possibly why the module is not working. Hope it gets fixed soon.

memcinto’s picture

I have
Colorbox 7.x-2.3
Libraries 7.x-2.0
and I installed the colorbox plugin using drush colorbox-plugin
and I am still getting the error message
You need to download the Colorbox plugin, extract the archive and place the colorbox directory in the sites/all/libraries directory on your server.

leyan’s picture

Some of you might have an issue related to : http://drupal.org/node/1955982
(ColorBox plugin version string changed from ColorBox to Colorbox (no cap on 'b')) -- that was my problem, now fixed using preceding link's patch

memcinto’s picture

Thank you, that patch worked for me:
http://drupal.org/node/1955982

memcinto’s picture

Issue summary: View changes

spelling mistake

dvassy’s picture

I am trying to get Colorbox to work with Drupal 8 on Windows (Apache 2.2, PHP 7.0.5). I have loaded the module (Version: 8.x-1.0) in drupal_root\modules and enabled it, I have loaded the plugin (Version 1.6.4 - 2016/05/10) so as to have drupal_root\sites\all\libraries\colorbox\jquery.colorbox.js readable (checked from browser).

Images are properly resized to thumbnails with the required dimensions, however clicking them (link = http://drupal_root/sites/default/files/styles/large/public/2016-05/Dining%20room%201_0_0.jpg?itok=kdlKtOCM) still opens the large version in a new Firefox (46.0.1) window

I am stuck there, having run out of ideas. Can anybody help ?

amklose’s picture

Issue summary: View changes

@dvassy I think in Drupal 8, the libraries directory should now be directly in the site root, like the /modules and /themes directories. Try creating a libraries directory at DRUPAL_ROOT/libraries and unpacking the colorbox plugin there and see if that works.