Forums

Error on Joomla Registration form (CF v4 on Joomla 2.5.7)

rinaldo.faria 26 Sep, 2012
I made a CF for registering Joomla user on my develop site and it ran well.

But, when I tried to do the same on my product site and made a test, I got the message:
You must provide your name.
You must provide your username.
You must provide your email.
You must provide your password.

Of course, I provide right values on each Text Box about these inputs.

I've already check once, twice and more times the configuration and it ok. All "Text Boxes on the Form" have properties (Id and name) defined as: name, username, email, password and passwordVerify and "linked" on the "Joomla User Registration" to the respectively properties.
There is only one difference between the sites: the joomla table's prefix.
develop: jos_
production: a586x_

Does anyone known something about this problem? Could help me?

regards

Rinaldo Faria
Brazil.
GreyHead 26 Sep, 2012
Hi Rinaldo,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

Bob
rinaldo.faria 26 Sep, 2012
The debug event was placed before Joomla User Registration and that's what I got:
Data Array:
Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => frmJoomlaUser
[event] => submit
[Itemid] =>
)
Validation Errors:
Array
(
)
You must provide your name.
You must provide your username.
You must provide your email.
You must provide your password.
Nome
You must provide your name.
Logon
You must provide your username.
Email
You must provide your email.
Senha
You must provide your password.
Confirme Senha

Powered By ChronoForms - ChronoEngine.com
rinaldo.faria 27 Sep, 2012
Solved!

The problem was: joomla can't work well on a reverse proxy and SSL 'cos in same cases (it was one of) the submit redirect to http://... and by using a ssl it could be https://...
I think it is a workaround but it solved. Do it.
On the general properties of the form use the "Submit URL" by putting the relative way. I did:
<path>/index.php?option=com_chronoforms&tmpl=component&chronoform=<form Name>&event=submit
where:
<path>: mean the absolute path from apache. the Joomla's path.
<form Name>: the name of the form that host the Joomla User data.

and great. I ran well.

Thanks to anyone who try to help me.
GreyHead 27 Sep, 2012
Hi rinaldo.faria,

I think that setting the Use Relative URL option to No on the form General will do the same thing without using the Submit URL - though it may not handle the http/https issue correctly.

Bob
rinaldo.faria 01 Oct, 2012
Hi, Bob.

You're right. I've already changed to set "Use Relative URL" to NO 'cos by using the URL I couldn't use parameters on it.

The "Use Relative URL" is the best option.

regards


Rinaldo
michellezum 03 Apr, 2013
I am having this exact same problem, but I don't understand how you fixed it. I have set "Use Relative URL" to yes. I have followed the instructions in the CFV4 Joomla Registration tutorial provided on this site. I'm not sure what to do. Please help!

Michelle
GreyHead 03 Apr, 2013
Hi Michelle,

The recommendation here is to set Relative URL to No, have you tried that?

Bob
michellezum 03 Apr, 2013
I tried yes and no. I tried adding the debugger to On Submit, but it did not produce any results. Nothing came up at all. When I add debugger to the On Load, I get the results posted below (after I have filled out all the fields, of course.) Its ignoring data entered in the fields and saying I haven't provided them. I'm also attaching a screen shot of my form events.

Data Array:

Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => Registration
[event] => submit
[Itemid] =>
[name] =>
[last] => test
[username] =>
[address] => test
[city] => test
[state] => Alaska
[zip] => 12345
[phone] => 123-123-1234
[email] =>
[newsletter] => 1
[land] => No
[password] =>
[password_confirm] => test123
[Submit] => Submit
[7575a8cace371ab972afddd3a8c776ff] => 1
[password2] =>
)

Validation Errors:

Array
(
[Name] => You must provide your name.
[Username] => You must provide your username.
[Email] => You must provide your email.
[Password] => You must provide your password.
michellezum 03 Apr, 2013
Also, I am unable to create a table for this form. When I select my form, click "Create Table" then hit save, it goes back to the forms manager screen, but not no table has been created.

I should mention that we recently upgraded from Joomla 1.5 to 2.5. Could that be causing some problems?

Michelle
GreyHead 04 Apr, 2013
Hi Michelle,

I don't see anything in the form that would obviously break a Table Create query. I think that there is usually an error message if the query fails. You could try turning on site debug to see if you can see the CREATE TABLE query and debug it; or you could create a table in PHPMyAdmin.

Bob
This topic is locked and no more replies can be posted.