JS error with i18n

kingandy - February 1, 2008 - 12:25
Project:Link to content
Version:5.x-1.7
Component:Code: Javascript
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I seem to be experiencing this error ... though instead of linktocontent_menu giving a TypeError, they're both announcing the SyntaxError:

Error on retrieving data from module.
SyntaxError
syntax error

After some experimentation I have found that switching off the Internationalization module fixes this ... I suspect it's the part of the module that meddles with URLs (each path is prefixed with a language code - eg http://example.com/node/1 becomes http://example.com/en/node/1 for English or http://example.com/fr/node/1 for French), which could potentially interfere with callbacks...? Omitting the language code generally seems to trigger a redirect to the path for the current or default language, I don't know what impact that would have on a jQuery call.

Anyway, I've got it working for one of my sites (which was only using one language but used to have more, hence i18n being installed) but another of them definitely does use more than one language so any suggestions for getting the two modules to play nicely together would still be helpful.

#1

romansta - May 26, 2008 - 00:44

I have the same error with Internationalization module.

#2

sun - November 2, 2008 - 18:57
Title:js-error with linktonode» JS error with i18n

Better title.

 
 

Drupal is a registered trademark of Dries Buytaert.