I am trying to get version 2.2 to work but am getting the following error on the admin/config/media/flexslider/add page.
Notice: Undefined index: version in _flexslider_validate_minimum_version_22() (line 550 of C:\Program Files\BitNami Drupal Stack\apps\drupal\htdocs\sites\all\modules\flexslider\flexslider.admin.inc).
To use Thumbnail Captions you must install FlexSlider version 2.2 or higher.
Notice: Undefined index: version in _flexslider_validate_minimum_version_22() (line 550 of C:\Program Files\BitNami Drupal Stack\apps\drupal\htdocs\sites\all\modules\flexslider\flexslider.admin.inc).
To use Display both thumbnail captions and normal captions you must install FlexSlider version 2.2 or higher.
I have tried this on three instances running Drupal 7.23
I have the following modules (among others) installed:
- Chaos tools 7.x-1.3
- FlexSlider 7.x-2.0-alpha3
- FlexSlider Fields 7.x-2.0-alpha3
- Views Slideshow 7.x-3.0
- Views Slideshow: Cycle 7.x-3.0
- Libraries 7.x-2.1
- Views 7.x-3.7
- Views UI 7.x-3.7
I have the following installed under /sites/all/libraries/:
- FlexSlider
- jquery.cycle
This is not allowing me to have the FlexSlider installed on the Drupal instances. Any help would be appreciated.
Comment | File | Size | Author |
---|---|---|---|
#8 | flexslider-version-detection-2118891-8.patch | 6.55 KB | jantoine |
drupal-flexslider-config-error.png | 20.67 KB | steffel |
Comments
Comment #1
minorOffense CreditAttribution: minorOffense commentedOn the reports page does it list the version of flexslider? Remember the name of the library folder has to be "flexslider" all lower case.
Comment #2
inversed CreditAttribution: inversed commentedIf the problem wasn't the FlexSlider library folder's name, you might have the issue I was having. Depending on where you download the FlexSlider "master" library, you may actually get version 2.1. That's what happened to me.
Check your FlexSlider JavaScript file (jquery.flexslider.js) to verify the version is correct (v2.2.0). I got the latest version from here: https://github.com/woothemes/FlexSlider/archive/master.zip
Comment #3
neha.gangwar CreditAttribution: neha.gangwar commentedValidation function shows the same error. Having the same issue.
Comment #4
minorOffense CreditAttribution: minorOffense commentedI've committed a fix to the validation function. If it fails to detect the version it shows a warning message that the version installed may not support all the options but should resolve any php notices.
Please try the latest dev (once d.o decides to publish one...) or get a copy from the repo directly.
Thanks!
Comment #5
aprilr CreditAttribution: aprilr commentedI'm also having this issue. I have recently installed/used this module on other sites, so don't understand why I am having it with this one. I have tried uninstalling and reinstalling the module. I have also tried updating the javascript file as mentioned above. I'm kinda dead in the water right now and sad. :-(
Comment #6
rdent4 CreditAttribution: rdent4 commentedaprilrayan, I solved the issue by using the link in #2, then extracting the file into sites/all/libraries and following the advice in #1 that the folder name in libraries must be exactly flexslider (all lower case and removing any other characters that might be there).
Comment #7
neo_iwokx CreditAttribution: neo_iwokx commentedThanks for this. ;) It worked.
Comment #8
jantoine CreditAttribution: jantoine commentedAttached is a patch that greatly improves the version detection IMO. It clarifies that any FlexSlider library version within the 2.x branch is acceptable. It correctly reports the full version of the current installed library. It removes the storing of the version in a variable while also reducing maintenance by changing hook_library() to use data defined in hook_libraries_info().
Comment #10
DamienMcKenna@minorOffense: Is this issue resolved now, or does it need further work?
Comment #11
searchweb CreditAttribution: searchweb commentedi also face same issue. I using drupal 7.28 and current drupal not have structure such as sites/all/libraries. It's install into modules/flexslider. So where should i put the
- jquery.flexslider-min.js
- flexslider.css
- jquery.flexslider.js
I have put into modules/flexslider/assests/js for .js file and modules/flexslider/assests/css for css files and still showing same error.
Any suggestion? I try the development version and it's showing error about libraries.
Newbie in drupal need help.
Comment #12
jantoine CreditAttribution: jantoine commented@minorOffense,
I'm frustrated that you applied a "fix" without any community review while the patch contributed in #8 went ignored. I believe the patch in #8 greatly improves the version detection resolving many related issues. If you could provide feedback, I'd be happy to improve upon it so it can get committed.
Comment #13
minorOffense CreditAttribution: minorOffense at Coldfront Labs Inc. commentedAdded patch from #8
Comment #16
Joefry CreditAttribution: Joefry as a volunteer and commentedSummary for noobs: make sure sites/all/libraries/flexslider is populated and that 'flexslider' is in lower case. Then as per suggestion #2, "Check your FlexSlider JavaScript file (jquery.flexslider.js) to verify the version is correct (v2.2.0)" - see #2 to fix - this latter is what worked for me.