Forums

autocomplete error Autocompleter.js:358

Dudley Morrown 10 Jun, 2013
hi

after a long break from chronoforms i am back and its awesome what the new version is capable of now!

just am putting the auto-complete power function to the test but am receiving the following error in both chrome and firefox:

Uncaught TypeError: Cannot read property 'trident' of undefined Autocompleter.js:358

if you can guide me into the direction of what i have missed or screwed up i would be very grateful!
GreyHead 10 Jun, 2013
Hi Dudley,

Looks like a typo somewhere - a function and an input name are mixed up. Please post a link to the form so I can take a quick look.

Bob
GreyHead 11 Jun, 2013
Hi Dudley,

The 'trident' refers to the MooTools Browser.engine* check in the AutoCompleter code so that makes sense now. I suspect that the problem is a conflict with JQuery or some other script that you have running on the page (there are an enormous number of them) :-(

Bob
Dudley Morrown 11 Jun, 2013
Thanks i keep poking around and see what happens๐Ÿ˜‰ But at least my settings seem ok right?
GreyHead 11 Jun, 2013
Hi DudleyMorrow,

As far as I can tell, yes but as the JavaScript is broken even when I view the form without the template I can't be certain :-(

Bob
Max_admin 16 Jun, 2013
Hi Dudley,

Do you have J3 or J3.1 ? if yes then please contact me through the "Contact us" page so I can send you a patch file for this issue!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Dudley Morrown 17 Jun, 2013
Thanks MAX i have mailed you via contact form.
neuronageek 08 Jul, 2013
Hi all,

Today I find a fix for Autocompleter.js on Joomla 3.1 (and other .js affected files). There is a problem with deprecated functions and methods used in the original code when running with mootools 1.4.5, like Brower.Engine, $merge, $clear, etc.

After figthing and some trial&error, I get a stable system running. If someone whants the files, feel free to ask me by PM, or if administrators wants the files, I will send to them too.

Bye!
Max_admin 14 Jul, 2013
Hi neuronageek,

Thank you, yes, I have already made the fixes earlier and asked users to contact me through the "contact us" page to get the file!๐Ÿ™‚

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
patrizia 14 Jul, 2013

Hi Dudley,

Do you have J3 or J3.1 ? if yes then please contact me through the "Contact us" page so I can send you a patch file for this issue!

Regards,
Max


hi Max I have same problem as Dudley but my error is:

TypeError: Browser.Engine is undefined
[Break On This Error]

if (Browser.Engine.trident) {

I am running joomla! 3.1.1 and was wondering if you could send the patch files to me as well๐Ÿ™„

Thanking you in advance
Trish
neuronageek 14 Jul, 2013

Hi neuronageek,

Thank you, yes, I have already made the fixes earlier and asked users to contact me through the "contact us" page to get the file!๐Ÿ™‚

Regards,
Max



Hi Max,

I don't find this message about contact you! I misunderstood your answer.
It will saved me lot of time!. But it was very interesting to investigate about how to resolve "deprecated" methods and commands in Javascript.

Thanks,
Max_admin 19 Jul, 2013
@patrizia,

Please use the "Contact us" form to get this file!

@neuronageek,

yes, my post is a few posts above, its sometimes interesting to solve JS issues as you said though!๐Ÿ™‚

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.