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.
This is similar to #931472: Persistent:"Date Popup module now requires the jQuery UI module as a source for the datepicker. Please install it immediately." .
The check for jquery_ui is modified by the check for uid 1, so the return doesn't fire for other users.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1528474-3-jquery_ui_get_path.patch | 1.28 KB | pfrenssen |
date-date_popup_jquery_ui.patch | 904 bytes | tim.plunkett | |
Comments
Comment #1
tim.plunketthttp://drupalcode.org/project/date.git/commit/f79ac83
Comment #3
pfrenssenThis needs a followup. The function
jquery_ui_get_path()
has been introduced in jQuery UI 6.x-1.5 so people that have older versions of jQuery UI installed do not see the warning and still get the fatal error.Comment #4
unc0nnected CreditAttribution: unc0nnected commentedProblem still persists.. I grabbed the latest dev version, I took date_popup.module from the git repo and implemented that and tried the suggestions mentioned here: http://drupal.org/node/931472
Problem still persists, prevents all pages from loaded except for update.php and replaces them with a nice 500 error message message. The domains error log shows:
[Tue Jul 31 07:29:09 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function jquery_ui_get_path() in /path/to/drupal/modules/date/date_popup/date_popup.module on line 102
Removed the date_popup directory all together stops the issue so hopefully you don't need it.
Comment #5
pfrenssenunc0nnected, have you tested the patch I posted in #3? It should solve the problem.
Comment #6
unc0nnected CreditAttribution: unc0nnected commentedSorry, I just saw that while the jquery update was done the module itself wasn't activated.. once activated teh problem stopped
Comment #7
pfrenssenWell, yes, jQuery UI is now required, so installing and activating it makes the fatal error go away. This issue tries to improve this by giving the users a friendlier error message ;)
Comment #8
naero CreditAttribution: naero commentedI stumbled upon this error, too, when updating Date from 6.x-2.8 to 6.x-2.9. I can confirm that this patch fixed it and I am currently at 6.x-2.9+6-dev.
Comment #9
Reuben Unruh CreditAttribution: Reuben Unruh commentedShould the date popup .info file include the jQuery UI 6.x-1.5 dependency?
Comment #10
csc4 CreditAttribution: csc4 commentedThink that would be a great idea - would certainly have saved me some stress this afternoon!
Comment #11
Beanjammin CreditAttribution: Beanjammin commentedWhich leads us to this issue on exactly that http://drupal.org/node/973924
Comment #12
gpk CreditAttribution: gpk commentedMarked #1884732: I have installed the upgrade to this module and it took my web-site down see Fatal error as dupe.
Comment #13
behindthepage CreditAttribution: behindthepage commentedI have just updated to Date 6.x-2.9 and this is still a problem. It crashed my site and I had to do some investigating. I am suprised that this is still an issue when there seems to have been a solution on this thread a year ago.
Regards
Geoff
Comment #14
Beanjammin CreditAttribution: Beanjammin commentedThe patch from #3 applies cleanly to date 6.x-2.9 and I was able to successfully update the module despite having jquery_ui-6.x-1.4 installed.
Comment #15
bala_28 CreditAttribution: bala_28 commentedThis error could be due to the low version of jquery.ui. Check for jquery_ui_get_path() function within jquery.ui module. If its missing, copy this code found in this link and paste it in your module or simply update the jquery.ui module to new version.
Hope this solution will work out.. :)
Comment #16
cafuego CreditAttribution: cafuego commentedPatch committed to 6.x-2.x-dev.
Comment #17
pfrenssenThanks for finally committing this! If you don't mind, can you please attribute commits in the future? See Adding a commit author. Thanks!