We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6126
    • 25 Posts
    Anyone come across this error? It only happens when I attempt to place an image or file through TinyMCE in the resource browser. I am at a loss for what is causing it. I overwrote every file in the manager and upgraded tinyMCE but it didn’t fix anything. Any ideas?

    Error: window.top.opener.SetUrl is not a function
    Source File: http://www.1qct.org/manager/media/browser/mcpuk/frmresourceslist.html
    Line: 189

    I installed FCKeditor in addition to TinyMCE and it works fine, I just told my client to work with it until I figure this out.
      • 13761
      • 1 Posts
      Has anyone figured this out? I have the same issue and can’t sort it out. This cropped up for me when I moved the clients site from its staging site to their hosting provider (godaddy).
        • 6126
        • 25 Posts
        I no longer have this issue. I forgot to post here at the time and have no idea how I fixed it.
          • 1198
          • 6 Posts
          I had the same problem.

          It’s weird because it didn’t manifest itself on the dev server, only on live... in the end I traced it down to /manager/media/browser/mcpuk/seturl_js_tinymce.inc

          The supplied file had the following:

          <script language="javascript" type="text/javascript" src="[+editor_path+]jscripts/tiny_mce/tiny_mce_popup.js"></script>
          <script language="javascript" type="text/javascript" src="[+editor_path+]tinymce.modxfb.js"></script>
          


          It should have been:

          <script language="javascript" type="text/javascript" src="[+editor_path+]/jscripts/tiny_mce/tiny_mce_popup.js"></script>
          <script language="javascript" type="text/javascript" src="[+editor_path+]/tinymce.modxfb.js"></script>
          


          Note the forward slash after [+editor_path+].

          Subtle, but it resolved the problem for me.

          Chris

            • 6057
            • 26 Posts
            And me too smiley

            Had problem on test and live machines. That simple fix has certainly worked on test machine.

            As to the source of the problem ... I’ve got Evo 1.0.3 but I skipped the update to TinyMCE ... wonder if that’s related ...?

            Anyway, very happy its working.

            Cheers
              • 10449
              • 956 Posts
              This behavior occurs again with v. 1.0.9 (at least for me...) - however, this time the fix doesn't work :-(

              Any other ideas? Somebody else having troubles?
                • 10449
                • 956 Posts
                To make things worse, when trying to use the image-editor, I get nothing but a bunch of errors:

                Strict Standards: Non-static method Files::makeFile() should not be called statically, assuming $this from incompatible context in /path/to/site/manager/media/ImageEditor/Classes/ImageManager.php on line 452
                
                Strict Standards: Non-static method Files::fixPath() should not be called statically, assuming $this from incompatible context in /path/to/site/manager/media/ImageEditor/Classes/Files.php on line 192
                
                Strict Standards: Non-static method Files::makeFile() should not be called statically, assuming $this from incompatible context in /path/to/site/manager/media/ImageEditor/Classes/ImageManager.php on line 462
                
                Strict Standards: Non-static method Files::fixPath() should not be called statically, assuming $this from incompatible context in /path/to/site/manager/media/ImageEditor/Classes/Files.php on line 192
                
                Strict Standards: Non-static method Files::makeFile() should not be called statically, assuming $this from incompatible context in /path/to/site/manager/media/ImageEditor/Classes/ImageManager.php on line 462
                


                MODX 1.0.9 with PHP 5.4.12