So I've spent many hours playing with my script and my database. I feel as though I'm doing everything right, but it isn't working out.
What I've Done So Far
- I downloaded the files from WP to my computer.
- I read through the readme
- Edited wp-config, and I think I did it correctly. Could be wrong on that. See further down for the code
- Created a database on my server, called "blog" (with the server's prefix, "sjwbauer_blog")
- Added my username and password to the database
- Uploaded WP folders and files onto server, into a folder called "blog"
- CHmodded weblogs.com file
- Tried many different iteration
- Searched for rhyme and/or reason to it all.
What I Haven't Done So Far
To my knowledge, I haven't changed any of the .php or .html files, apart from wp-config.php.
My Setup
I'm using WP 7.2. I can post my config file if that will help.
My Config File
<?php
/** WordPress's config file **/
// ** MySQL settings **
define('DB_NAME', 'sjwbauer_blog'); // The name of the database - had been wordpress
define('DB_USER', 'sjwbauer_charlie'); // Your MySQL username - had been username
define('DB_PASSWORD', '**********'); // ...and password - had been password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
// Database tables' names
//
// Change them if you want to have multiple blogs in a single database.
// If you already have custom names leave table_prefix empty and just
// edit the names.
$table_prefix = ''; // eg 'wp_' or 'b2' or 'mylogin_' - maybe this should be sjwbauer_
$tableposts = $table_prefix . 'posts';
$tableusers = $table_prefix . 'users';
$tablesettings = $table_prefix . 'settings'; // only used during upgrade
$tablecategories = $table_prefix . 'categories';
$tablecomments = $table_prefix . 'comments';
$tablelinks = $table_prefix . 'links';
$tablelinkcategories = $table_prefix . 'linkcategories';
$tableoptions = $table_prefix . 'options';
$tableoptiontypes = $table_prefix . 'optiontypes';
$tableoptionvalues = $table_prefix . 'optionvalues';
$tableoptiongroups = $table_prefix . 'optiongroups';
$tableoptiongroup_options = $table_prefix . 'optiongroup_options';
// This is the name of the include directory. No "/" allowed.
$b2inc = 'b2-include';
/* Stop editing */
$HTTP_HOST = getenv('HTTP_HOST'); /* domain name */
$REMOTE_ADDR = getenv('REMOTE_ADDR'); /* visitor's IP */
$HTTP_USER_AGENT = getenv('HTTP_USER_AGENT'); /* visitor's browser */
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
$abspath = dirname(__FILE__).'/';
// pull in the day and month translations and the smilies
require_once($abspath.'wp-config-extra.php');
require_once($abspath.$b2inc.'/wp-db.php');
require_once($abspath.$b2inc.'/b2functions.php');
require_once($abspath.'wp-settings.php');
?>
The Warnings I'm Receiving
When I try to load "....net/blog/"
1. SQL/DB Error --
2. [Table 'sjwbauer_blog.options' doesn't exist]
Parse error: parse error, expecting ','' or ';'' in /home/sjwbauer/public_html/blog/b2-include/b2template.functions.php on line 1363
Fatal error: Call to undefined function: add_filter() in /home/sjwbauer/public_html/blog/b2-include/b2vars.php on line 277
When I try to load "....net/blog/wp-admin"
(It automatically loads wp-admin/b2edit.php and gives me everything above, plus ...)
Parse error: parse error, expecting ','' or ';'' in /home/sjwbauer/public_html/blog/b2-include/b2template.functions.php on line 1363
Warning: Cannot modify header information - headers already sent by (output started at /home/sjwbauer/public_html/blog/b2-include/wp-db.php:93) in /home/sjwbauer/public_html/blog/wp-admin/b2verifauth.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/sjwbauer/public_html/blog/b2-include/wp-db.php:93) in /home/sjwbauer/public_html/blog/wp-admin/b2verifauth.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /home/sjwbauer/public_html/blog/b2-include/wp-db.php:93) in /home/sjwbauer/public_html/blog/wp-admin/b2verifauth.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at /home/sjwbauer/public_html/blog/b2-include/wp-db.php:93) in /home/sjwbauer/public_html/blog/wp-admin/b2verifauth.php on line 40
Warning: Cannot modify header information - headers already sent by (output started at /home/sjwbauer/public_html/blog/b2-include/wp-db.php:93) in /home/sjwbauer/public_html/blog/wp-admin/b2verifauth.php on line 44
Thanks so much for your help. My guess is that I've whacked something out in the config file, but I'm new at this, and don't know what's up.