broombag 0 Report post Posted September 1, 2010 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! Share this post Link to post Share on other sites
cmunns 16 Report post Posted September 1, 2010 Is that the line that has "FTDOMAIN"? Try changing FTDOMAIN to TDOMAIN in all instances Share this post Link to post Share on other sites
broombag 0 Report post Posted September 2, 2010 Line12: <?php case ( 'reset_password', FTDOMAIN ) : ?> Changing it to TDOMAIN didn't solve the problem Share this post Link to post Share on other sites
cmunns 16 Report post Posted September 2, 2010 Oh I see the problem! See this line `<?php _e('Password Reset', FTDOMAIN); ?>` ? Line 12 needs to be similar (it's missing the _e ) ...so make line 12 look like this `<?php case _e( 'reset_password', FTDOMAIN ) : ?>` Share this post Link to post Share on other sites
broombag 0 Report post Posted September 2, 2010 Worked like a champ! Thanks! Share this post Link to post Share on other sites