JCE stopped working with secure urls (https) due to mixed content - https

I am using Joomla 3.6.5 and JCE 2.6.11.
JCE was working fine before, but after converting site URLs to secure (https), JCE stopped working and it is showing "mixed content" errors as all of its js and css loading is with http urls.
Before I had an older version of JCE and in that version the same thing happened.
I had resolved the "mixed content" errors in the older version, but some tools above the editor were not displaying.
So I have decided to upgrade JCE editor, and the now upgraded condition is the same as before:
Please help me solve this JCE issue with https urls.

I manually changed the required js baseURI from "http://" to "https://" in the file:
/components/com_jce/editor/tiny_mce/tiny_mce.js

Related

Xpages - New version of CkEditor not load

Recently I decide to migrate my application from version 8.5.3 Lotus Notes to version 9.0.1. When doing this I needed to change the version of CkEditor from 4.4.7 to 4.5.3, so I changed the file in the \data \ domino\html\ckeditor folder, however when re-building my application I received the following error in browser console:
The file xsp/.ibmxspres/domino/ckeditor/plugins/ibmspellchecker/plugin.js not exists in the new version of ckEditor.
I realized this is because the application tries to fetch the javascripts files from the old version of CkEditor, as if it were cached.
I've tried everything specified here: http://www.intec.co.uk/dde-local-preview-ckeditor/ but nothing worked.
Does anyone have any ideas?
From what I understand: you are upgrading CKEditor by yourself instead of using the default version that is installed and doing this by installing a version of CKEditor that you have obtained from CKEditor directly.
If so, the problem may be that the xpages inputRichText control uses some CKEditor plugins that are provided by IBM e.g. ibmspellchecker, ibmxspimage and these won't be provided in the standard CKEditor distribution.
If these plugins are not present in your new CKEditor installation then the editor will not load properly.
You have 2 options
Ensure these IBM plugins are put back in the html/ckeditor/plugins directory (and hope they are still compatible with the CKEditor version)
Tell the inputRichText control not to load any of the ibm plugins. (but this means you will not be able to upload images)
To remove plugins from the editor config use the dojoAttribute 'removePlugins'
<xp:inputRichText id="inputRichText1">
<xp:this.dojoAttributes>
<xp:dojoAttribute name="removePlugins" value="ibmspellchecker,etc"></xp:dojoAttribute>
</xp:this.dojoAttributes>
</xp:inputRichText>

Wakanda upgrade to v11: Browser can't get fonts from Wakanda

I am upgrading from Wakanda v10 to v11. When I access my site, the browser (Safari, Firefox, Chrome) is looking for fonts and Wakanda is not delivering them. The image shows the console errors.
I tried creating a folder /walib/etc.. at the webroot and adding a .ttf file at the name and location specified but it does not work. I suspect the /walib/ URI is managed by a request handler- the directory didn't exist and things like the data browser use that URI. None of these errors happen when I run the site in v10. Any advice on what to try?
Thank you.
I figured it out. There is a serverside function getWalibFolder() that returns the location of the walib folder. It is an actual location and on my Mac it is inside of the Wakanda Enterprise Server package contents.
I found the fonts in the v10 server application's package contents and copied over the fonts to the v11 server application package. The errors are gone and the issue is resolved.

Less, Joomla and Gantry development

I am trying to design a Gantry template for Joomla with less. It doesn´t work. No updates.
I´ve tried every solution i've found on the internet now.
My less changes doesn´t work/updates.
This is what I done/do:
In Joomla: Turned off all Joomla cache functions in configuration and plug-ins. I clear cache both in Joomla configuration and Gantry Theme after updates. I also use NoNumber Cache Cleaner plug-in. In my index.php header I have entered: [header("Cache-Control: no-cache, must-revalidate");] and [header("Pragma: no-cache");]
In files: I use Gantrys file naming [menu.less -> menu-custom.less]. The files "Modified" time stamp on the remote server are right/updated. The code are right in those files.
But when I check the code with Firebug the old code is still there.
Browser: Private Browsning in Firefox
Nothing works. Updates doesn´t show up.
What more can I do?
Best regards
/Magnus

Browser compatility issue in firefox

The following site ie(http://test.cancer.org.in/) does not looks properly in firefox but it looks proper in IE(internet explorer) and the error it displays is :
The Components object is deprecated. It will soon be removed.
resource://ftdownloader3-at-ftdownloader-dot-com/api-utils/lib/loader.js -> resource://ftdownloader3-at-ftdownloader-dot-com/api-utils/lib/sandbox.js -> resource://ftdownloader3-at-ftdownloader-dot-com/api-utils/lib/content/content-proxy.js
Line 13
Regarding the plugin error, you should contact the people that create the plugin, they're the only ones that can help you there. But that issue is unrelated to the display issues you're having.
Concerning your site, the fact that it looks horrible in both IE10 and Firefox, but OK in IE8 is because the styles don't get applied. What I know is that if your server is misconfigured and transmits css files with a content-type other than text/css, this will cause issues in Firefox when using xhtml doctype - it won't use the css files that way. You should reconfigure your webserver to send text/css for css files and application/javascript for js files.

Moodle 2.2.3 TinyMCE loads slowly

In Moodle 2.2.3, after 10-12 seconds TinyMCE (TinyMCE HTML editor; editor_tinymce; Standard; 2012030300) buttons will show up (loads very slowly). Where problem lies? Can't figure out how to speed up TinyMCE HTML editor loading time.
I have Moodle 2.2.3+ (Build: 20120519).
I found a solution. The cause, why it was slow, was because it was in estonian. I had to change whole user language into english and it fixed it.
I met the same problem: on my project tinymce loaded about 10 seconds. Solution to speed it up was to disable plugins, which I don't need.
For example:
at default config plugins option was:
plugins: "visualblocks,visualchars,pagebreak,layer,table,save,jbimages,link,emoticons,insertdatetime,preview,media,searchreplace,print,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,template",
After remove unused plugins it was:
plugins: "jbimages,link",
and editor loading became 2 seconds.
P.S. jbimages is a plugin to upload images.
Look at your caching. The tinyMCE JS files ought to be kept by the browser and recycled, but sometimes this doesn't happen. Use Firebug or Chrome developer tools to see if they are being loaded from cache or from the server. If from the server, you may need to tweak your web server settings so that JS files have an expires header.

Resources