BPDB__SELECT_ERROR_MESSAGE

The BuddyPress BPDB SELECT ERROR MESSAGE constant.

Value (string)

'DB Error: cannot select' 

Usage

  1. if ( defined( 'BPDB__SELECT_ERROR_MESSAGE' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BPDB__SELECT_ERROR_MESSAGE' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (2)

The constant is defined in the following location(s).

/bp-forums/bbpress/bb-includes/backpress/class.bpdb.php  
  1. define( 'BPDB__SELECT_ERROR_MESSAGE', 'DB Error: cannot select' ); 
/bp-forums/bbpress/bb-settings.php  
  1. define( 'BPDB__SELECT_ERROR_MESSAGE', ERROR Can\'t select database.' );