I downloaded the module and installed it into a 4.6.3 site. When I activated the module, I get the following error:

Fatal error: Call to undefined function: drupal_add_js() in /home/.deejay/ac4lt/ef.ac4lt.org/modules/ajax_spellcheck/ajax_spellcheck.module on line 31

Comments

Thox’s picture

Oh yeah, turns out it doesn't quite work in 4.6.3 then.

If you want an easy fix then download and enable ajax module from my sandbox:
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/thox/ajax/

jasonwhat’s picture

Can you add this module to regular 4.6 contrib and put a note that it is required for this? Are there any other modules using your Ajax module? I'd love to see further ajax integration in Drupal.

ac4lt’s picture

Priority: Critical » Normal

I tried downloading the ajax module from your sandbox (created an ajax directory and put all those files in it, then enabled that module), but it didn't make any difference. I'm not convinced I didn't make a mistake somewhere along the line, but I doublechecked what I did.

I'm content to wait for 4.7 for this though I'd love to see it work in 4.6.

amstercad’s picture

If it helps, let me also chime in that on a 4.6.3 install, I get identical errors as described above.

The online demo does inspire some serious lust. Please be encouraged. And kudos for the brilliant Google-hack!!! Most useful stuff one day, Enshallah.

Please note there are no install instructions, so others along with myself might be making a critical mistake that a little doc might one day remedy.

Carlos Miranda Levy’s picture

Status: Active » Fixed

It worked for me. (Drupal 4.6.3)

First I got the error.
Then I came here and followed instructions for downloading ajax.module and files and upload them as an ajax folder under the modules folder.

Still had the error.

Erased the ajax_spellcheck folder

Went to modules page (to make sure everything was working)
Enabled ajax.module

Uploaded ajax_spellcheck folder again

Enabled it and it works fine now.

So perhaps you should have ajax.module installed and enabled before uploading and enabling ajax_spellcheck.module

Cheers

great mod :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)