[bbDev] Cannot access the admin section

Jaxia Kiley jaxiakiley at yahoo.com
Tue Mar 28 16:36:13 GMT 2006


Okay,  I'm still trying to get my wp and bbpress to play nice.  Right now, my cookie works between my blog and forums, but I cannot access my admin panel for bbpress.  I am using my Wordpress database and user.  This is my config file:
 
<?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_';
$bb->domain = 'http://www.youknowyouwanna.net'; // There should be no trailing slash here.
$bb->path   = '/forums/';   // There should be both a leading and trailing slash here. '/' is fine.
$bb->name   = 'You Know You Wanna Forums';
$bb->admin_email = 'jaxiakiley at gmail.com';
$bb->mod_rewrite = false;
$bb->page_topics = 30;
// Number of minutes after posting a user can edit their post
$bb->edit_lock = 60;
$bb->gmt_offset = 0;
define('CUSTOM_USER_TABLE', 'wp_users');
$myhash = md5('http://www.youknowyouwanna.net');
$bb->usercookie = 'wordpressuser_' . $myhash;
$bb->passcookie = 'wordpresspass_' . $myhash;
$bb->cookiepath = '/';
/* Stop editing */
define('BBPATH', dirname(__FILE__) . '/' );
require_once( BBPATH . 'bb-settings.php' );
?>
 
 
I realize I need a keymaster.  So, I open up the wp_usermeta table, and I have an for my default admin user that looks like this:
 
a:1:{s:13:"administrator";b:1;}
 
When I try to make this user into a keymaster, I cannot access my wordpress admin section.  So, I created another user with admin on my WP blog and the entry looks like this:
 
a:2:{s:9:"keymaster";b:1;s:13:"administrator";b:1;}
 
I can access my WP admin section, but not my bbpress admin section.  Again, if I try to make this user just a keymaster using 
a:1:{s:9:"keymaster";b:1;} then I cannot access either admin section.
 
Thoughts or ideas?
~Jaxia


More information about the bbDev mailing list