We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

TypeError: Cannot call method 'focus' of null [Answered] | Forum

Evie
Evie May 16 '13
When members try to sign in using the sign in form they get this error TypeError: Cannot call method 'focus' of null 
The Forum post is edited by Alia Jun 4 '13
Evie
Evie May 16 '13
Ok, for whoever comes past an has the same error. Just clear your cookies. Use chrome in private browsing to see if its cookie issue , like mine was. Search, the forum, the answere here. 
dave Leader
dave May 16 '13
yeah i was trying to help and i did a search for the error and did not find it.... glad you found it..
Alia Team
Alia May 22 '13
Thanks for sharing the solution Evie.
Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
This is again happening in my website. Please help. I tried everything but it is still happening.
dave Leader
dave May 28 '13
does it say which file?
Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
Nopes. You can try signing up in my website using the form. You would find out the error.
dave Leader
dave May 28 '13

Couple of things.  First just to help you, you need to learn to use some of the tools that FF offers.   If you pull up your site on FF firefox... then go to tools and error console it will show you some of the errors.   

 

Now wether or not these affect this i doubt it but you still need to get those fixed.  

 

Such as this one..

 

Go go your theme css and find this

 

.ow_context_action {

display: inline-block;

position: relative; z-index: 3;

font-size: 11px; height: 18px;

padding: 0px 0px 0px 5px;

border-top: 1px solid #ccc;

border-bottom: 1px solid #ccc;

border-right: 1px solid #ccc;

vertical-align: top;

*display: inline;

zoom: 1;

background-image: url('images/console_item_bg.png');

background-position: 0px 0px;

background-repeat: repeat-x;

}

 

If you want to comment that out it should be /* whatever */

 if not then remove that * by display

then refresh your cache and in the mean time i will see what i can find on this other deal. :)

The Forum post is edited by dave May 28 '13
Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
You mean I should comment out that CSS?


dave Leader
dave May 28 '13

did you mod your signup form im showing this

 

<input type="submit" value="PLUGG In" id="input_94710536" class="ow_positive"name="submit"value="PLUGG In" />

 

the value attribute is duplicated

The Forum post is edited by dave May 28 '13
dave Leader
dave May 28 '13

no i mean that the * on that display line is incorrect..

 

so either comment out that line correctly as  /*  display:inline;  */

or take the * off that line

Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
No, I didn't do that. In any case, if I had done that unknowingly, can you please tell me how to ocrrect it?
dave Leader
dave May 28 '13
You will need to edit the form html, i dont think that is the issue im still looking but that needs to be fixed regardless.
dave Leader
dave May 28 '13
I need to edit my form as well so i will let you know when i get mine done, but i am still looking on this issue :)
Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
okay.

But the attribute "value" should be changed to what?

dave Leader
dave May 28 '13

just take one out, its duplicated it shows two times value=

 

Also on this issue go into plugins and deactivate your instant chat, lets see if this is a conflict with the theme, im getting some feedback from my file search that this error message may come from instant chat.   so lets deactivate that and see if that clears it, we have to start someplace.   If not you can put it back,.

The Forum post is edited by dave May 28 '13
Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
I deactivated that.
dave Leader
dave May 28 '13
ok well its not that, but leave that off, we will put it back in a min.  Lets see if this is a template conflict.   Change your template to the origin template and refresh and see if that does it... We have to find out where the conflict is, you have the same code as i do, since you did not change anything..   Mine works so lets see if changing the template does it then we can attack the template if that is the case.
The Forum post is edited by dave May 28 '13
dave Leader
dave May 28 '13

have you done any special work on your FB connect lately ?

 

Also i have reported the double value on submit to oxwall, its an oxwall issue.

The Forum post is edited by dave May 28 '13
Nirmalya Ghosh
Nirmalya Ghosh May 28 '13
in fb connect, i only changed in css
Pages: 1 2 »