Forums

Big Problems with Joomla 1.5.21?

andycjackson5 14 Oct, 2010
I'm having real trouble with my Chronoforms since I upgraded to the latest Joomla packages (1.5.20 and 21)

I can't seem to change anything using 'Wizard Edit' and there's lots of garbage and run errors appearing when I click on the forms to change things. For example: (this is long and sorry in advance)

Any ideas? Is this something I can change to make work or is it just a bug and incompatibility with the new Joomla?

olor', {wait: false, duration: 100}).start('FFAEA5','FFAEA5'); } }); }); $$('.emailitem').each(function(item){ item.removeEvents(); }); //var counter = 0; $$('.emailitem').each(function(item){	 item.addEvent('mousedown', function(e) { e = new Event(e).stop(); var clone = new Element('div', {'class':'emailitem'}).adopt( new Element('span', {'id':this.getFirst().getProperty('id')}).setText(this.getFirst().getText()) )//this.clone() //var clonetext = new Element('span', {'id':this.getFirst().getProperty('id')}).injectInside(clone); .setStyles(this.getCoordinates()) // this returns an object with left/top/bottom/right, so its perfect .setStyles({'opacity': 0.7, 'position': 'absolute'}) .addEvent('emptydrop', function() { this.remove(); $ES('div[class=cf_email]', $('left_column2')).each(function(droparea){ droparea.removeEvents(); droparea.addEvent('click', function() { $$('div.cf_email').each(function(item){ item.setProperty('id',''); item.setStyles({'border':'1px #111 solid'}); }); this.setProperty('id','cf_email_active'); this.setStyles({'border':'3px #111 solid'}); ShowEmailProperties(); });	 }); }).inject(document.body); var thisitemtype = item.clone().getFirst().getProperty('id'); var theitem = new Element('div').setProperty("class", 'form_element'); $ES('div[class=cf_email]', $('left_column2')).each(function(droparea){ droparea.addEvents({ 'drop': function() { $ES('div[class=cf_email]', $('left_column2')).each(function(dropareain){ dropareain.removeEvents(); dropareain.addEvent('click', function() { $$('div.cf_email').each(function(item){ item.setProperty('id',''); item.setStyles({'border':'1px #111 solid'}); }); this.setProperty('id','cf_email_active'); this.setStyles({'border':'3px #111 solid'}); ShowEmailProperties(); });	 }); clone.remove(); // add proper item if(thisitemtype == 'cf_to'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'to_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'To', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dto'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dto_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic To', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_subject'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'subject_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Subject', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dsubject'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dsubject_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic Subject', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_cc'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'cc_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'CC', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dcc'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dcc_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic CC', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_bcc'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'bcc_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'BCC', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dbcc'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dbcc_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic BCC', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_fromname'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'fromname_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'From Name', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dfromname'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dfromname_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic From Name', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_fromemail'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'fromemail_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'From Email', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dfromemail'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dfromemail_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic From Email', 'input_'+counter); newLabel.createElement().injectTop(theitem); //v3.1 }else if(thisitemtype == 'cf_replytoname'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'replytoname_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'ReplyTo Name', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dreplytoname'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dreplytoname_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic ReplyTo Name', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_replytoemail'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'replytoemail_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'ReplyTo Email', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else if(thisitemtype == 'cf_dreplytoemail'){ theitem.empty(); var newTextbox = new CFTEXTBOX('cf_inputbox', '30', 'dreplytoemail_'+counter); newTextbox.createElement().injectTop(theitem); theitem.addClass('cf_textbox'); var newLabel = new CFLABEL('cf_label', 'Dynamic ReplyTo Email', 'input_'+counter); newLabel.createElement().injectTop(theitem); }else {} form_item = new Element('div').setProperty("class", 'form_item_email'); theitem.injectInside(form_item); theitem = form_item; // add main attributes theitem.getLast().injectHTML('', 'after'); theitem.getLast().setStyle('display', 'none'); theitem.getLast().addEvent('click', function(e) { new Event(e).stop(); this.getParent().remove(); if(($chk($E('input[name^=to_]', droparea)) || $chk($E('input[name^=dto_]', droparea))) && ($chk($E('input[name^=subject_]', droparea)) || $chk($E('input[name^=dsubject_]', droparea))) && ($chk($E('input[name^=fromname_]', droparea)) || $chk($E('input[name^=dfromname_]', droparea))) && ($chk($E('input[name^=fromemail_]', droparea)) || $chk($E('input[name^=dfromemail_]', droparea))) ){ droparea.effect('background-color', {wait: false, duration: 100}).start('CEFF63','CEFF63'); }else{ var email_params = $('params_'+droparea.getProperty('name')).value.split(','); $('params_'+droparea.getProperty('name')).value = email_params[0] + ',' + email_params[1] + ',' + '0,1,1'; $('prop_cf_Email_enable').value = 0; $('prop_cf_Email_enable').disabled = true; droparea.effect('background-color', {wait: false, duration: 100}).start('FFAEA5','FFAEA5'); } }) theitem.getLast().injectHTML('
 
', 'after'); theitem.addEvents({ 'mouseover': function(e) { //new Event(e).stop(); theitem.effect('background-color', {wait: false, duration: 100}).start('E7DFE7','E7DFE7');	 }, 'mouseout': function(e) { //new Event(e).stop(); theitem.effect('background-color', {wait: false, duration: 100}).start('ffffff','ffffff'); }, 'click': function(e) { //new Event(e).stop(); $ES('.form_item_email',droparea).each(function(item2){ item2.setStyle('border', '0px solid #000'); $E('.delete_icon', item2).setStyle('display', 'none'); }); theitem.effect('background-color', {wait: false, duration: 100}).start('ffffff','ffffff'); theitem.setStyle('border', '1px solid #000');	 $E('.delete_icon', theitem).setStyle('display', 'inline'); }	 }); theitem.effect('background-color', {wait: false, duration: 100}).start('E7DFE7','E7DFE7'); var dropthis = 1; if((thisitemtype == 'cf_fromemail')||(thisitemtype == 'cf_dfromemail')){ if($chk($E('input[name^=fromemail_]', droparea)) || $chk($E('input[name^=dfromemail_]', droparea))){ $('logdiv').setText('Only one From Email or Dynamic From Email is accepted per Email'); dropthis = 0; } } if((thisitemtype == 'cf_fromname')||(thisitemtype == 'cf_dfromname')){ if($chk($E('input[name^=fromname_]', droparea)) || $chk($E('input[name^=dfromname_]', droparea))){ $('logdiv').setText('Only one From Name or Dynamic From Name is accepted per Email'); dropthis = 0; } } if((thisitemtype == 'cf_replytoemail')||(thisitemtype == 'cf_dreplytoemail')){ if($chk($E('input[name^=replytoemail_]', droparea)) || $chk($E('input[name^=dreplytoemail_]', droparea))){ $('logdiv').setText('Only one ReplyTo Email or Dynamic ReplyTo Email is accepted per Email'); dropthis = 0; } } if((thisitemtype == 'cf_replytoname')||(thisitemtype == 'cf_dreplytoname')){ if($chk($E('input[name^=replytoname_]', droparea)) || $chk($E('input[name^=dreplytoname_]', droparea))){ $('logdiv').setText('Only one ReplyTo Name or Dynamic ReplyTo Name is accepted per Email'); dropthis = 0; } } if((thisitemtype == 'cf_subject')||(thisitemtype == 'cf_dsubject')){ if($chk($E('input[name^=subject_]', droparea)) || $chk($E('input[name^=dsubject_]', droparea))){ $('logdiv').setText('Only one Subject or Dynamic Subject is accepted per Email'); dropthis = 0; } } if(dropthis == 1) theitem.injectBefore(droparea.getLast()); counter = counter + 1; if($chk($E('div[class=infodiv]', droparea)))$E('div[class=infodiv]', droparea).remove(); if(($chk($E('input[name^=to_]', droparea)) || $chk($E('input[name^=dto_]', droparea))) && ($chk($E('input[name^=subject_]', droparea)) || $chk($E('input[name^=dsubject_]', droparea))) && ($chk($E('input[name^=fromname_]', droparea)) || $chk($E('input[name^=dfromname_]', droparea))) && ($chk($E('input[name^=fromemail_]', droparea)) || $chk($E('input[name^=dfromemail_]', droparea))) ){ droparea.effect('background-color', {wait: false, duration: 100}).start('CEFF63','CEFF63'); if(droparea.getProperty('id') == 'cf_email_active'){ $('prop_cf_Email_enable').disabled = false; } } //$('emailbuilder').setStyle('height', ($('left_column2').getCoordinates().height + $('top_column2').getCoordinates().height) ); }, 'over': function() { //dropFx.start('98B5C1'); }, 'leave': function() { //dropFx.start('ffffff'); } }); }); //counter = counter + 1; var drag2 = clone.makeDraggable({ droppables: $ES('div[class=cf_email]', $('left_column2')) }); // this returns the dragged element drag2.start(e); // start the event manual }); }); var Tips1 = new ChronoTips($('cf_to')); var Tips2 = new ChronoTips($('cf_dto')); var Tips3 = new ChronoTips($('cf_subject')); var Tips4 = new ChronoTips($('cf_dsubject')); var Tips5 = new ChronoTips($('cf_cc')); var Tips6 = new ChronoTips($('cf_dcc')); var Tips7 = new ChronoTips($('cf_bcc')); var Tips8 = new ChronoTips($('cf_dbcc')); var Tips9 = new ChronoTips($('cf_fromname')); var Tips10 = new ChronoTips($('cf_dfromname')); var Tips11 = new ChronoTips($('cf_fromemail')); var Tips12 = new ChronoTips($('cf_dfromemail')); var Tips90 = new ChronoTips($('cf_replytoname')); var Tips100 = new ChronoTips($('cf_dreplytoname')); var Tips110 = new ChronoTips($('cf_replytoemail')); var Tips120 = new ChronoTips($('cf_dreplytoemail')); var Tipsnew = new ChronoTips($('cf_newemail')); var Tipsdel = new ChronoTips($('cf_delemail')); }); window.addEvent('domready', function() { var top ;//= $('right_column').getPosition().y - 2; var marginChange = new Fx.Style('right_column', 'margin-top', {wait:false, duration:500, transition:Fx.Transitions.Elastic.easeOut});	 window.addEvent('scroll', function() { if(!top)top = $('right_column').getPosition().y; marginChange.start(Math.max(0, window.getScrollTop() - top)); }); });

Any ideas? Is this something I can change to make work or is it just a bug and incompatibility with the new Joomla?
GreyHead 14 Oct, 2010
Hi andycjackson5,

First thing to check is if the MooTools Upgrade Plug-in is enabled. If it is then please disable it and see if that fixes the problem.

Bob
andycjackson5 15 Oct, 2010
Hi Bob,

Thanks for your message and cleaning up my post.

Unfortunately, that is not the problem. MooTools Upgrade Plugin is not enabled. Any other ideas?

Thanks,
Andrew
GreyHead 15 Oct, 2010
Hi Andrew,

Shame, that's the only significant change in those Joomla! upgrades. Otherwise it looks as though you are a victim of a random JavaScript bug. We are seeing it reported once or twice a month - there is an outbreak of seemingly random script from the ChronoForms Wizard files appearing in the admin area.

As far as I know Max hasn't found a cause for it yet. Please will you drop him a note linking to this thread through the Contact Us form above.

Things to try: reinstall ChrononForms overwriting the current installation; clear the browser cache; try a different browser.

Sorry not to be more helpful :-(

Bob
kleens 16 Oct, 2010
Hi

I have exactly the same problem since I upgraded to 1.5.21. Can I provide some kind of information to help you solving the issue?

Sincerely, kleens
GreyHead 16 Oct, 2010
Hi kleens,

Please send a message directly to Max (the ChronoForms developer) using the Contact Us menu above.

Bob
kleens 19 Oct, 2010
Dear Bob, in my case the solution was really pretty easy. As you suggested I had to turn off the System - Mootools Upgrade Plugin. Then it work again. Thanks for you advice anyway.

Greetings, kleens.
kmanstudios 21 Oct, 2010
Ran into the same thing. Mass Panic ensued until I came here. I am surprised that the mootools will create such a problem. I wonder if i have anything requiring the mootools upgrade on a few of my sites.
andrea74 22 Oct, 2010
Dear Bob,
I solved the problem by disabling MooTools Upgrade Plug-in.
But I need to has it enabled: what can I do?

Thank you.
Andrea
GreyHead 22 Oct, 2010
Hi Andreas,

There a zip file that you can download here with a hack for the MooTools Upgrade module and replacement ChronoForms files that will let you run MooTools 1.2 in the front-end and MooTools 1.1 in the back-end.

Out of curiosity, what do you need MooTools 1.2 for?

Bob
andrea74 22 Oct, 2010

Hi Andreas,

There a zip file that you can download here with a hack for the MooTools Upgrade module and replacement ChronoForms files that will let you run MooTools 1.2 in the front-end and MooTools 1.1 in the back-end.

Out of curiosity, what do you need MooTools 1.2 for?

Bob



Dear Bob,
thank you for your prompt support: I will try your suggestion shortly.
Regarding the plugin, I have installed an external module to manage a tab navigation: the link is http://www.coddii.com/joomla/extensions/tabs-manager.html
If I disable MooTools Upgrade plugin it doesn't work.
Thank you again!
noxbane 26 Oct, 2010
I don't use the Wizard, but I do see lots of random code output at the top of the admin area on some random occasions. It does not seem to effect any functionality though. I only see it in Google Chrome.
This topic is locked and no more replies can be posted.