Stoormz'log
[CKEDITOR] Error code: invalid-lts-license-key.

[CKEDITOR] Error code: invalid-lts-license-key.


Si vous rencontrez l'erreur suivante  "Erreur CKEDITOR : code d'erreur invalide-lts-license-key" avec le bundle FOSCKEditorBundle la procédure pour résoudre ce problème est la suivante :

Depuis votre cli:

$ bin/console ckeditor:install --tag=4.22.1

----------------------
| CKEditor Installer |
----------------------

CKEditor is already installed in "/home/stoorm/web/main/vendor/friendsofsymfony/ckeditor-bundle/src/Resources/public"...

What do you want to do?
  [drop] Drop the directory & reinstall CKEditor
  [keep] Keep the directory & reinstall CKEditor by overriding files
  [skip] Skip installation
 > drop

 // Dropping CKEditor from "/home/stoorm/web/main/vendor/friendsofsymfony/ckeditor-bundle/src/Resources/public"

 481/481 [============================] 100%

 // Downloading CKEditor ZIP archive from "https://github.com/ckeditor/ckeditor-releases/archive/full/4.22.1.zip"

 1719390/1719390 [============================] 100%

 // Extracting CKEditor ZIP archive to "/home/beebz/web/main/vendor/friendsofsymfony/ckeditor-bundle/src/Resources/public"

 566/566 [============================] 100%

 // Dropping CKEditor ZIP archive "/tmp/ckeditor-full-4.22.1.zipXaWH35"

En suite, réinstallez les assets:

$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead.
Generating optimized autoload files
110 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear [OK]
Executing script assets:install public [OK]
Executing script elfinder:install [OK]
Executing script ckeditor:install [OK]

On est bon !
 

0 commentaire(s)