Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Can’t post. Topic turns yellow. Can’t delete.


Nola1974
Participant

@nolageek

Does anyone have any ideas? I’m tearing my hair out here. I was able to create a new user and it appeared in wpmu. It was able to post just fine, the post apears and everything. If I log back in as admin, I cant delete his posts. On front-page.php the admin’s name appears, but when in dashboard it sill comes up as bb_get_user needs a numeric ID

When in the admin account, I promoted the new user to Key Master.. when i log out of the admin account I get the following error:

bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1]
SELECT * FROM bb_online WHERE user_id = LIMIT 1

The new account, which i made Key Master is also unable to delete any posts – but can post new ones.

The new account cannot see the posts the admin account made, that were showing up in yellow.

Anyone reading this? :)

/.htaccess

RewriteEngine On
RewriteBase /

# www is soooo deprecated
RewriteCond %{HTTP_HOST} ^www.blognola.org$ [NC]
RewriteRule ^(.*)$ http://blognola.org/$1 [R=301,L]

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]

/forums/config.php

<?php
require_once('/home/nolageek/public_html/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', '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!

$bb->domain = 'http://blognola.org'; // Example:
$bb->path = '/forums/';

//bb->mod_rewrite = true;

// What are you going to call me?
$bb->name = 'BLOG NOLA forums';

// This must be set before running the install script.
$bb->admin_email = 'nolageek@gmail.com';

// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;

// 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 = -6;

$bb->cookiepath = '/';
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';

// 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 = 'wp_'; // WordPress table prefix. Example: 'wp_';
$bb->wp_home = 'http://blognola.org';
$bb->wp_siteurl = 'http://blognola.org';

/* Stop editing */

if ( !defined('BBPATH') )
define('BBPATH', dirname(__FILE__) . '/' );
require_once( BBPATH . 'bb-settings.php' );

?>

Skip to toolbar