I'm able to successfully install the bbpress. I'm installing it in a subdirectory of my PUBLIC_HTML
directory. So I have:
public_html/bbpress
public_html/wp-content
public_html/wp-admin
etc.
I run domain.com/bbpress/bb-admin/install.php
Everything seems okay. Then I log in at domain.com/forums and bam!... nothing but Error 404 - Not Found.
I find it strange after I login I'm directed right to my Wordpress template with the 404 error. Initially I tried integrating with Wordpress, but now I'm trying to get this running very simply: no mod_rewrite, no integration, disabled any plugins that might be interfering (home page control), etc.
I uninstalled (dropped all bb_ tables) and reinstalled several times but same result.
Any advice?
bbPress support forums » Troubleshooting
Installation is successful, then 404
(8 posts)-
Posted 1 year ago #
-
I think we can get this going. Post the content of your config.php (without username and password for database XXX them out). We should be able to help.
Trent
Posted 1 year ago # -
Thanks, I was just about to give up.
<?php
// ** MySQL settings ** //
define('BBDB_NAME', '#####'); // The name of the database
define('BBDB_USER', '#####'); // Your MySQL username
define('BBDB_PASSWORD', '######'); // ...and password
define('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!// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = 'http://ward3brighton.ca'; // Example: 'http://bbpress.example.com'
// There should be both a leading and trailing slash here. '/' is fine if the site is in root.
$bb->path = '/forums/'; // Example: '/forums/'// What are you going to call me?
$bb->name = 'The Street';// This must be set before running the install script.
$bb->admin_email = '######@ward3brighton.ca';// Set to true if you want pretty permalinks.
$bb->mod_rewrite = false;// The number of topics that show on each page.
$bb->page_topics = 20;// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 30;// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = -4;// 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('BBLANG', '');// 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
// http://wordpress.com/api-keys/
$bb->akismet_key = '###########'; // Example: '0123456789ab'// The rest is only useful if you are integrating bbPress with WordPress.
// If you're not, just leave the rest as it is.$bb->wp_table_prefix = ''; // WordPress table prefix. Example: 'wp_';
$bb->wp_home = ''; // WordPress - Options->General: Blog address (URL) // No trailing slash. Example: 'http://example.com'
$bb->wp_siteurl = ''; // WordPress - Options->General: WordPress address (URL) // No trailing slash. Example: 'http://example.com'/* Stop editing */
define('BBPATH', dirname(__FILE__) . '/' );
require_once( BBPATH . 'bb-settings.php' );?>
Posted 1 year ago # -
Your forum is at http://ward3brighton.ca/bbpress/ not http://ward3brighton.ca/forums/ . It's unstyled since the path is wrong. It seems to me that you changed the config.php to put the forum in a directory called
forumsbut left the folder name asbbpresswhen you unzipped it.Can you check that and rename the bbpress folder to forums?
Posted 1 year ago # -
$bb->path = '/bbpress/';I am also assuming that you don't want to integrate the logins with WP then as you don't have your wordpress information for integration.
Trent
Posted 1 year ago # -
Gotcha! Operator error. I will try this in the morning. Need to sleep. Thanks!
Posted 1 year ago # -
Good luck!
Trent
Posted 1 year ago # -
It's all good. I should have caught the problem myself.
Thanks for your help.Posted 1 year ago #
Reply
You must log in to post.