I can’t install bbPress.
I’ve included everything I need in my config.php file, but I keep getting this error message:
There doesn’t seem to be a config.php file. I need this before we can get started. Open up config-sample.php, fill in your details, and save it as config.php.
I have the config.php file right there in the /bb-admin directory.
It has to be in the root directory of / not /bb-admin/
Now I’m getting this error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/llab/public_html/wordpress/wp-content/plugins/config.php on line 14
It won’t let me move the config.php file.
bbPress is not a plugin for wordpress. You are better having it as a subdirectory, such as wordpress/forums/, but don’t have it in /wordpress/wp-content/plugins/.
Try it’s own directory with nothing to do with wordpress.
I have it installed, now I can’t log in. I know I have the right username and password.
Here’s my forum.
I registered, and could not log in with my username and password. Also, I never received a welcome email. So, something is screwy, for sure. Can you look in the database and be sure the users were added? Are you integrated with your WordPress install?
I will do that.
Thanks for all your help so far, guys, I really appreciate it.
ETA: I have no idea how to look in the database. I’m kind of new to the whole “hosting my own forums” thing.
Depending on your host, there might be a control panel of some sort. In there, you want to find a tool called phpMyAdmin. If that’s there, you’re in good shape. You can also access the database from the command line, if you have ssh access, or if you just have FTP access, you can still install phpMyAdmin in your own account. You need some way to access the database, at least to see if the users are being created.
I added my account in using phpMyAdmin, but now I’m getting this error:
Cannot select DB.
I can’t load my forum anymore. It keeps displaying that error.
Sounds like you need to set the database details in the config for phpMyAdmin. Can you give more details about what you setup?
> I have it installed, now I can’t log in.
Cookie problem. Clear your cookies, attempt to log in, check what cookies were set. Tell us.
> Can you give more details about what you setup?
I simply added my username and password into the user database.
> Clear your cookies, attempt to log in, check what cookies were set. Tell us.
I would, if I could get into the board.
regarding your setup
1. did you install phpMyAdmin yourself, or is it part of a control panel?
2. did you edit any config files by hand?
3. what do your installation directories look like (i.e. where did you install phpMyAdmin in relation to the other directories you have for your WP and bbPress installations?)
is it something like
(why the extra directory here ^?)
Is your config file for bbpress in the forums directory or the bbpress directory? (IMPORTANT)
I think the forums directory is extra, and maybe that’s causing problems?
This is accessible:
So, my guess is that extra directory “forums” is causing trouble, and that you have the config.php in that directory instead of the proper bbpress directory.
You can eliminate that forums directory if you want, unless you’re planning on running multiple forum software. If you eliminate that forum directory, make sure you update the config.php so the paths there match your webserver paths.
The big problem I think is that your config.php is in the forums folder instead of the bbpress folder where it belongs.
And I don’t think it has anything to do with phpMyAdmin (I thought it did since that’s when you said you couldn’t log in, after the talk of phpMyAdmin – maybe you never installed that?)
Okay, I moved the config.php file, and the same error keeps coming up.
I’ve also deleted the forums folder and moved the bbPress folder to /wordpress.
OK – everything appears to be in the correct location now. I think there is just a simple problem with the config.php database details now. Can you verify that these 4 are absolutely accurate in your config.php?
The host might not be localhost. Mine is not. And you don’t have a syntax error in the file (like a missing or extra quote) but something like one of those values is inaccurate. Posting it here in edited form won’t help, you have to verify that the database name, user, password and host are all accurate. You’re the only one who can do that. Once you have that, we need to get back to the original problem.
Here it is.
// ** MySQL settings **
// The name of the databasedefine(‘BBDB_USER’, xxxx);
// Your MySQL usernamedefine(‘BBDB_PASSWORD’, ‘xxx’);
// …and passworddefine(‘BBDB_HOST’, ‘localhost’);
// 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_';
// Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = ‘http://llabrealityblog.x10hosting.com/wordpress/bbpress';
// What are you going to call me?
$bb->name = ‘LLAB`s Reality Board';
// This must be set before you run the install script.
$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 = slugs;
// 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 = 0;
// Change this to localize bbPress. A corresponding MO file for the
// 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 language support.define
// 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
// 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 = ”;
// WordPress table prefix. Example: ‘wp_';$bb->wp_home = ”;
// WordPress – Options->General: Blog address (URL)
// Example: ‘http://example.com’
$bb->wp_siteurl = ”;
// WordPress – Options->General: WordPress address (URL)
// Example: ‘http://example.com’
/* Stop editing *
/if ( !defined(‘BBPATH’) ) define(‘BBPATH’, dirname(__FILE__) . ‘/’ );require_once( BBPATH . ‘bb-settings.php’ );
Hard to tell from that cut n paste since the formatting is all messed up. I don’t think it’s a syntax error anyway, it’s just a database connection issue. One of the connection details is not accurate.
Is the BBDB_USER quoted in the config.php file (it is not in the edited version here)?
Chris was very helpful in fixing the problems. This topic is RESOLVED.
- You must be logged in to reply to this topic.