Opened 9 years ago
Closed 9 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)
#3
@
9 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
@
9 years ago
No, see #6703. That was what BuddyPress said me to put in bb-config.php
Single group Forums page (like this:
http://trunk.bp/groups/sherlock-holmes/forum/
) returns the same errors