Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1797 closed defect (bug) (fixed)

Error on auto install of bbpress within buddypress

Reported by: hydroweb's profile hydroweb Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords: bbpress install reporter-feedback
Cc: hydroweb@…

Description

Parse error: syntax error, unexpected T_LNUMBER in /home/dadpups/public_html/gettexasmedicaid.com/bb-config.php on line 41

Line 41 appears to be

define( 'BB_AUTH_KEY'........

Here is bb-config.php

<?php
/

  • The base configurations of bbPress. *
  • This file has the following configurations: MySQL settings, Table Prefix,
  • Secret Keys and bbPress Language. You can get the MySQL settings from your
  • web host. *
  • This file is used by the installer during installation. *
  • @package bbPress */

MySQL settings - You can get this info from your web host
/ The name of the database for bbPress */
define( 'BBDB_NAME', 'dadpups_wrdp2' );

/ MySQL database username */
define( 'BBDB_USER', 'dadpups_wrdp2' );

/ MySQL database password */
define( 'BBDB_PASSWORD', '50OCEPv5iCgM' );

/ MySQL hostname */
define( 'BBDB_HOST', 'localhost' );

/ Database Charset to use in creating database tables. */
define( 'BBDB_CHARSET', 'utf8' );

/ The Database Collate type. Don't change this if in doubt. */
define( 'BBDB_COLLATE', );

/#@+

define( 'BB_AUTH_KEY', 'f7sXx[2wbB@LBwlxS{A56y>+50OCEPv5iCgMXz iq\Ms}?(;_a#ypoR5'3w<G5>FL~1X' );
define( 'BB_SECURE_AUTH_KEY', '-\"r642fed3E1d>}MdGFlh@tR!QPU%/!S_6;CjO0}>6T50OCEPv5iCgM+ <?)3 U#*X;' );
define( 'BB_LOGGED_IN_KEY', 'Q
l\"6-pL50OCEPv5iCgM\zkw>OG<U$%u0:9H:Jl)+d$~jIBTt&CPL[Dp<KY4zL3y' );
define( 'BB_NONCE_KEY', 'asdasdjkasdjk50OCEPv5iCgMjklasdjklasdkl&%&*(&*(jklasdjklasdjkl&*)))' );
/#@-*/

/

  • bbPress Database Table prefix. *
  • You can have multiple installations in one database if you give each a unique
  • prefix. Only numbers, letters, and underscores please! */

$bb_table_prefix = 'wp_bb_';

/

  • bbPress Localized Language, defaults to English. *
  • Change this to localize bbPress. A corresponding MO file for the chosen
  • language must be installed to a directory called "my-languages" in the root
  • directory of bbPress. For example, install de.mo to "my-languages" and set
  • BB_LANG to 'de' to enable German language support. */

define( 'BB_LANG', );

$bb->custom_user_table = "wp_users";
$bb->custom_user_meta_table = "wp_usermeta";

$bb->uri = "http://gettexasmedicaid.com/wp-content/plugins/buddypress/bp-forums/bbpress/";
$bb->name = " Forums";

define('WP_AUTH_COOKIE_VERSION', 2);

?>

Change History (5)

#1 @cnorris23
14 years ago

  • Keywords reporter-feedback added

Could you post the line define( 'BB_AUTH_KEY', 'f7sXx[2wbB@LBwlxS{A56y>+50OCEPv5iCgMXz iq\Ms}?(;_a#ypoR5'3w<G5>FL~1X' ); again. This time, highlight it, and click the "Code block button. The code block button is 5th from the left, where you see the bold, italic..., etc, buttons.

This looks like it might be a problem with your auth key, not BP. Also, can you post what versions of BuddyPress and WordPress you're using?

#2 @hydroweb
14 years ago

  • Cc hydroweb@… added
  • Resolution set to fixed
  • Status changed from new to closed

The auth keys did not copy exactly from wp_config to bb_config. I had to copy by hand, then the forum loaded without error message.

#3 @hydroweb
14 years ago

Wordpress installed using version on Hostgator - 2.8.6. Then upgraded automatically to 2.9.1 at prompt. Then uploaded BP 1.2 beta. Activated the plugin. Activated BP default 1.2 beta. Then auto installed bbpress. That's when the error message showed up. BTW thanks for your prompt attention to this problem.

#4 @cnorris23
14 years ago

No problem. I figured it was an issue with one of the characters in the auth key, but I couldn't be sure until I made sure none of the characters had been converted. Looks like that was the problem if a new copy/paste job got you going again.

#5 @apeatling
14 years ago

(In [2665]) Fixes #1797, fixes #1825

Note: See TracTickets for help on using tickets.