Forums

Joomla registration - 500 password error

jgstyle 30 Apr, 2008
Hey guys,

now I'm having trouble getting the Joomla registration working. Is there a tutorial on how this should go?

Right now, I go to the "Joomla Registration" icon in the ChronoForms component, then I fill in the form info from my form.

After this, I went to the "plugins" tab on the right and turned on the Joomla Registration checkbox.

Now I go to test the form and it give me the "500 - PASSWORD DO NOT MATCH" error. However, it does submit the form and send me my uploaded file to my email. But no info is stored in Joomla ,as no new members are ever created.

I found this thread:
http://www.chronoengine.com/index.php?option=com_fireboard&Itemid=37&func=view&id=6576&catid=2#6576

but it did not help me. I tried inserting some code (as written in the above mentioned thread) in the plugin file but I'm sure I did it wrong. Curses!

Anyway, I'm using Joomla 1.5.0 if that matters. Any tips or pointers? Thanks!

-john
Max_admin 01 May, 2008
Hi john,

Are you using the latest Chronoforms RC3.1 version ? did you define all teh fields in plugin page ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jgstyle 02 May, 2008
Hey,

yeah I had all the fields defined in there, but now that you mention it, I realize now that I was using Chronoforms V2.5 J1.5 RC2.

I went to download the upgrade installer, but now when I try to install the package, I get this:

Error! Could not find an XML setup file in the package

am I supposed to install this using the Joomla installer?
Max_admin 03 May, 2008
Did you get the J1.0 upgrade or the J1.5 upgrade ? try to overwrite all files and this should upgrade it actually!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jgstyle 03 May, 2008
Hey, the upgrade actually did fix it. Yes! I manually replaced all of the files and it worked like a charm. The new member shows up in the Joomla database.

However, now I'm getting the dreaded blank email with "SEND_MSG_ACTIVATE" and "SEND_MSG_ADMIN".

I found a couple of threads on here regarding that, but again I did not see a definitive answer.

How can I get the actual form results instead of those messages? Thanks!
GreyHead 04 May, 2008
Hi jgstyle,

The messages don't show because the user isn't logged in and so the language file hasn't been loaded.

I get round it by putting the language defines into one of the code boxes (I'm not sure which one you'd need to use).
// Edit the language defines here
// :: Hack :: Language defines inserted because user is not logged in
define('SEND_MSG',"Hello %s,\n\nThank you for registering at %s.\n\nYou may now Login to %s using the username and password you registered with."«»);
define('SEND_MSG_ACTIVATE',"Hello %s,\n\nThank you for registering at %s. Your account is created and must be activated before you can use it.\nTo activate the account click on the following link or copy-paste it in your browser:\n%s\n\nAfter activation you may login to %s using the following username and password:\n\nusername - %s\npassword - %s"«»);
define('SEND_MSG_ADMIN',"Hello %s,\n\nA new User has registered at %s.\nThis e-mail contains their details:\n\nName - %s\ne-mail - %s\nUsername - %s\n\nPlease do not respond to this message as it is automatically generated and is for information purposes only."«»);
define('SEND REGISTRATION',"Send Registration"«»);
define('ACCOUNT DETAILS FOR',"Account Details for %s at %s"«»);
define('REG_COMPLETE',"You may now Login."«»);
define('REG_COMPLETE_ACTIVATE_TITLE',"Registration Complete!"«»);
define('REG_COMPLETE_ACTIVATE',"Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login."«»);
// :: end Hack ::
define('WW_CANT_VALIDATE_1',"We are sorry, we were unable to validate your membership."«»);
define('WW_CANT_VALIDATE_2',"Please check the details and try again, or register as a non-member."«»);
define('WW_NOT_LOGGED_IN',"You are not logged in. Please login to continue. . ."«»);
define('WW_NOT_REGISTERED',"You are not registered. Registering . . ."«»);
define('WW_SITE_REG_FAILED',"Site registration failed: please see the message below"«»);
// End Config section - you shouldn't usually need to edit anything below here
Bob<br><br>Post edited by: GreyHead, at: 2008/05/04 13:25
Max_admin 04 May, 2008
Hi jgstyle,

you can make a copy of the com_user language file in the languages folder and rename it to com_chronocontact too and this will solve it!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jgstyle 06 May, 2008
Hey guys,

yes I discovered that a few days ago. I should have updated the thread then. All is working great now. Thanks!
This topic is locked and no more replies can be posted.