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.
I'm trying download the Colorbox plugin using Drush, but i get an error message.
Running drush --debug colorbox-plugin
I get this:
[...] stuff [...] [bootstrap]
Executing: type unzip
unzip is /usr/bin/unzip
Executing: wget http://colorpowered.com/colorbox/colorbox.zip
--2011-12-06 16:26:50-- http://colorpowered.com/colorbox/colorbox.zip
Resolving colorpowered.com... 208.94.116.163, 208.94.117.10, 208.94.117.51
Connecting to colorpowered.com|208.94.116.163|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.jacklmoore.com/colorbox/ [following]
--2011-12-06 16:26:51-- http://www.jacklmoore.com/colorbox/
Resolving www.jacklmoore.com... 208.94.116.61, 208.94.117.46, 208.94.117.78
Connecting to www.jacklmoore.com|208.94.116.61|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://jacklmoore.com/colorbox/ [following]
--2011-12-06 16:26:51-- http://jacklmoore.com/colorbox/
Resolving jacklmoore.com... 208.94.117.123, 208.94.116.5, 208.94.116.90
Connecting to jacklmoore.com|208.94.117.123|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `colorbox.zip'
0K .......... .......... ...... 34.7K=0.8s
2011-12-06 16:26:53 (34.7 KB/s) - `colorbox.zip' saved [27048]
Executing: unzip -qq -o colorbox.zip
[colorbox.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of colorbox.zip or
colorbox.zip.zip, and cannot find colorbox.zip.ZIP, period.
Calling unlink(colorbox.zip) [3.05 sec, 32.06 MB] [debug]
Drush was unable to download the Colorbox plugin to sites/all/libraries [3.05 sec, 32.06 MB] [error]
Command dispatch complete [3.05 sec, 32.03 MB] [notice]
Timer Cum (sec) Count Avg (msec)
page 2.945 1 2945.35
Peak memory usage was 33.23 MB [3.05 sec, 32.03 MB]
The problem is that the domain changed, and the wget command is downloading something wrong as "colorbox.zip".
Currently the latest colorbox plugin is available at:
http://jacklmoore.com/colorbox/colorbox.zip
Please fix.
Thks
Comments
Comment #1
frjo CreditAttribution: frjo commentedAlready fixed in dev, see http://drupal.org/node/1303108.
Comment #2
clemens.tolboomI reopen this as this is about Drupal 7 and #1303108: New Colorbox zip file appears broken when installing via Drush is about Drupal 6
I just installed and enable all required module but fail to do
The contents of the zip is
Comment #3
clemens.tolboomThe file sites/all/modules/colorbox/drush/colorbox.drush.inc
needs to add www. to the URL like
Comment #4
frjo CreditAttribution: frjo commentedThis is already fixed in 7-dev.
Comment #6
d.novikov CreditAttribution: d.novikov commentedJack Moore moved his plugin to the new location at github.
Now the correct link is https://github.com/jackmoore/colorbox/archive/master.zip
Comment #7
frjo CreditAttribution: frjo commentedThis is already fixed in 7-dev.