We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36549
    • 572 Posts
    Hi
    I have a site using ckeditor (i didn't install this), i have just upgraded to 1.0.14 and changed the editor to use Tinymce and now i get an error and can no longer select another editor...the dropdown just isn't working.
    Any ideas what this is and how i might fix it?

    « MODX Parse Error »
    MODX encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
    PHP error debug
    Error : syntax error, unexpected '*'
    
    Parse error: syntax error, unexpected '*' in /home/mySite/public_html/manager/includes/document.parser.class.inc.php(977) : eval()'d code on line 1
    ErrorType[num] :	PARSING ERROR[4]
    File :	/home/mySite/public_html/manager/includes/document.parser.class.inc.php(977) : eval()'d code
    Line :	1
    Source :	Plugin
    Basic info
    REQUEST_URI :	http://mySite.com/manager/index.php?id=53&a=27
    Manager action :	27 - Editing resource
    Current Plugin :	tinymce4(OnRichTextEditorRegister)
    Referer :	http://mySite.com/manager/index.php?a=3&id=53
    User Agent :	Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
    IP :	*************
    Benchmarks
    MySQL :	0.0050 s (7 Requests)
    PHP :	0.1536 s
    Total :	0.1586 s
    Memory :	2.9527053833 mb
    
    Backtrace
    
    1	include_once()
    manager/index.php on line 288
    2	DocumentParser->invokeEvent()
    manager/actions/mutate_content.dynamic.php on line 695
    3	DocumentParser->evalPlugin()
    manager/includes/document.parser.class.inc.php on line 3379
    [ed. note: 9thwave last edited this post 12 years, 2 months ago.]
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      It looks like your TinyMCE install is incomplete or possibly corrupt. You might try uploading the TinyMCE folder again to see if that resolves the problem.

      You could also upload the manager folder again (don't overwrite includes/config.inc.php file!).
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 40473
        • 6 Posts
        This may be totally unrelated but when I upgraded to 1.0.14 TinyMCE also didn't work properly. I was able to fix it by going to Tools>Configuration>Interface & Features and scrolling down to the TinyMCE settings and selecting "MODX Style" for the TinyMCE "Theme". This simple change induced TinyMCE to properly display all the tool icons in the edit window. Seems fine now. Perhaps worth a try?
          • 36549
          • 572 Posts
          Thanks for the responses.
          @sitecoder - I can't actually select from that dropdown so it's probably as @AMDbuilder suggests, a corrupt install. I'll retry an install and see if that fixes it.
            www.9thwave.co.uk
               WEB | DESIGN | PRINT
            • 40473
            • 6 Posts
              • 36549
              • 572 Posts
              Well i've installed this after disabling previously installed versions :http://modx.com/extras/package/tinymce-evo - (or should i upload the tinymce folder from the evo1.0.14 directory?)
              With the install of tinymce_3241 I still cannot select anything from the dropdown and get the same error.
                www.9thwave.co.uk
                   WEB | DESIGN | PRINT
                • 1343 ☆ A M B ☆
                • 2,213 Posts
                You should upload a copy from the 1.0.14 installer, as it's more recent than the extra in question if memory serves me correctly.
                  Patrick | Server Wrangler
                  About Me: Website | Tweets |  MODX Hosting
                  • 36549
                  • 572 Posts
                  Found the problem. it was actually a missing forward slash in the Plugin tinymce4 - tinymce 4 PHP code. This was in the Uncategorised section of the Plugins so I didn't see it immediately.
                    www.9thwave.co.uk
                       WEB | DESIGN | PRINT