Forums

Add/Remove Editor No longer working

le5 26 Jun, 2014
Add/Remove Editor No longer working with Chronoforms 4.0.5 and Joomla 3.3.1.

I see following error in firebug:

TypeError: this.getDoc(...) is undefined

tiny_mce.js (line 1)
2
"NetworkError: 404 Not Found - http://www.xxxxx.ch/plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"
tiny_mce.js
ReferenceError: tinyMCE is not defined

editor_selector : 'mceArea',
GreyHead 27 Jun, 2014
Hi le5,

I thought that Max fixed this a while ago - see this post - the problem was that Joomla! re-located the editor files in Joomla 3.

Bob
le5 30 Jun, 2014
Hi Bob

Not sure if I understand. I got following subdirectories in the "versions" folder:
j3.0
j3.1
j3.2
j3.3

I'm using Joomla 3.3.1. Must I now create a further subdirectory "j3.3.1" and copy the content from "j3.3" in it?

Pawel
GreyHead 30 Jun, 2014
Hi le5,

Do you have the latest version of ChronoForms installed as this is a bug that I think has been fixed?

You don't need to do anything about version folders.

Bob
le5 30 Jun, 2014
Dear Bob

I use Chronoforms Component 4.0.5, Module V4.0.3 and Plugin V4.0.3 with J! 3.3.1

Greetings Pawel
Max_admin 01 Jul, 2014
I have just tested this here, its working fine, I tested the editor under the "Email" action "Template" tab!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
jwill 05 Dec, 2014
I have the same problem. I am running ChronoForms 4.06 and Joomla 3.3.6. When clicking on the Add/Remove Editor Link, no editor is displayed and I can not return to HTML.
Max_admin 06 Dec, 2014
Hi jwill,

Please install the latest update again OVER yours and try it, it should work fine, or maybe you have some plugin which controls the JavaScript files loaded and that may block the editor file loaded by Chronoforms.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
jwill 07 Dec, 2014
Max,

This is very strange. I downloaded the latest version of Chronoforms (and plugin) again and reinstalled it. It did not solve the problem. The problem exists on 5 different sites that have very few common non-core extensions (and a two of the sites have only a few non-core extensions period.) I disabled the non-core extensions one at a time without solving the problem. I then went to another site that I am in the process of creating and found that the problem did not exist. I then started adding non-core extensions one at a time to the new site but the problem did not show up.

The only thing I can find in common so far is that the 5 non working sites were upgraded from the latest version of 2.5 and the working site was a new 3.3.6 install. If I get a change in the future I am going to create a 2.5 site with no extra extensions other then Chronoforms and upgrade it to 3.3.6 and see if the problem exists.

Jim
Max_admin 08 Dec, 2014
Hi Jim,

That's ok, but you can open the wizard page source (right click and view source) and try find if the editor js file is loaded by clicking its link.

Also, for new sites I strongly suggest using v5 since its the one developed and it also has some new features!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
nzampella 08 Dec, 2014
Can I interject something here. There was a problem on a number of sites I admin that were upgraded from J! 2.5 to J! 3.2. The front end lost any save capability, no matter what you tried, the save button did not work. New sites that were created from scratch with J! 3.2 worked fine.

The reason turned out to be that there was a Javascript file that are located outside the core software repositories that was not changed, thus it broke the template's actions.

The fix was to replace the jquery.js file under the template with the jquery.js file v2.1.1. Not sure if it would apply here, but you may want to take a look.
jwill 08 Dec, 2014
Max,

I discovered the following by running FireBug while opening the Wizard.

The 5 sites that were upgraded from the current version of 2.5 to the current version of 3.3 display the following error in FireBug:

"NetworkError: 404 Not Found - http://www.metro1.biz/newsite/plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"

The new 3.3 site does not display this error. And none of the sites have a "jscripts/tiny_mce/tiny_mce.js" path.

The current version of Chronoforms was installed when the upgrade to 3.3 was done and again after you asked me to reinstall it. Apparently one of the files is not being updated with a new install.

Jim
Max_admin 08 Dec, 2014
Hi Jim,

Please update Chronoforms v4 to the latest J3 version (install over yours) then clear your browser and website caches, v4 for J3 has the tiny_mce file and this error should not occur!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
jwill 09 Dec, 2014
Max,

As I mentioned, I have installed the latest version of Chronoforms v4.0.6 (J3 version) several times and it did not fix the problem on any of the websites I upgraded from 2.5. I even downloaded and reinstalled it just in case my copy was bad.

The Firebug error message makes it appear that the upgraded versions of Chronoforms are looking for tiny_mce.js at 'plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js'. This path doesn't exist on any of the sites (working or not.)

Searching sites files shows that the correct path to tiny_mce is 'administrator/components/com_chronoforms/js/tiny_mce/tiny_mce.js'.

It looks like installing the current 3.3 version over the current 2.5 version is not updating the file where chronoforms calls tiny_mce but installing 3.3 new (without upgrading) adds the proper file.

One thing that might be a factor, I upgraded my 2.5 to the current 2.5 version before I upgraded to Joomla 3.3. However, when I did this upgrade, I skipped one Chronoforms version. Is it possible that the file in question was upgraded in that version that I skipped but not the current version?

Jim
Max_admin 09 Dec, 2014
Thanks Jim, I found why this happens, its the Joomla release number, its checked and based on that the path is used, it looks like updating Joomla doesn't change the release number, but anyway the path should be fixed since the file is included with CF now, this check may have been there since earlier releases.

You can send me a message using the contact us page to get an updated file!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.