The message said:
TYPE access denied
DATE Sunday, September 2, 2012 - 05:22
USER iyan
LOCATION http://druphost.com/id/autosave/handler
REFERRER http://druphost.com/id/node/add/article
MESSAGE autosave/handler
SEVERITY warning

How to fix this problem? Is it caused by incompatibility with i18n and multilanguage modules?

CommentFileSizeAuthor
#1 autosave_i18n_1768660_1.patch569 bytesnikosnikos
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nikosnikos’s picture

FileSize
569 bytes

I have the same problem in a multilingual site.

The problem is that the url called by ajax to save the node is rewrited in case of a multilingual site with the language prefix.
I suppose this is a problem only for multilingual sites with path prefix enabled, which is my case.

Here is a patch, that doesn't use url() drupal function to build the url that save the node :

      $settings['autosave']['url'] = '/autosave/handler/' . $token; // Don't use url('autosave/handler/' . $token) otherwise url is rewrited with the language prefix
nikosnikos’s picture

My patch is for drupal 6 !
I've opened a new issue : #1847752: Doesn't save with language url prefix negotiation enabled

Crell’s picture

Version: 7.x-2.0 » 6.x-2.x-dev