Hi there,

Unfortunately, the AJAX spell checker stopped working when I updated to Drupal-4.7-beta4. It worked fine on beta3. Any ideas what may have happened?

Thanks,
Jack

CommentFileSizeAuthor
#1 removebase.patch473 bytesbudda

Comments

budda’s picture

StatusFileSize
new473 bytes

The problem occured when the setting o the HTML tag was removed from Drupal.

The AJAX spell checker was looking for this HTML tag using JavaScritp, but never finding it -- so the URL to the ajax spelling checker script was invalid.

My patch removes the need for any base url, and instead uses index.php?q= in the currect directory.

Works on Drupal installed on a domain, untested in a sub-directory but don't think this should be in issue.

budda’s picture

Priority: Normal » Critical
Status: Active » Reviewed & tested by the community
Thox’s picture

Status: Reviewed & tested by the community » Needs work

Please can you try this on a site with clean URLs off? I'm pretty sure it will fail. I'll look into this, as I have no idea why anyone would get rid of the base URL.

t3rmin’s picture

Well I tried the patch with clean URLs on and it didn't work even then. Still broken for me. I've tried it on 4.7.0beta6 and latest CVS.

robbt’s picture

I tried it with the latest CVS head around 4.7RC2 and it still isn't working.

lennart’s picture

Status: Needs work » Active

I tried to apply this patch, but the spellchecker just returns 'no mistakes found' regardless of the actual number of mistakes. It is broken on 4.7