We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22704
    • 42 Posts
    Hi,

    Installing MODx v1.03 on www.zen.co.uk - I’m new to this host so cannot vouch for their MODx friendliness yet.

    All appears okay except for TinyMCE. It doesn’t run when looking at Resource Content and then actions such as Manage Elements result in a Error Message as follows (snipped a bit of the end - more of the same).

    include_once() [function.include]: Failed opening ’/blah/public_html/modx/assets/plugins/tinymce3241/tinymce.functions.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/blah/public_html/modx/manager/includes/’)


    Warning: include_once(/blah/public_html/modx/assets/plugins/tinymce3241/tinymce.lang.php) [function.include-once]: failed to open stream: No such file or directory in /blah/public_html/modx/manager/includes/document.parser.class.inc.php(746) : eval()’d code on line 12

    Warning: include_once() [function.include]: Failed opening ’/blah/public_html/modx/assets/plugins/tinymce3241/tinymce.lang.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/blah/public_html/modx/manager/includes/’) in /blah/public_html/modx/manager/includes/document.parser.class.inc.php(746) : eval()’d code on line 12

    Fatal error: Call to undefined function getTinyMCELang() in /blah/public_html/modx/manager/includes/document.parser.class.inc.php(746) : eval()’d code on line 43



    Checked tinymce files are there by reloading and document.parser.class.inc.php looks intact too.

    I’m suspecting Magic_quotes_GPC which is Off for my localhost but On for zen host. Tried modifying that in .htaccess but results in 500 so cannot test. Or some other Apache/PHP/MySQL setting may be incorrect.

    Note during installation the following error occured
    Checking database: failed - database collation mismatch; use SET NAMES or choose latin1_swedish_ci

    So I used Set Names and all proceeded fine. Worth mentioning.

    Parthian


      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That’s odd... the TinyMCE that comes with 1.0.3 is in a "tinymce" folder, not "tinymce3241". Is this a fresh instalation, or an upgrade?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 22704
        • 42 Posts
        Susan,

        New Installation.

        However, I’ve just noticed that my database export from the localhost test setup is from a v1.02 install. So it will contain code for v.102 in snippets / pluggins etc I reckon.

        On another v1.03 install I have
        TinyMCE Rich Text Editor (10) - 3.3.2 Javascript WYSIWYG Editor
        TinyMCE Rich Text Editor (7) - 3.2.4.1 TinyMCE RichText Editor Plugin

        With the latter grey with a Strikethrough. I suspect that happens when an Upgrade is run.

        I think that having code come from the installation but snippet/plugin calls coming from the database is the problem. Perhaps this is just the way MODx works.

        So presumably an upgrade of my localhost version to 1.03 then export the database and import that into my production v1.03 should update the Plugin code.

        Cheers