<![CDATA[ window.top.opener.SetUrl is not a function - My Forums]]> https://forums.modx.com/thread/?thread=46398 <![CDATA[Re: window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-459672
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]]>
ganeshXL Mar 21, 2013, 09:39 AM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-459672
<![CDATA[Re: window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-459662
Any other ideas? Somebody else having troubles?]]>
ganeshXL Mar 21, 2013, 09:12 AM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-459662
<![CDATA[Re: window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268274

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]]>
csaunders1972 Sep 13, 2010, 03:24 AM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268274
<![CDATA[Re: window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268273
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

]]>
allstarone Jun 07, 2010, 12:46 PM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268273
<![CDATA[Re: window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268272 cuervo-gold Apr 13, 2010, 02:47 PM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268272 <![CDATA[Re: window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268271 jc5680 Apr 13, 2010, 02:33 PM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268271 <![CDATA[window.top.opener.SetUrl is not a function]]> https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268270
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.]]>
cuervo-gold Sep 30, 2008, 03:59 PM https://forums.modx.com/thread/46398/window-top-opener-seturl-is-not-a-function#dis-post-268270