Closed (duplicate)
Project:
Flex Slider
Version:
7.x-2.0-alpha3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2015 at 07:59 UTC
Updated:
27 Feb 2015 at 07:50 UTC
Jump to comment: Most recent
Comments
Comment #1
rpsuThis commit removes header with version in Flexslider library https://github.com/woothemes/FlexSlider/commit/58a4981c7b39e384f56831fd3...
So I suggest either revert header removal in jquery.flexslider-min.js or rely in jquery.flexslider.js for version checking.
Using version 2.2 from URL https://codeload.github.com/woothemes/FlexSlider/zip/version/2.2 works without problems.
Comment #2
rpsuSee also this https://github.com/woothemes/FlexSlider/issues/1275
Comment #3
rpsuFlexslider maintainer replied: "will fixed in the next release scheduled for 23 Feb" in version 2.4.0.
https://github.com/woothemes/FlexSlider/milestones/2.4.0
Comment #4
drupalninja99 commented2.2 worked for me thx!
Comment #5
Prancz_Adam commentedIt is easy to fix in the module's install file:
$js = file_exists($path . '/jquery.flexslider.js') ? fopen($path . '/jquery.flexslider.js', 'r') : fopen($path . '/jquery.flexslider.js', 'r');And in the .module file:
It solve the issue for me. I know that hacking modules is not too elegant, but it is a temporarly solution...
Comment #6
rpsuMost certainly it works, however your fix to .module file kinda contains
if-clause which effectively has no meaning. Checking file existence and opening it regardless if it exists...Using flexslider library version 2.2 seems to have no drawbacks. Just download that instead of master-branch as in #1.
Comment #7
rhys commentedDoes the patch on https://www.drupal.org/node/2305609#comment-9667093 resolve this issue for you? As it directly only targets the normal JS and not the minified version.
Comment #8
rpsuChanging this as duplicate - move further discussion to #2305609: Error: "must install FlexSlider version 2.2 or higher" prevents any form validation