Author |
Message |
bswebgrrrl Guest
|
Posted: Sat Jun 23, 2007 10:06 pm Post subject: Can't register |
|
|
I just installed the mod and am getting this message when trying to register:
Quote: | Parse error: syntax error, unexpected ';', expecting ')' in /home/hsphere/local/home-local/fetish/bsersfanclub.com/PHPBB/phpBB2/includes/usercp_register.php on line 1031 |
Here's what my php page says for that line:
Quote: | $template->assign_vars(array(
tc_hook_template($mode, $template, $s_hidden_fields, $tc_question);
$template->assign_vars(array(
'TEXTUAL_CONFIRMATION_QUESTION' => isset($tc_question) ? $tc_question : '',
'L_TEXTUAL_CONFIRMATION_EXPLAIN' => isset($lang['tc_explain']) ? $lang['tc_explain'] : '',
'USERNAME' => isset($username) ? $username : '',
'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '',
'NEW_PASSWORD' => isset($new_password) ? $new_password : '',
'PASSWORD_CONFIRM' => isset($password_confirm) ? $password_confirm : '',
'EMAIL' => isset($email) ? $email : '',
'CONFIRM_IMG' => $confirm_image,
'YIM' => $yim, |
I can't figure out where I've messed up.
The board is:
http://bsersfanclub.com/PHPBB/phpBB2/index.php
Thanks! |
|
 |
bswebgrrrl Guest
|
Posted: Sat Jun 23, 2007 10:08 pm Post subject: |
|
|
sorry -- couldn't edit --- the error line is coming from line 2 in the 2nd quoted area above. |
|
 |
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Sun Jun 24, 2007 1:59 am Post subject: |
|
|
For some reason, you've got extra line (the first one), which is not needed. Change
Code: | $template->assign_vars(array(
tc_hook_template($mode, $template, $s_hidden_fields, $tc_question);
$template->assign_vars(array(
... |
to
Code: |
tc_hook_template($mode, $template, $s_hidden_fields, $tc_question);
$template->assign_vars(array(
... |
_________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
 |
bswebgrrrl Guest
|
Posted: Sun Jun 24, 2007 4:26 am Post subject: |
|
|
That fixed it! Thank you so much. Hopefully this will fix the spammers for me! |
|
 |
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Tue Jun 26, 2007 1:53 am Post subject: |
|
|
Quote: | Hopefully this will fix the spammers for me! |
Yes, it should be so. Check your mail for a lot of e-mails. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
 |
Ok.