2

Today in one of our older sites we found an issue with the RTE Editor. For any of our users the editor does not load. It is stuck on loading as you can see in the image below. enter image description here

Now I realize that the version we are using for TYPO3 is extremely outdated, the version is 4.5 support has been gone for ages and I wouldn't dare to just update this site.

We haven't updated or changed anything in the configuration so this wouldn't be the case. I've also tried to remove all caches from the site, create a new user and give them all rights and trying several different computers. None of this has helped fix the issue.

Wondering if anyone has a idea on where to search or how to solve this.

Rudy Gnodde
  • 4,286
  • 2
  • 12
  • 34
RDAxRoadkill
  • 414
  • 5
  • 24

2 Answers2

6

Are you using Chrome 73 as browser? This version breaks the rtehtmlarea integration. You need to backport the patch which is provided for TYPO3 8.7.

File: typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
Line : 2224

search for:

src: Ext.isGecko ? 'javascript:void(0);' : (Ext.isWebKit ? 'javascript: '' + HTMLArea.htmlEncode(this.config.documentType + this.config.blankDocument) + ''' : HTMLArea.editorUrl + 'popups/blank.html')

change to:

src: Ext.isGecko ? 'javascript:void(0);' : (Ext.isWebKit ? (Ext.isChrome ? 'about:blank;' : 'javascript: '' + HTMLArea.htmlEncode(this.config.documentType + this.config.blankDocument) + ''') : HTMLArea.editorUrl + 'popups/blank.html')
Peter Kraume
  • 3,577
  • 2
  • 21
  • 39
1

You probably have a javascript error which stops execution of further javascript.
on loading the data is adapted (from TYPO3 format to HTML) and the editor is build by modifying the DOM. As browsers change in behaviour and javascript engine the old javascript might run into errors with current browsers.

You could try to use another browser.

Otherwise you could disable the RTE in the user settings, although it means you have to edit text as HTML source.

Bernd Wilke πφ
  • 10,390
  • 1
  • 19
  • 38
  • I do have a javascript error; using Edge did work however disabling the RTE in user settings seems like an odd solution, thanks for thinking with me though! – RDAxRoadkill Apr 04 '19 at 19:42
  • 1
    using very old software requires update stops in multiple ways. in case of TYPO3 that are: PHP, that might require stops in update of operating system. You noticed that you can no longer use all current browsers. As ignoring updates is a big security risk (updates are not only about new features) you make your system vulnerable. You can save work with avoiding updates. but there will be a time where that will end. either you get attacked or the risk of attack is so big you want to update. but then the [technical depth](https://en.wikipedia.org/wiki/Technical_debt) more than you can manage. – Bernd Wilke πφ Apr 05 '19 at 07:38
  • I fully understand that and an rebuild version of the site is on it's way with the newest version of TYPO3. It's just that we cannot ignore the old build whilst making the new one – RDAxRoadkill Apr 07 '19 at 16:11