Jump to content

  •      Sign In   
  • Create Account
Logo
Advanced
  • Search section:
  •  
  • View New Content
  • Navigation
  • Back to Main PageLines Site
  • Forums
  • Bug Tracker
  • Proving Ground
  • More
  1. PageLines Forums
  2. → PageLines Framework
  3. → Technical Support

Photo
- - - - -

Password Recovery Error

Started by broombag , Sep 01 2010 11:52 AM

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 broombag

broombag

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 01 September 2010 - 11:52 AM

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!
  • Back to top

#2 cmunns

cmunns

    Advocate

  • Members

  • 6,511 posts

Posted 01 September 2010 - 06:00 PM

Is that the line that has "FTDOMAIN"? Try changing FTDOMAIN to TDOMAIN in all instances
  • Back to top

#3 broombag

broombag

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 02 September 2010 - 02:30 PM

Line12: <?php case ( 'reset_password', FTDOMAIN ) : ?> Changing it to TDOMAIN didn't solve the problem
  • Back to top

#4 cmunns

cmunns

    Advocate

  • Members

  • 6,511 posts

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 ``
  • Back to top

#5 broombag

broombag

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 02 September 2010 - 09:29 PM

Worked like a champ! Thanks!
  • Back to top


Back to Technical Support


Reply to quoted posts     Clear    
  1. PageLines Forums
  2. → PageLines Framework
  3. → Technical Support
  4. Privacy Policy
  • RSS Feed
  • Change Theme
    • IP.Board
    • andrew
    • New PageLines
    • Mobivision Mobile (Import)
  • Help

Community Forum Software by IP.Board

Click to return to top of page in style!

Sign In


  • Need an account? Register now!

  • I've forgotten my password
  • Privacy Policy