My installation page shows the following error messages at the top:
“PHP Error Message
Warning: Invalid argument supplied for foreach() in /home/a9286564/public_html/x/forum/bb-settings.php on line 169
PHP Error Message
Warning: Cannot modify header information – headers already sent by (output started at /home/a9286564/public_html/x/forum/bb-settings.php:169) in /home/a9286564/public_html/x/forum/bb-admin/install.php on line 10
PHP Error Message
Warning: Cannot modify header information – headers already sent by (output started at /home/a9286564/public_html/x/forum/bb-settings.php:169) in /home/a9286564/public_html/x/forum/bb-includes/functions.php on line 1910″
The only file I edited was the config.php, I tried to set everything up according to the instructions, here’s what I put in the file (minus my database info and email):
“<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘*my db name*’); // The name of the database
define(‘BBDB_USER’, ‘*my user name*’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘*my password*’); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 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://xynson.890m.com/x/forum’;
// What are you going to call me?
$bb->name = ‘New bbPress Site’;
// This must be set before you run the install script.
$bb->admin_email = ‘*my email*’;
// 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 = -5;
// 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://xynson.890m.com/x’; // WordPress –
Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://xynson.890m.com/x’; // 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’ );
?>”