Closed (fixed)
Project:
AJAX Spellcheck
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2005 at 16:16 UTC
Updated:
8 Dec 2005 at 19:00 UTC
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
Comment #1
Thox commentedOh 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/
Comment #2
jasonwhat commentedCan 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.
Comment #3
ac4lt commentedI 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.
Comment #4
amstercadIf 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.
Comment #5
Carlos Miranda Levy commentedIt 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 :-)
Comment #6
(not verified) commented