Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

#6704 closed defect (bug) (no action required)

Using old fashioned bbPress 1.x from BuddyPress installation

Reported by: slaFFik Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Forums Keywords:
Cc:

Description

After installation (see #6703) I tried to go to a page of that forums.

I got several PHP Deprecated and Strict Standards messages. But they are exist because bbPress is very old.
More importantly that I got these errors:

Notice: Use of undefined constant BBDB_USER - assumed 'BBDB_USER' in W:\OpenServer\domains\bp\trunk\wp-content\plugins\buddypress\build\bp-forums\bp-forums-bbpress-sa.php on line 59
Notice: Use of undefined constant BBDB_PASSWORD - assumed 'BBDB_PASSWORD' in W:\OpenServer\domains\bp\trunk\wp-content\plugins\buddypress\build\bp-forums\bp-forums-bbpress-sa.php on line 59
Notice: Use of undefined constant BBDB_NAME - assumed 'BBDB_NAME' in W:\OpenServer\domains\bp\trunk\wp-content\plugins\buddypress\build\bp-forums\bp-forums-bbpress-sa.php on line 59
Notice: Use of undefined constant BBDB_HOST - assumed 'BBDB_HOST' in W:\OpenServer\domains\bp\trunk\wp-content\plugins\buddypress\build\bp-forums\bp-forums-bbpress-sa.php on line 59

Because of that I wasn't able to connect to DB and see the page content.

Legacy forum seems to be installed correctly (Installed) Forums for Groups, path to bb-config.php is saved and correct. Though no extra bbPress table in the DB.

Latest trunk BuddyPress, 2015 theme, xdebug activated.

Change History (5)

#1 @slaFFik
4 years ago

Single group Forums page (like this: http://trunk.bp/groups/sherlock-holmes/forum/) returns the same errors

#2 @slaFFik
4 years ago

  • Component changed from API to Component - Forums

#3 @DJPaul
4 years ago

These constants are meant to be set in the bb-config.php that BuddyPress tries to auto-generate (see bp_forums_bbpress_install). Can you check your file to see if they are in there?

#4 @slaFFik
4 years ago

No, see #6703. That was what BuddyPress said me to put in bb-config.php

#5 @DJPaul
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Let's close this in favour of #6703 which contains the root issue.

Note: See TracTickets for help on using tickets.