I cannot seem to get rid of this error message: "The Date Popup module now requires the jQuery UI module as a source for the datepicker. Please install it immediately."

I've installed the Jquery UI module, the latest date module, and still cannot get rid of this error. Under modules "Jquery UI" and "Jquery update" are grayed and cannot be clicked or unclicked. What am I missing?

Comments

andrew_hoffi’s picture

I'm having the same issue having just updated the Date module. I've installed the Jquery UI module, but the problem persists. Any ideas?

danimatielo’s picture

Hello, I know this might sound silly, but I was having the same problem and managed to ¨solve¨ it: I had forgotten to upload the library to the module's folder, acording to the README.txt:

* Copy the jquery_ui module directory to your sites/all/modules directory, so it
is located in sites/all/modules/jquery_ui/.
* Download the jQuery UI 1.6 release from:
http://code.google.com/p/jquery-ui/downloads/list?q=1.6
* Put the downloaded archive into the module directory:
/sites/all/modules/jquery_ui/jquery.ui-1.6.zip
* Extract the archive. This will create the following sub-directory:
/sites/all/modules/jquery_ui/jquery.ui-1.6/
* Rename the sub-directory into "jquery.ui" within the jquery_ui module folder:
/sites/all/modules/jquery_ui/jquery.ui/

I know it is silly, but it worked for me, so it might help more people out there.

Cheers,

Dani

karens’s picture

Status: Active » Fixed

If you have trouble with jquery ui, you should be checking the jquery ui instructions and issue queue :)

renyi’s picture

You can try to clear your cache if you have enabled "Optimize JavaScript files".

bchavez’s picture

Hi

I have correctly installed JQuiery UI 1.6, but the error message still. If I deactivate the Date Popup module, then the error disapear but I need this module to use the Drupal ERP, any idea why jquery is not working...

I already erase the cache....

Regards

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

spade’s picture

Status: Closed (fixed) » Needs review

Installing the dev-version fixed it for me.
Apparently the 1.4 version isn't true to its readme and doesn't find the jquery module in the libraries folder.

karens’s picture

Status: Needs review » Fixed

I don't know why you reopened this issue. There is no bug in Date.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ressa’s picture

Flushing the cache fixed it, the message is shown no longer.

antonisar’s picture

I think it is common to err installing this module.

In date_popup.module we have around line 40:

function date_popup_css_options() {
  $paths = array();
  if (!module_exists('jquery_ui')) {
    return $paths;
  }
  $version = jquery_ui_get_version();
  $jquery_ui_path = drupal_get_path('module', 'jquery_ui');
  switch ($version) {
    case '1.6':
      $paths[drupal_get_path('module', 'date_popup') .'/themes/datepicker.css'] = t('Date Popup default');
      $paths[$jquery_ui_path .'/jquery.ui/themes/default/ui.datepicker.css'] = t('jQuery UI default');
      break;
    default:
      $paths[drupal_get_path('module', 'date_popup') .'/themes/datepicker.1.7.css'] = t('Date Popup default');
      $paths[$jquery_ui_path .'/jquery.ui/themes/base/ui.datepicker.css'] = t('jQuery UI default');
      break;
  }
  return $paths;
}

but at least in the recent versions of jquery_ui.module in the README.TXT the installation instructions are as follows:

  so the actual jQuery UI JavaScript files are located in:

    /sites/all/libraries/jquery.ui/ui/*.js

so I think that:
Either the default ui theme location should be changed

if (file_exists('./sites/all/libraries/jquery.ui')) {
    $path = 'sites/all/libraries/jquery.ui';
  }

or the jquery_ui.module function jquery_ui_get_path() function should be used

antonisar’s picture

Version: 6.x-2.6 » 6.x-2.x-dev
Status: Closed (fixed) » Active
luco’s picture

I solved this issue by enabling jQuery UI in the modules page. hope this helps.

I'm not marking this issue as closed because this may not be a solution for you.

holydrupal’s picture

worked for me

tim.plunkett’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mahipal purohit’s picture

it works thanks.

thumbslinger’s picture

Category: bug » support
Status: Closed (fixed) » Active

wow. Still no go. I have tried:
sites/all/libraries/jquery_ui/jquery.ui/
sites/all/libraries/jquery.ui/jquery.ui/
sites/all/libraries/jquery.ui/

both the 'dev' version and stable. I've downloaded the latest jquery_ui (ver. 1.9.2 as of this posting).

I turned off all of the Date module (the only thing requiring jquery ui that was enabled) flushed the cache and enabled the JQuery update module.

All fine. The second I choose jQuery ui, I get the same ole thing:
The jQuery UI plugin is missing. Download and extract it into the sites/all/libraries directory. Rename the extracted folder to jquery.ui. (Currently using jQuery UI Not found)

as mentioned above, I tried jquery.ui.

Anybody else this year have this problem in Drupal 6.26?

szy’s picture

Still no go. I have tried:
sites/all/libraries/jquery_ui/jquery.ui/
sites/all/libraries/jquery.ui/jquery.ui/
sites/all/libraries/jquery.ui/

Not the 'libraries' - 'modules'!

1. Install jQuery UI module,
2. extract the archive to modules/jquery_ui/jquery.ui/,
3. flush the cache.

Szy.

thumbslinger’s picture

I'll try again. This is the error showing within Drupal:

The jQuery UI plugin is missing. Download and extract it into the sites/all/libraries directory. Rename the extracted folder to jquery.ui.

jiv_e’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

This issue is getting old with no activity. I'm cleaning the issue queue, so I'll close this. Please feel free to reopen if needed!