mschroeder3 Reply #1, 5 months ago
Hi all,
I'm trying to migrate from an old 0.9.6.3 install to the new revo 2.1.5-pl. Installed TinyMCE 4.3.1-pl. I'm getting a blank screen when I go to add a link to a file. I click the link button, then the browse button, and am presented with a blank window instead of the file browser. Same thing happens with browsing for an image file. The following is in my apache error log file:
I check the file it's referencing, which is the TinyMCE plugin, and it's erroring on the following line under the OnRichTextBrowserInit case:
To me, that means the controller object is null. Am I missing something in my TinyMCE config, or php.ini perhaps? Everything else in TinyMCE seems to be working fine. I tried removing, and re-installing TinyMCE, but am still getting the same thing. Not sure what to try next.
Thanks
- Matt
I'm trying to migrate from an old 0.9.6.3 install to the new revo 2.1.5-pl. Installed TinyMCE 4.3.1-pl. I'm getting a blank screen when I go to add a link to a file. I click the link button, then the browse button, and am presented with a blank window instead of the file browser. Same thing happens with browsing for an image file. The following is in my apache error log file:
PHP Fatal error: Call to a member function addHtml() on a non-object in /srv/www/vhosts/neenah/core/cache/includes/elements/modplugin/1.include.cache.php on line 55, referer: http://new.ci.neenah.wi.us/assets/components/tinymce/jscripts/tiny_mce/plugins/modxlink/link.php?v=215pl
I check the file it's referencing, which is the TinyMCE plugin, and it's erroring on the following line under the OnRichTextBrowserInit case:
$modx->controller->addHtml('<script type="text/javascript">var inRevo20 = '.($inRevo20 ? 1 : 0).';MODx.source = "'.$source.'";</script>');
To me, that means the controller object is null. Am I missing something in my TinyMCE config, or php.ini perhaps? Everything else in TinyMCE seems to be working fine. I tried removing, and re-installing TinyMCE, but am still getting the same thing. Not sure what to try next.
Thanks
- Matt
