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

Join Form With duplicate fields[Solved] | Forum

Bhavika Rugnath
Bhavika Rugnath Jan 13 '15
Hello


My join form is showing duplicate fields and i dont know what to do:

http://perola.itis.ac.mz/join

The Forum post is edited by ross Feb 3 '15
ross Team
ross Jan 13 '15
What is your software version?

What is your server: Linux or Windows?

Switch to the default theme and check whether the issue persists. 

Bhavika Rugnath
Bhavika Rugnath Jan 28 '15
Version 1.7.1

Linux Server

Bhavika Rugnath
Bhavika Rugnath Jan 28 '15
I switched to the default theme but the problem persists
ross Team
ross Jan 28 '15
Bhavika, I will need CPanel access details to your server and admin details for the site in PM, please
ross Team
ross Feb 2 '15
Bhavika, how did you achieve that look of the join page?

I don't see any plugin for that in your admin panel.

Bhavika Rugnath
Bhavika Rugnath Feb 2 '15
I dont know that too
ross Team
ross Feb 3 '15
What do you mean? Aren't you the one who manages your site? Or you have a partner?
Bhavika Rugnath
Bhavika Rugnath Feb 3 '15
I am the one who manage my site. But i asked for help because i don't know too what caused the error, and how to solve it.
ross Team
ross Feb 3 '15
Don't you remember what changes you did to achieve that look?
Nickolay
Nickolay Feb 3 '15
I've also encountered this bug and it definitely has something to do with fake fields in Registration form. It starts with not really random {display:none} and {display:block} classes for fake and real fields and it can be fixed in \ow_system_plugins\base\controllers\join.php file replacing (generated classes are sometimes the same for different fields):


$question['trClass'] = uniqid('ow_'.rand(0, 99999999999));


line (696, BASE_CTRL_Join::addFakeQuestions) to:


$question['trClass'] = uniqid('ow_'.rand(0, 99999999999)).$i;


But the problem lies much deeper in rendering 'cause there were moments when some registration fields of one type were shown as another filed from the same form or not present in source code at all - maybe some collision in session data on form generation. Hope Oxwall Team digs more into it.


ross Team
ross Feb 3 '15
The problem with his join form is that even if drag and drop the question from one section to another the join form does not respond and the question stays in the section. He obviously did some modifications, which is why I asked to revert the changes. 
Nickolay
Nickolay Feb 3 '15
I've expirienced this bug using default theme even prior to 1.7.2 update (on win and lixux dev servers). It is definitely Oxwall bug, here are some related reports:http://www.oxwall.org/forum/topic/31036

http://www.oxwall.org/forum/topic/31254


The thing is that it is not really so permanent to discover it, but unfortunately it exists.


I'll try to look into it again and post some details for you.

The Forum post is edited by Nickolay Feb 3 '15
Bhavika Rugnath
Bhavika Rugnath Feb 3 '15
Thanks Nickola, i will try out
Bhavika Rugnath
Bhavika Rugnath Feb 3 '15
After udpating oxwall to the new version the join form is back to normal


Thanks

ross Team
ross Feb 3 '15
Well, the files were overwritten, which is why the modifications you did, are gone. 

I'm going to mark this thread as Solved then. 

Bhavika Rugnath
Bhavika Rugnath Feb 3 '15
ok