It would seem the views_cycle module attempts to install the jquery.cycle library from an invalid location. If you open the jquery.cycle.js file fetched upon installation, it is actually a 404 error page.
The problem appears to be in views_cycle.drush.inc, around line 43:
$remote_file = http://www.malsup.com/jquery/cycle/jquery.cycle.all.min.js
The file is above actually missing on the remote server.
The temporary solution would be to download manually the jquery.cycle library from http://www.malsup.com/jquery/cycle/download.html and copy the jquery.cycle.all.min.js to the views_cycle module and renaming it to jquery.cycle.js.
Comment | File | Size | Author |
---|---|---|---|
#3 | views_cycle.799232.patch | 1.7 KB | jhedstrom |
#1 | views_cycle.drush-install-fix.799232.patch | 1.9 KB | adamdicarlo |
Comments
Comment #1
adamdicarlo CreditAttribution: adamdicarlo commentedI ran into this issue too. Here's a patch that updates the download URL and uses drush_shell_exec() to run a basic check on the download using the 'file' command.
The problem I think is that wget fails on 404 but curl doesn't. (Sigh.) This seems to be a decent solution unless the function was changed to *require* wget.
I've changed the issue version because this patch is made against 6.x-1.0-beta4.
Comment #2
adamdicarlo CreditAttribution: adamdicarlo commentedAh, right--needs review.
Comment #3
jhedstromWorks for me. Attached is the same patch w/o the git specific syntax.
Comment #4
Crell CreditAttribution: Crell commentedI decided that Libraries API was a more robust way to go.
#859548: Switch to Libraries API for including the jquery.cycle.js file