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.
pseudo kludge patch:
views_slideshow_cycle.views_slideshow.inc
line 270:
- if (!$pause_path = _views_slideshow_cycle_pause_library_path()) {
+ if (!$pause_path = 'foo') {
This can be confusing, because there are lots of ways to break Ajax like this, perhaps commonly as documented in http://drupal.org/node/1106166#comment-4934930 although that is not the case here. Also there is lots of chatter around disabling devel modules, disabling drupalforfirebug, disabling firebug, and so on.
In any case, I'm working around this for the time being with the kludge, above.
Comment | File | Size | Author |
---|---|---|---|
#8 | views_slideshow-undefined_function_libraries_get_path-1499552-8.patch | 1.3 KB | juampynr |
#3 | views_slideshow_1499552-03.patch | 641 bytes | jghyde |
ajax error 20120325.png | 47.82 KB | August1914 |
Comments
Comment #1
markhalliwellMoving this to the Views Slideshow module issue queue.
If you look at the actual error: "Fatal error: Call to undefined function _views_slideshow_cycle_pause_libary_path() in ../../views_slideshow_cycle.views_slideshow.inc on line 271" it shows that the problem actually lies with the Views Slideshow Cycle module inside the Views Slideshow module.
A common misconception is that issues like these belong to the OE issue queue. Not only does this issue (in actuality) stem from the Enterprise Rotator app (not OE), but ultimately the contributed module that the app depends on: Views Slideshow.
Because I'm commenting on this issue, I'll be in the loop when this issue gets resolved so we can update the appropriate app.
Comment #2
jghyde CreditAttribution: jghyde commentedThe problem is actually on line 88 of the
views_slideshow_cycle.module
where the function name is misspelled (forgot the 'c' in cycle, as in the function should really be called _views_slideshow_cycle_pause_library_path and NOT _views_slideshow_cyle_pause_library_pathComment #3
jghyde CreditAttribution: jghyde commentedHere's a patch for #2.
Comment #4
redndahead CreditAttribution: redndahead commentedSorry about that. This patch has been committed.
@Mark Carver
You probably shouldn't rely on the dev version. I would pin your make file it to a tested commit.
Comment #5
markhalliwellI will discuss putting the patch in the Enterprise Rotator app ASAP. Just out of curiosity though, is there a plan for a release as this seems to be a vital bug?
Comment #6
redndahead CreditAttribution: redndahead commentedThis bug was just added yesterday or the day before and doesn't occur in the 3.0 version. So it only lasted 2 days at the most. That said I'm still going through the views slideshow issues at the moment so a release will occur when I'm done with that. Probably in 2 to 3 weeks.
Comment #7
markhalliwellAh, I misread your previous post. The creator of this issue initially put this in the Open Enterprise queue. It seems that this issue wasn't really related to OE or the Enterprise Rotator app in the first place. We, of course, only include stable releases that we know work. Instead rather, this original issue was probably a result of the creator upgrading this module to the dev release from the recommended one where this short lived bug was found. Glad this was able to get resolved quickly :)
Comment #8
juampynr CreditAttribution: juampynr commentedNow that it got fixed it finally calls libraries_get_path() to check the presence of JQueryCycle library. This is fine at runtime phase but it crashes at installation phase if libraries module is not enabled.
This error occurs consistently on installation profiles which attempt to enable this module (for example, Corporative Site). The error that is printed during Drupal installation is the following one:
At the documentation of hook_requirements() it is said:
Therefore, I am attaching a patch in which only at runtime phase hook_requirements() does the library check.
Comment #9
juampynr CreditAttribution: juampynr commentedChanging status to needs review.
Comment #10
xiukun.zhou CreditAttribution: xiukun.zhou commented#1090052: Fatal error: Call to undefined function libraries_get_path() in home/views_slideshow/contrib/views_slideshow_cycle/views_slidesh