Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Installing WordPress
    In reply to: SQL/DB Error

    Thanks for your help.
    I’ve got PHP4 … I’m pretty sure it’s above 4.0.6 and MySQL is 4.0.15.

    Forum: Installing WordPress
    In reply to: SQL/DB Error

    I tried that, and I got this:
    Parse error: parse error in /home/sjwbauer/public_html/blog/wp-admin/wp-install.php on line 692

    Forum: Installing WordPress
    In reply to: SQL/DB Error

    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

    1. I downloaded the files from WP to my computer.
    2. I read through the readme
    3. Edited wp-config, and I think I did it correctly. Could be wrong on that. See further down for the code
    4. Created a database on my server, called “blog” (with the server’s prefix, “sjwbauer_blog”)
    5. Added my username and password to the database
    6. Uploaded WP folders and files onto server, into a folder called “blog”
    7. CHmodded weblogs.com file
    8. Tried many different iteration
    9. 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.

    Upon rereading what you wrote, I realized I totally didn’t answer your question. Note, again, the bit about being a moron.

    Thread Starter CPark

    (@cpark)

    Thanks, otaku. I think I’ve done it correctly. I’ll try some other iterations of the username / password / prefix.
    If this helps, I keep getting this warning:
    Parse error: parse error in /home/sjwbauer/public_html/wordpress/wp-admin/wp-install.php on line 692
    If that clues anyone into what’s up …
    Thanks

    I’m really not sure about this … I’m new to this as well. I think, though, that in the WP download, there’s a folder called ‘b2-include’ … unless you’ve changed that (odds are you haven’t), I think you would leave the code as ‘b2’
    But again, I’m a moron, and I don’t know what I’m talking about. Hopefully someone who knows what’s up can clue us both in.

Viewing 6 replies - 1 through 6 (of 6 total)