Bug #88306
closed
CKEditor not loading since 9.5.6
Added by Jeff C over 5 years ago.
Updated 6 months ago.
Category:
RTE (rtehtmlarea + ckeditor)
Description
We just updated to Typo3 9.5.6.
Custom RTE fields are now rendered as simple textareas without RTE and without error message.
Things get clearer when we try to use our custom RTE-YAML-definition. The YAML definition wants to import base functionalities of the CKEditor extension. This creates this error message:
#1485784246 RuntimeException
YAML File "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" could not be loaded
Could this be due to the new security features?
- Assignee set to Josef Glatz
- Status changed from New to Needs Feedback
Hi Jeff, thank you for your issue!¶
Unfortunately, I can't reproduce your problem in two composer based TYPO3 installations running it with 9.5 master Branch `9.5.*@dev`.
Can you give me some more details about your environment or even share some of your custom RTE presets.?
- Priority changed from Must have to Should have
Jeff, did you try the usual steps like clearing caches (incl PHP's OPcache) and ensuring that the upgrade to TYPO3 v9.5.6 was successful and complete - e.g. is the according file available in typo3/sysext/rte_ckeditor/Configuration/RTE/Processing.yaml
?
Tried also to reproduce in different test instances with different upgrade procedures without success. .
- Assignee deleted (
Josef Glatz)
no feedback since now. I've wrote Jeff an e-mail. If we get no feedback at all I would close the issue as I can't reproduce it. I also asked a couple of guys at the typo3camp.at where no one of them had that problems so far.
- Assignee set to Josef Glatz
I'd like to re-open this issue, since it's not loading on my 9.5.7 installations.
Error in console:
Uncaught Error: [CKEDITOR.resourceManager.load] Resource name "default" was not found at "https://test.ddev.local/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Contrib/styles.js?t=J1QC".
at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.resourceManager.<anonymous> (ckeditor.js?bust=dfa3a8a88e23a16215595742343b326855743fc2:249)
at f (ckeditor.js?bust=dfa3a8a88e23a16215595742343b326855743fc2:245)
at Array.n (ckeditor.js?bust=dfa3a8a88e23a16215595742343b326855743fc2:245)
at u (ckeditor.js?bust=dfa3a8a88e23a16215595742343b326855743fc2:245)
at HTMLScriptElement.CKEDITOR.env.ie.d.$.onerror (ckeditor.js?bust=dfa3a8a88e23a16215595742343b326855743fc2:246)
styles.js is requested in public/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Contrib/ckeditor.js:491
Since it's missing the RTE is not being loaded.
[WIP] Collecting more details...
@Tom:
Do you have a valid YAML? I ran into the same error, because I not had `stylesSet` defined. After I added
stylesSet:
[]
It worked without a problem.
I got the same Error after update from 9.5.5 to 9.5.8
#1485784246 RuntimeException
YAML File "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" could not be loaded
The solution was really simple: the Extension was uninstalled during the update :)
- Related to Bug #88993: Siteconfig import or symlink breaks TYPO3 if the sourcepath is an deactivated extension added
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Josef Glatz)
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards
- Priority changed from Should have to Could have
- TYPO3 Version changed from 9 to 11
The error is indeed still present in current v11.5 -
The file "https://test.ddev.local/typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Contrib/styles.js" is not present at all,
so there occurs some 500 or 404 error in certain environments, which results in the RTE not loading.
My fix, or rather workaround, is to create an empty file "rte_ckeditor/Resources/Public/JavaScript/Contrib/styles.js" -
then the RTE is loading fine.
- Status changed from Closed to New
- Status changed from New to Needs Feedback
- Status changed from Needs Feedback to Closed
I think it is safe to close this issue, as there have been no further reports about this problem in 8 months.
Moreover, on version 12 the CKEditor version has also changed
If you think that this is the wrong decision and experience the issue again please reopen it or open a new issue with a refecence to this one; please add as much detail as possible about how to reproduce it.
Thank you
Also available in: Atom
PDF