bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

can't access admin dashboard

(11 posts)
  • Started 5 months ago by vhilaire
  • Latest reply from robomilk
  • This topic is not resolved
  1. I installed bbPress and was able to get into the Admin dashboard right after installation. However once I changed the config file to talk to WordPress I can't get to the bbPress admin dashboard anymore. It just redirects me to my bbPress homepage.

    Any idea what's causing the problem?

    Posted 5 months ago #
  2. What changes did you make to the config file? And what is the URL?

    Is it possible permalinks are redirecting you to the wrong place now, somehow?

    Posted 5 months ago #
  3. The URL to the forum is: http://www.johnmayerfans.com/boards

    The forum itself seems to be working the way it should. When I first created the config file I left the whole "integrating with wordpress" section blank. I didn't fill it out. Then I filled it in once I found that the pretty slug permalinks weren't working right. Once I did that the forums worked fine but then I couldn't get into the main Admin dashboard.

    Here's my config file as it is now:

    <?php
    require_once('/home/26615/domains/johnmayerfans.com/html/blog/wp-blog-header.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', '************'); // 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 = 'bb_'; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install
    $bb->uri = 'http://www.johnmayerfans.com/boards/';

    // What are you going to call me?
    $bb->name = 'JohnMayerFans.com Message Boards';

    // This must be set before you run the install script.
    $bb->admin_email = 'myemail@gmail.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 = -8;

    // 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 it as it is.

    $bb->wp_table_prefix = 'wp_'; // WordPress table prefix. Example: 'wp_';
    $bb->wp_home = 'http://www.johnmayerfans.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
    $bb->wp_siteurl = 'http://www.johnmayerfans.com/blog'; // 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' );

    ?>

    Posted 5 months ago #
  4. Nevermind, I took out the WordPress integration stuff and the admin dashboard came back.

    Posted 5 months ago #
  5. Hi, I'm currently having a similar problem. Having just upgraded to the new version of bbPress and taking advantage of it's automated Wordpress integration. However upon completing this I found I couldn't access the admin panel.

    I removed the bb-config.php file and ran through the installation again, leaving out the sections relating to Wordpress integration. However I still cannot access the administrative panel.

    I've tried some of the recommendations around the forum such as this, but to no avail.

    Ideas? Feedback appreciated.

    Posted 2 months ago #
  6. Something is definitely weird with your site. Check this URL:
    http://robomilk.sirkain.net/wp-signup.php?new=bb-admin

    I tried to access (which should just give a 404):
    http://robomilk.sirkain.net/forum/bb-admin/index.html
    and it redirected me there.

    I think it's safe to say it's something with the host or with some existing rewrite rules in an .htaccess file or something.

    Posted 2 months ago #
  7. Ahh, no, that's because I'm running Wordpress MU, which seems to have a thing where if the page doesn't exist then it gives the option to register it as a username.

    Posted 2 months ago #
  8. I don't know anything about MU and how integration with bbPress and MU works.

    Posted 2 months ago #
  9. I installed bbPress on a directory called /discussions on the root of my hosting account, where I have also installed Wordpress 2.5, everything on the installation went ok, but after all been done, the admin login to the dashboard gives me the following message:

    You do not have sufficient permissions to access this page.

    Any solution?

    Posted 2 months ago #
  10. I don't know anything about MU and how integration with bbPress and MU works.

    That's the weird thing, after I effectively stopped it being integrated then it still failed to let me into the admin panel. Even more curious is that although my forum user database still exists, it doesn't seem that bbPress is now recognising it - even though it's set to use the same database. All users are displaying as Anonymous or Inactive.

    I think I solved why I can't access the admin panel though... it doesn't appear that I'm an admin anymore...

    Posted 2 months ago #
  11. Spent an hour toying around with the database and it seems I fixed it by using a backup then updating the database structure via the message given when first entering the admin panel after upgrade.

    Could just be face value though, I'll keep things posted.

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.