|
Joined: Jun 2006
Posts: 106
member
|
member
Joined: Jun 2006
Posts: 106 |
Rick can you take a look at the code for asking the users age at time of registration. I seem to be getting a PHP error when I turn that on and a person tries to register.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
What is the error you're recieving?
|
|
|
|
Joined: Jun 2006
Posts: 106
member
|
member
Joined: Jun 2006
Posts: 106 |
Parse error: parse error, unexpected ':' in /home/clickteam/public_html/epicenter/languages/english/adduser.php on line 4
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Please open your languages/english/adduser.php file and the top portion should look like (from UBB.Threads7.0, lines 0-4): <?php
$ubbt_lang['EMAIL_NO_MATCH'] = "The email address you supplied does not match in both fields. Please carefully re-type your email address.";
$ubbt_lang['PASS_BODY'] = "Thank you for registering on our forums at {$config['FULL_URL']}/ubbthreads.php . For your records, your login information is as follows: \n\n
Username: %s \n
Password: %s";
Last edited by Gizmo; 11/01/2006 5:24 PM.
|
|
|
|
Joined: Jun 2006
Posts: 106
member
|
member
Joined: Jun 2006
Posts: 106 |
Thanks its all fixed up Something weird must have happened when I upgraded to 7.0.1
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
The strings likely where upgraded, you may want to open up that language file and be sure it has complete lines (no errors); something oculd have hiccuped during the upgrade (posibly). Keep in mind that what i included was from 7.0 and not 7.0.1 so I'm not sure what was updated ...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
It looks like the file was updated to: <?php
$ubbt_lang['searchfilename'] = "";
$ubbt_lang['EMAIL_NO_MATCH'] = "The email address you supplied does not match in both fields. Please carefully re-type your email address.";
$ubbt_lang['PASS_BODY'] = "Thank you for registering on our forums at {$config['FULL_URL']}/ubbthreads.php. For your records, your login information is as follows:\n\nUsername: %s\nPassword: %s";
$ubbt_lang['BAD_LNAME'] = "You can only have alphanumeric characters (A-Z, 0-9 and underscores) in your username.";
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
I got the above also, now adding gizmo's fix
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Humm... Ive just checked my file but i cant see anything diffrent? what's changed to fix this as i get the same error. Line 4 ?? I think this should be moved to the Bugs Forum Ive had to switch off the age check for now.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
I think there is a double somthing this is what i have.
$ubbt_lang['EMAIL_NO_MATCH'] = "The email address you supplied does not match in both fields. Please carefully re-type your email address.";
$ubbt_lang['PASS_BODY'] = "Thank you for registering on our forums at {$config['FULL_URL']}/ubbthreads.php. For your records, your login information is as follows:\n\nUsername: %s\nPassword: %s";
Username: %s \n
Password: %s";
I think this needs to be removed from the last long line? (line 4) Username: %s\nPassword: %s ?? Let me know and i can ammend the file please cheers
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Yes, it appears that in some cases where a language string spanned multiple lines it messed it up a bit. So the extra strings that just seem to be in the middle of nowhere need to be removed.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
The easiest way to fix this if you haven't done any changes to the adduser.php language file is to just copy over the full adduser.php language file from the 7.0.1.zip file
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
The easiest way to fix this if you haven't done any changes to the adduser.php language file is to just copy over the full adduser.php language file from the 7.0.1.zip file Yeh, thats why I made sure to provide the first 4 lines of the 7.0.1 adduser.php lol
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Will do Mine was an upgrade from 7.0 to 7.01 Hope that helps, thanks for the fix.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Nightcrawler),
1,165
guests, and
234
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|