Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find editor configuration file "tinyMCE.php" #50

Closed
janmarkuslanger opened this issue Jun 5, 2019 · 4 comments
Closed

Cannot find editor configuration file "tinyMCE.php" #50

janmarkuslanger opened this issue Jun 5, 2019 · 4 comments
Labels
invalid This doesn't seem right

Comments

@janmarkuslanger
Copy link

Ich habe folgendes DCA Feld:
MVC: 3.4.1
Contao 4.4.8

'contents' => [
        'label' => &$GLOBALS['TL_LANG']['tl_nm_article']['contents'],
        'exclude' => true,
        'inputType' => 'multiColumnWizard',
        'eval' => [
          'columnFields' => [
            'title' => [
              'label' => ['Titel'],
              'inputType' => 'text'
            ],
            'text' => [
              'label' => ['Text'],
              'inputType' => 'textarea',
              'eval' => [
                'rte' => 'tinyMCE'
              ]
            ]
          ]
        ],
        'sql' => 'blob NULL'
      ]

Wenn ich folgene Zeite hinzufüge 'rte' => 'tinyMCE'kommt es zu der Fehlermeldung.
Cannot find editor configuration file "tinyMCE.php"

@discordier
Copy link
Member

Might originate from here.
@janmarkuslanger Do you have a full stack trace at hand?

@janmarkuslanger
Copy link
Author

@discordier

[] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction","_route":"contao_backend"},"request_uri":"http://MY_URL/contao?act=edit&do=nm_article&id=2&ref=_tMSyINR&rt=LkQrdyxJcn6doLFKngGTczAD1_0w3V-jvDW0e8pifOE","method":"HEAD"} []
[] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction","_route":"contao_backend"},"request_uri":"http://MY_URL/contao?act=edit&do=nm_article&id=2&ref=_tMSyINR&rt=LkQrdyxJcn6doLFKngGTczAD1_0w3V-jvDW0e8pifOE","method":"GET"} []
[] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[] app.CRITICAL: An exception occurred. {"exception":"[object] (Exception(code: 0): Cannot find editor configuration file \"tinyMCE.php\" at /ABSOLUTE_PATH/vendor/menatwork/contao-multicolumnwizard/system/modules/multicolumnwizard/MultiColumnWizard.php:776)"} []

@zonky2
Copy link
Contributor

zonky2 commented Jun 6, 2019

in our testcase works tinyMCE fine - see http://easycaptures.com/fs/uploaded/1257/3640877081.png

...
            'mcw_textareatiny' => array(
                'label'         => &$GLOBALS['TL_LANG'][$strTblName]['mcw_textarea'],
                'exclude'       => true,
                'inputType'     => 'textarea',
                'eval'          => array('rte'=>'tinyMCE', 'style' => 'width:720px;')
            ),
...

@janmarkuslanger
Copy link
Author

Yeah sorry, was my fault. I installed contao-multicolumnwizard instead of contao-multicolumnwizard-bundle. Thank you for your help!

@discordier discordier added the invalid This doesn't seem right label Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants