Forums

Can't display tooltips and other errors (CF 3.2)

Phil91 09 Jan, 2011
Hi Bob,

Been a while since I didn't talk to you...
Trying to install CF 3.2 on a website I'm creating for a friend...Backed up and installed a form I previously created on my main website and it turns out that this one does not display tooltips, although the code seems perfectly ok.
Looked at the console in Firefox and am seeing a big bunch of errors which I captured in the image attached...Any idea what's going on here? Nothing fancy, just a few textboxes and a multiselect list with captcha verification and validation enabled...

Thx for helping me out here..

Cheers

Philippe[attachment=0]bug.jpg[/attachment]
GreyHead 09 Jan, 2011
Hi Philippe,

Could be the MooTools Upgrade plug-in :-( Here's my standard message:

You probably have the MooTools Upgrade Plugin enabled. This is an optional plug-in that enables the MooTools 1.2 library on your site.

ChronoForms (and many other Joomla! extensions) use the MooTools 1.1.2 library that is installed by default. The ChronoForms Wizard, and other back-end code will not run with the plugin enabled.

If you disable the plug-in then ChronoForms should run correctly.

If you need MooTools 1.2 in the front-end of your site then there is a hack for the plug-in posted in the forums here that will enable the 1.2 library in the front-end only. However the ChronoForms validation code and some other features will not work with this version.

There's a fuller "How-to Document" here that includes fixed files that will let the front-end of ChronoForms work with MooTools 1.2.

Bob
Phil91 09 Jan, 2011
Hhhhmmm...This is what I first looked at and the Mootools upgrade plugin is NOT enabled...Actually, enabling it crashes the system with a Parse error, so I know it's not enabled🙂
I am using J! 1.5.22 with Legacy plugin and some other extensions but not much.

Philippe
GreyHead 09 Jan, 2011
Hi Philippe.

Oh well - back to the drawing board. It has to be a JavaScript issue - if you check with FireBug or the Chrome Console is MooTools loading at all?

Bob
Phil91 10 Jan, 2011
Bob,

You're absolutely right...Mootools is not loaded...Looked with Firebug and can't see it....
How can I deal with this? Thought that it was loaded by default....

Thx

Philippe
GreyHead 10 Jan, 2011
Hi Philippe,

I also think it should be loaded automatically in the Admin area, maybe something else is blocking it :-(

If you look at the page header in FireBug is the link to load MooTools there - and if it is, is the mootools file undamaged?
<script src="/joomla1.5h/media/system/js/mootools.js" type="text/javascript"></script>


Bob
Phil91 10 Jan, 2011
Nope...No link...Looks like it's not loaded AT ALL...I think I'll go thru a complete reinstall...Not yet in production anyway...Will save the DB and reinstall J! and extensions...In fact, I started from a backup I migrated over to the final server and maybe something happened there...

Thx

Philippe
Phil91 16 Jan, 2011
Bob,

Reinstalled 1.5.22 from scratch, reinstalled CF and my form and Mootools is still not there...
Any idea where Mootools should be located by default so that I cna check if it's there or not?

Thx

Philippe
GreyHead 16 Jan, 2011
Hi Philippe,

media/system/js/mootools.js

Bob
Phil91 27 Jan, 2011
OK,

Mootools is there, so it means that it's not loaded...I'll check what happens with the template...Just in case...

Philippe
GreyHead 30 Jan, 2011
Hi Philippe,

As a test try switching to one of the default Joomla! templates. If the ToolTips then work (they should) then the template is blocking something :-(

Bob
sitebuildernow 18 Jul, 2012
Hi Bob... haven't been here for a long time but I'm hoping I can buy you another beer ... I am having issues here: http://www.asnwonline.com/index.php?option=com_chronocontact&Itemid=38

I am on joomla 1.5.26 and ChronoContact V 3.2

To be honest - I haven't done much to the site lately except keep Joomla up to date. I am not sure when my tooltips and calendar and the other js to "auto fill" the contact info into the billing etc but it did... I've done the usual, disabled plugins, tried a default theme, made sure mootools upgrade is not enabled but dang it - I cannot figure out what is breaking the form. It works as far as people can fill it out and submit and it generates the email as expected - but the script stuff isn't working... any ideas?

Thanks in advance and seriously - I'd be happy to buy you a kegger if need be!

Harmony :-)

Hi Philippe,

As a test try switching to one of the default Joomla! templates. If the ToolTips then work (they should) then the template is blocking something :-(

Bob

GreyHead 18 Jul, 2012
Hi sitebuildernow,

It looks as though the site has the MooTools Upgrade Plugin enabled. This is an optional plug-in that enables the MooTools 1.2 library on your site.

ChronoForms v3 (and many other Joomla! extensions) use the MooTools 1.1.2 library that is installed by default. The ChronoForms Wizard, and other back-end code will not run with the plugin enabled.

If you disable the plug-in then ChronoForms v3 should run correctly.

Note ChronoForms v4 requires MooTools 1.2 and needs the plug-in enabled.

If you are using ChronoForms v3 and need MooTools 1.2 in the front-end of your site then there is a hack for the plug-in posted in the forums here that will enable the 1.2 library in the front-end only. However the ChronoForms validation code and some other features will not work with this version.

There's a fuller "How-to Document" here that includes fixed files that will let the front-end of ChronoForms v 3.2 work with MooTools 1.2.

Bob
sitebuildernow 18 Jul, 2012
Hey Bob, thanks for the reply but, I see that the mootools upgrade was enabled - but I swear I had turned it off and it is turned of now and I am still having the same problem. any other suggestions?
GreyHead 18 Jul, 2012
Hi sitebuildernow,

The next problem is that none of the ChronoForms CSS or JavaScript files are being loaded. There is a 'Load Chronoforms CSS/JS Files?' option on the form General tab that should be set to Yes?

Bob
sitebuildernow 18 Jul, 2012
Yep - double checked - it is set to yes.
sitebuildernow 18 Jul, 2012
I'm not sure if it is related but I checked my mod security logs and I do keep getting this error: Rule cc8f630 [id "390801"][file "/usr/local/apache/conf/modsec/50_asl_rootkits.conf"][line "114"] - Execution error - PCRE limits exceeded (-8): (null).

I turned off mod security to see if it could be the issue but that didn't solve the problem - thought maybe this would give you a clue though?
GreyHead 18 Jul, 2012
Hi sitebuildernow,

Next check is to make sure that the template index.php file included this line - usually just after the opening <head> tag
<jdoc:include type="head" />


I don't think mod_security is the problem here as all the CF (and Joomla!) script and CSS files are missing. The error seems to relate to a Python time-out in running the checks.

Bob
sitebuildernow 18 Jul, 2012
Checked the template and the code was there - I replaced and resaved "just in case" ... on my side I do see several scripts loading but not the CF
sitebuildernow 18 Jul, 2012
Hi Bob, when all else fails ... reinstall - I re-installed the component and now the js works but the tool tips don't pop up thus the calendar does not work either... obviously the css still isn't loading... any ideas on that?
sitebuildernow 18 Jul, 2012
Ok, I also had a "copy" of that form and it worked fine so I just redirected my menu to go to that one instead - it all works now - God only knows what the issues were! I'm always open to ideas...
This topic is locked and no more replies can be posted.