On my index, I call the register drupal form and the login drupal form. so both forms are on the same page...

Then firebug console says

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://url.com/misc/jquery.js?B :: anonymous :: line 13" data: no]

I also have a page with only the reg form on it without the login form and then it works.

Drupal 6.14

Comments

Michsk’s picture

Priority: Normal » Critical

i have got exactly the same issue.

Michsk’s picture

This bug only occures in firefox 3.5.5. Ie 7 and 8 work fine.

Michsk’s picture

i got a strong feeling its got to do with some addon

//edit: disabled all menus still the same error.
////edit: i know that this has worked for me i just cant rememer what i changed as in new modules etc...

Michsk’s picture

Ok got this working.

Here's what my situation was.

I wanted the newest jquery, so i included my own jquery download v1.3.2 and the standard drupal jquery v.1.2.x.

I deleted my own jquery version downloaded jquery update from the modules 6.2 with the new jquery version. And everything is working now.

febrarian’s picture

hello, how are you including the register form in your homepage?

Michsk’s picture

<?php
drupal_get_form('user-register');
?>
logii’s picture

Hi Iasac,
you mentioned: "On my index, I call the register drupal form and the login drupal form. so both forms are on the same page..."
What does "index" mean? index.php or page.tpl.php ?

I'm asking because I have actually used the code
print drupal_get_form('user_register');
in page-node-[nid].tpl.php

The registration form got printed out, but the username check wasn't functioning like '/user/register' did.

if it's index.php you are referring to, then I'll file a new issue to this =)

Thanks
logii

Michsk’s picture

what i ment with index is the front page. i placed the forms in a block and showed them on the frontpage.

scalp’s picture

I have a block on the user/register page containing:
print drupal_get_form('user_login_block');
Seems to be related to this issue as Username Originality doesn't work for me.

DISREGARD: I removed all blocks on the user/register page and still can't get this to work. Not sure what the problem is.

Michsk’s picture

well here is my answer what made it work for me:
http://drupal.org/node/588110#comment-2272860

scalp’s picture

Didn't work for me. Updated to 1.2 jquery then 1.3. Neither got this working.