3

I am working with Joomla 2.5.7, when trying to add or modify an article I get this error:

Uncaught SyntaxError: Unexpected end of input

But this only happens with Chrome, if I try to create an article using FireFox then it goes ok.

Does any one of you have had this error before?

Seems Chrome doesn't load properly the tiny_mce.js:1 file and get:

Uncaught SyntaxError: Unexpected end of input

before get

Uncaught SyntaxError: Unexpected end of input

, I have uploaded again the file but still get the error and still works only on FF.

mickmackusa
  • 43,625
  • 12
  • 83
  • 136
Israelm
  • 1,607
  • 3
  • 23
  • 28

3 Answers3

0

When none of the editors works in the joomla administrator, you only see a textarea and there is an undefined error in the javascript console, it is posible that you don't have the live_site parameter set in the configuration.php. It should be an absolute url to the joomla index, for example:

public $live_site = 'http://www.example.com/example';

MazarD
  • 2,759
  • 2
  • 22
  • 33
-1

The simpliest way to solve this and other issues with the common Joomla editors is to move to JCE (Joomla Content Editor) which can be download from: http://www.joomlacontenteditor.net/

Israelm
  • 1,607
  • 3
  • 23
  • 28
-1

I have encountered the same problem as you.

In chrome, clear all your browsing data, and restart chrome.

The problem will be solved.

xjfengck
  • 991
  • 1
  • 8
  • 9