Installation Error Message
When I attempt to the install.php phase, the config.php file text loads onto the browser finalized with this error message:
Fatal error: Class bb_walker_forumadminlistitems: Cannot inherit from undefined class bb_walker in /home/cust2/user1080446/html/bbpress/bb-admin/admin-functions.php on line 582
I’ve monkeyed around with it for a while now and I’m not getting anywhere.
I don’t know why it would redirect to the home page vs. giving you a failed login attempt. I registered, received my email, tried logging in, and it seemed like it just redirected to the front page of the forum again.
Is the WordPress installation going to be here:
If so, with integration, the bbPress installation should be here then (I believe):
but it’s actually here:
I wonder if the cookie path is wrong and that prevents bbPress from setting the proper cookie and thus thinks you’re not logged in, or that you logged back out since there is no valid cookie?
I checked the cookies that were set and I have a cookie path of /puppyplaydate/ for wordpressuser and wordpresspass. I would expect the cookie path to be /Forums/ with this setup.
As a test, I just stopped accepting cookies for my site (integrated with WordPress as well), then tried logging in. If I tried to log in while I was viewing a forum, it just silently redirected me to the forum home page. This seems like confirmation that it’s a cookie issue at this point. I can make mine do what yours is doing.
If I set the 2 cookies manually in Firefox, I am logged in! Check this out:
Screenshot of me logged into your forum:
Screenshot of the cookies I manually set (note path
Here is the response from your server where it tries to set the cookies with a path of /puppyplaydate/:
I was just reading the cookie reference as to the forum being placed inside the wp folder. I don’t know how I missed that in the installation instructions. I know I was supposed to provide a path.
All in all, a strong arguement for starting from scratch and inserting the bbpress folder into the wp folder. Will update shortly.
Do you think I should dump the data base tables first?
What do you mean by dump? It doesn’t look like there’s anything there to save, so I would drop the tables and start over by letting WordPress and bbPress create new tables in the database with the proper (different) table prefixes (from your configs.)
Meant, drop and I’ve started over. WordPress went fine. bbpress went into a folder called forum and got this error:
Parse error: parse error in /home/cust2/user1080446/html/puppyplaydate/Forums/config.php on line 16
Fatal error: Class bb_walker_forumadminlistitems: Cannot inherit from undefined class bb_walker in /home/cust2/user1080446/html/puppyplaydate/Forums/bb-admin/admin-functions.php on line 582
Here is the config file:
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘******’); // The name of the database
define(‘BBDB_USER’, ‘*******’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘*******’); // …and password
define(‘BBDB_HOST’, ‘********’); // 99% chance you won’t need to change these last few
define(‘BBDB_CHARSET’, ‘utf8′); // If you are *upgrading*, and your old config.php does
define(‘BBDB_COLLATE’, ”); // not have these two contstants in them,
DO NOT define them
// If you are installing for the first time, leave them here
// Change the prefix if you want to have multiple
forums in a single database.
$bb_table_prefix = ‘playforum_’; // Only letters, numbers and underscores please!
// The full URL of your bbPress install
// What are you going to call me?
$bb->name = ‘John Wades Puppy Play Date Site’;
// This must be set before you run the
$bb->admin_email = ‘email@example.com’;
// Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.
$bb->mod_rewrite = false;
// The number of topics that show on each page.
$bb->page_topics = 30;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = -4;
// Change this to localize bbPress. A corresponding MO file
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam
blocking, you’ll need one. You can get an Akismet key at
$bb->akismet_key = ‘xxxxxxxxx’; // Example: ’0123456789ab’
// The rest is
only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ‘ppd_’; // WordPress table prefix. Example:
$bb->wp_home = ‘http://www.johnwade.ca/puppyplaydate’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
‘http://www.johnwade.ca/puppyplaydate’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
I see I left my Askimet key in there. Is that a security problem to have it posted. If so, how do I edit the post?
You can edit your post for a fixed period of time, but I think that time has expired. I tagged the thread modlook so a moderator can edit it.
The formatting of the config.php got jazzed up posting it here, so now there are lots of parse errors in it. Hard to say what it is without having the actual config.php in hand. It’s either on line 16 or right before line 16 and then it gets reported as line 16. This is line 14 in a stock config-sample.php:
$bb_table_prefix = 'bb_';
Maybe there’s a problem with that line in your config?
Interesting (16:12 CST):
Your bbPress URL (http://www.johnwade.ca/Forums/) is not a subdirectory of your WordPress URL (http://www.johnwade.ca/puppyplaydate).
Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
In the meantime, remove the http://www.johnwade.ca/puppyplaydate setting from your config.php file, or you may not be able to log in.
Some success. I found where things were getting stopped up. In the config section looking for “what are you going to call me” (By now I had a few choice words.) I included an apostrophe. When I removed it, the installation went smoothly and I can get into the admin side of things.
Can I now, after the fact integrate with wordpress by making the changes in the config file? Or is it plugin time. bbpress is inside the folder containing the wp files.
For integration, hopefully you have something like:
http://www.johnwade.ca/ (plain old website)
From what is accessible online though, that doesn’t look like the case.
If you have that structure, integration will be easiest.
That’s the best setup for integration, with the bbPress directory a subdirectory of the WordPress directory. The thing that threw me was that this is still a valid (if somewhat broken) URL:
I think the integration needs to happen up front, in the config.php, since an integrated install modifies the wp_users table and does not create a bb_users table. I’m not sure if you can go back and edit the config to make it integrated later. I don’t think it would work since the table creation and modification are done upon installation.
Right you are. I’ve deleted it. I see my askimet key is still available in this thread. Who should I contact?
A moderator will come along (Trent) and delete that. He hasn’t logged in in a while. There’s not much else you can do at this point.
You must be logged in to reply to this topic.