Forums

Issues with Chronoforms 4.0 RC1.9

infernooo 22 Aug, 2011
Hi there,

I am having some troubles getting forms working correctly. I am running Joomla 1.5.23 and Chronoforms 4.0 RC1.9.

I have the mootools upgrade plugin enabled (have tried disabling it, but this makes things even worse), and am having the following issues:

Tooltips do not work (firebug reports "$empty is not defined" if I try and run 1.12 on the frontend, and it reports "MooTools.upgradeLog is not a function" and also "uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: [url=http://localhost/joomla15/templates/testtemp/js/mootools.js]http://localhost/joomla15/templates/testtemp/js/mootools.js[/url] :: <TOP_LEVEL> :: line 13" data: no]" if I try and run 1.2 on the frontend).

In addition, fields that are set as required are not being checked when I click on Submit (it allows me to submit a blank form when almost all fields are required).

Any ideas?

The versions installed are as follows:

Module: Mod_Chronoforms_J1.5_V4_RC1.8
Component: Chronoforms_J1.5_V4_RC1.9
Plugin-mambot: Chronoforms_J1.5_V4_RC1.8_Plugin


Thank you!
GreyHead 23 Aug, 2011
Hi infernoo,

You've probably got the wrong version of MooTools being loaded by your template. The link in the error message is to a template folder and not to the standard Joomla! javascript or mtupgrade folder.

Check the site with one of the browser web developer tools and look at the loaded mootools.js file to see what version it is.

Bob
infernooo 23 Aug, 2011
Thank you for the speedy reply! You are right... the template seems to be using 1.11. What would you recommend I do?
GreyHead 23 Aug, 2011
Hi infernooo ,

Fix the problem with the template. That may be as simple as commenting out a line in the template index file . . . or may require major surgery.

Bob
infernooo 23 Aug, 2011
I tried copying the mootools.js from the mootools upgrade directory over the top of my template mootools.js, but am still getting these 3 errors:

MooTools.upgradeLog is not a function
[Break On This Error] var MooTools={version:"1.2.4",build:"0..."::")[1]);b.set("title","")}})}})})();
mootools.js (line 1)
MooTools.upgradeLog is not a function
[Break On This Error] var MooTools={version:"1.2.4",build:"0..."::")[1]);b.set("title","")}})}})})();
mootools.js (line 1)
MooTools.upgradeLog is not a function
[Break On This Error] var MooTools={version:"1.2.4",build:"0..."::")[1]);b.set("title","")}})}})})();
GreyHead 23 Aug, 2011
Hi infernooo ,

I have no useful ideas. The site is on localhost so presumably isn't visible on the net? The MooTools library you are now using looks like 1.2.4 but the current release of Joomla! 1.5 uses MooTools 1.2.5

I'm sorry but this really isn't a ChronoForms problem. You may find some help from this useful article from the Kunena Wiki for more information. In most places you can read 'ChronoForms' where the article says Kunena.

Bob
jacks88 20 Nov, 2011
I found the below code in the html header of an older template I was using. Simply removing it stopped the conflict and cf works correctly. The "MooTools.upgradeLog is not a function" error goes away.
<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/mootools.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/moomenu.js"></script>
This topic is locked and no more replies can be posted.