Author Topic: Ajax Register Javascript error  (Read 1507 times)

Yberion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Ajax Register Javascript error
« on: 02 July 2010, 18:51 »
Hello everyone :)

I've just bought Ajax Register and intalled it. But i'm getting this error when the script is doing the asynchronous check:

Code: [Select]
Error: (new Element("label")).setProperty("for", el.getProperty("id")).addClass("msg " + style).setHTML is not a function
File: http://comunidade.reinodocaos.com/components/com_ajaxregister/assets/js/validate.js
Line: 1

What should I do to fix it?
Thanks

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Ajax Register Javascript error
« Reply #1 on: 03 July 2010, 00:51 »
Can I see the URL where it's installed? Can't say anything like this. maybe the problem with the template, conflict with some other JS, can be anything.

Yberion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Ajax Register Javascript error
« Reply #2 on: 03 July 2010, 03:21 »
I'm preaty sure the problem is due to a conflict with my template menu js.
Well, at least it was the only js I couldn't remove to test :)

Anyway, here's a direct link: http://comunidade.reinodocaos.com/index.php?option=com_user&task=register

I also did some changes at the default.php file, but I dont think that's the problem, since I was getting the error before I made any changes.

PS: Oh, btw, site is in Portuguese. But I think you can figure out everything, since it follows the same patern
« Last Edit: 03 July 2010, 03:23 by Yberion »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Ajax Register Javascript error
« Reply #3 on: 03 July 2010, 23:10 »
Looks like you are installing some other components right now so I can't see...

Yberion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Ajax Register Javascript error
« Reply #4 on: 03 July 2010, 23:38 »
Omg.. Lol.. Sorry

I was just trying some stuff to make sure it was my template that was causing the problem.

You can check now.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Ajax Register Javascript error
« Reply #5 on: 03 July 2010, 23:51 »
Do you use template overrides? What do you have on "Allow template overrides" in AJAX Register advanced settings?

Yberion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Ajax Register Javascript error
« Reply #6 on: 04 July 2010, 19:53 »
I do not use template overrides. "Allow template overrides" is checked as "No".

Like I said, I've made some changes at the default.php file. But I was getting that error before I made any changes.
I've tested it. The problem is due to a conflict with my template menu js.

So, what can we do?  :'(

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Ajax Register Javascript error
« Reply #7 on: 04 July 2010, 23:07 »
Send me the access info: admin password and FTP info on mail and I will check that for you.

Yberion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Ajax Register Javascript error
« Reply #8 on: 05 July 2010, 00:36 »
Sorry bud, no can do that  :-X

Besides, I've done extensives checks and I'm 100% positive sure that the problem is caused by my template js.

How do I know that? I removed that .js and it worked (although that wasnt realy a fix since it bugged my template).

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: Ajax Register Javascript error
« Reply #9 on: 05 July 2010, 21:48 »
I think the problem is cause by the template override. Can't help more unless you can provide access. I can only suggest to use a different template then.

Yberion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Ajax Register Javascript error
« Reply #10 on: 05 July 2010, 21:59 »
Got it fixed..