When attempting to recover passwords, users get this error:
Parse error: syntax error, unexpected ',' in /home/content/99/6619399/html/forums/bb-templates/BaseStationForum/password-reset.php on line 12
This is the password-reset.php:
<?php bb_get_header(); ?>
<h2 role="main"><?php _e('Password Reset', FTDOMAIN); ?></h2>
<?php if ( $error ) : ?>
<p class="notice error"><?php echo $error; ?></p>
<?php else : ?>
<?php switch ( $action ) : ?>
<?php case ( 'send_key' ) : ?>
<p class="notice"><?php _e('An email has been sent to the address we have on file for you. If you don’t get anything within a few minutes, or your email has changed, you may want to get in touch with the webmaster or forum administrator here.', FTDOMAIN); ?></p>
<?php break; ?>
<?php case ( 'reset_password', FTDOMAIN ) : ?>
<p class="notice"><?php _e('Your password has been reset and a new one has been mailed to you.', FTDOMAIN); ?></p>
<?php break; ?>
<?php endswitch; ?>
<?php endif; ?>
<?php bb_get_footer(); ?>
Any help would be awesome!
Password Recovery Error
Started by
broombag
, Sep 01 2010 11:52 AM
4 replies to this topic
#1
Posted 01 September 2010 - 11:52 AM
#2
Posted 01 September 2010 - 06:00 PM
Is that the line that has "FTDOMAIN"?
Try changing FTDOMAIN to TDOMAIN in all instances
#3
Posted 02 September 2010 - 02:30 PM
Line12: <?php case ( 'reset_password', FTDOMAIN ) : ?>
Changing it to TDOMAIN didn't solve the problem
#4
Posted 02 September 2010 - 04:55 PM
Oh I see the problem!
See this line `` ?
Line 12 needs to be similar (it's missing the _e ) ...so make line 12 look like this
``
#5
Posted 02 September 2010 - 09:29 PM
Worked like a champ! Thanks!









