This is the error message I got when enabling the module.

"The DataTables plugin is missing. Download and extract it to your datatables module directory. See README.txt for more info. (Currently using DataTables Not found)"

This is what I did:

1.Download 6.x-1.0
2.unzip and upload the folder to sites/all/modules/datatables
3.Download plugins 1.5.0-beta
4.Extract the archive and move the "media" folder to sites/all/modules/datatables/dataTables/media

Then I got the error message when enabling this module. Any suggestions?
Are there any step-by-step tutorial of this module for newbies?
Thanks.

Comments

beadedfeather’s picture

I am having the same problem. Ihave done everything it told me to do and more and still no go. :(

duellj’s picture

What's the full path to your jquery.dataTables.js file? It should be something like:

module_path/dataTables/media/js/jquery.dataTables.js

anniedrupal’s picture

Just checked the path, it's

sites\all\modules\datatables-6.x-1.0\dataTables\media\js\jquery.dataTables.js

duellj’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry for the delay in getting back to you. Are you still experiencing this problem? If you use the 6.x-1.x-dev release?

Satori42’s picture

Same problem in Drupal 7 with the dev release.

modules/datatables/media/js/jquery.dataTables.js

bvrcraju’s picture

Version: 6.x-1.0 » 7.x-1.0
schnibitz’s picture

I'm having problems with this as well. There is no:

sites/all/modules/datatables/dataTables/

Folder after the module is installed. BUT if I copy over the zipped js plugin, and unzip I get a:

sites/all/modules/datatables/DataTables-1.8.2/

Any ideas?

zirvap’s picture

What I did was:

  1. Make a new subfolder in sites/all/modules/datatables/ that's named dataTables
  2. Unzip the plugin file in sites/all/modules/ , so that I had sites/all/modules/DataTables-1.8.2/
  3. And then move the media folder from sites/all/modules/DataTables-1.8.2/ to sites/all/modules/datatables/dataTables/

Works fine for me. (I'm using 6.x, but I assume it's the same procedure for 7.x.)

duellj’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Update the README in #699538: Add Libraries API support (f.k.a. jQuery datatables subfolder path), should solve installation issues.

Pierre.Vriens’s picture

Ran into the same error message today as in the original Issue Summary (= "The DataTables plugin is missing. Download and extract it to your datatables module directory. See README.txt for more info. (Currently using DataTables Not found)"). I was trying to enable the 6.x-1.1 version of this module in a Drupal 6 environment.

I doubled checked the instructions in the readme.txt file, but couldn't find anything that was wrong. So then I looked into datatables.install, and noticed that the file_exists check refers to '/dataTables/media/js/jquery.dataTables.js'. It took me a while before I realized it, but I had created a dirname of '/DataTables/media/js/' (note: uppercase 'D'), while the file_exists check refers to '/dataTables/media/js/' (note: lowercase 'd'). After renaming the dirname to '/dataTables/media/js/' my issue was resolved, and the module was enabled.

Sigvard’s picture

Issue summary: View changes

I had the same problem and Pierre Vriens comment (#10) saved my day. Really a silly issue and huge thanks to Pierre.

hassebasse’s picture

Thanks you very much Pierre ! I run into this issue and I spent 2 hours for a stupid spelling issue. So #10 gave the answer! I work with 7.

Pierre.Vriens’s picture

Thank you for the kudos in the previous 2 comments. Actually I had forgotten a bit about the datatables module though I use it quite a lot in various sites. Anybody interested in some links to online samples using this module?

Writing my comment in my #10 about a year ago is when I only just really got started in contributing stuff to Drupal. In the meantime I got involved in "charting" stuff in Drupal: first I started a Comparison of Charting modules, which evolved into #2368793: Chart 2.0 a bit later on. And that resulted in #2377647: Offering to maintain Charts afterwards.

Given the current "status" of the dataTables module (Seeking co-maintainers), and its open issues, I wonder if I should consider filing an issue to also become a co-maintainer of the dataTables modules. E.g. to add some enhancements to avoid frustrations and/or wasting time for issues like this one (like using the hook_requirements to produce some status message if the dataTables folder cannot be found) ...