Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installation Error Message


  • covertandcloaked
    Member

    @covertandcloaked

    When I attempt to the install.php phase, the config.php file text loads onto the browser finalized with this error message:

    Fatal error: Class bb_walker_forumadminlistitems: Cannot inherit from undefined class bb_walker in /home/cust2/user1080446/html/bbpress/bb-admin/admin-functions.php on line 582

    I’ve monkeyed around with it for a while now and I’m not getting anywhere.

    Thanks

Viewing 17 replies - 26 through 42 (of 42 total)

  • chrishajer
    Participant

    @chrishajer

    Interesting…

    I don’t know why it would redirect to the home page vs. giving you a failed login attempt. I registered, received my email, tried logging in, and it seemed like it just redirected to the front page of the forum again.

    Is the WordPress installation going to be here:

    http://www.johnwade.ca/puppyplaydate/ ?

    If so, with integration, the bbPress installation should be here then (I believe):

    http://www.johnwade.ca/puppyplaydate/Forums/

    but it’s actually here:

    http://www.johnwade.ca/Forums/

    I wonder if the cookie path is wrong and that prevents bbPress from setting the proper cookie and thus thinks you’re not logged in, or that you logged back out since there is no valid cookie?

    I checked the cookies that were set and I have a cookie path of /puppyplaydate/ for wordpressuser and wordpresspass. I would expect the cookie path to be /Forums/ with this setup.

    As a test, I just stopped accepting cookies for my site (integrated with WordPress as well), then tried logging in. If I tried to log in while I was viewing a forum, it just silently redirected me to the forum home page. This seems like confirmation that it’s a cookie issue at this point. I can make mine do what yours is doing.

    If I set the 2 cookies manually in Firefox, I am logged in! Check this out:

    Screenshot of me logged into your forum:

    http://www.chrishajer.com/bbpress/ppd-profile.png

    Screenshot of the cookies I manually set (note path /Forums/):

    http://www.chrishajer.com/bbpress/ppd-cookies.png

    Here is the response from your server where it tries to set the cookies with a path of /puppyplaydate/:

    http://www.chrishajer.com/bbpress/ppd-response.txt

    HTH

    I was just reading the cookie reference as to the forum being placed inside the wp folder. I don’t know how I missed that in the installation instructions. I know I was supposed to provide a path.

    All in all, a strong arguement for starting from scratch and inserting the bbpress folder into the wp folder. Will update shortly.

    jw

    Do you think I should dump the data base tables first?

    jw


    chrishajer
    Participant

    @chrishajer

    What do you mean by dump? It doesn’t look like there’s anything there to save, so I would drop the tables and start over by letting WordPress and bbPress create new tables in the database with the proper (different) table prefixes (from your configs.)

    Meant, drop and I’ve started over. WordPress went fine. bbpress went into a folder called forum and got this error:

    Parse error: parse error in /home/cust2/user1080446/html/puppyplaydate/Forums/config.php on line 16

    Fatal error: Class bb_walker_forumadminlistitems: Cannot inherit from undefined class bb_walker in /home/cust2/user1080446/html/puppyplaydate/Forums/bb-admin/admin-functions.php on line 582

    Here is the 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’, ‘********’); // 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 = ‘playforum_’; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri =

    ‘http://www.johnwade.ca/puppyplaydate/Forums/’;

    // What are you going to call me?

    $bb->name = ‘John Wades Puppy Play Date Site’;

    // This must be set before you run the

    install script.

    $bb->admin_email = ‘johnwade@johnwade.ca’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = false;

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

    // 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 = ‘xxxxxxxxx’; // 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 = ‘ppd_’; // WordPress table prefix. Example:

    ‘wp_’;

    $bb->wp_home = ‘http://www.johnwade.ca/puppyplaydate’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’

    $bb->wp_siteurl =

    ‘http://www.johnwade.ca/puppyplaydate’; // 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’ );

    ?>

    I see I left my Askimet key in there. Is that a security problem to have it posted. If so, how do I edit the post?

    jw


    chrishajer
    Participant

    @chrishajer

    You can edit your post for a fixed period of time, but I think that time has expired. I tagged the thread modlook so a moderator can edit it.


    chrishajer
    Participant

    @chrishajer

    The formatting of the config.php got jazzed up posting it here, so now there are lots of parse errors in it. Hard to say what it is without having the actual config.php in hand. It’s either on line 16 or right before line 16 and then it gets reported as line 16. This is line 14 in a stock config-sample.php:

    $bb_table_prefix = 'bb_';

    Maybe there’s a problem with that line in your config?


    chrishajer
    Participant

    @chrishajer

    Interesting (16:12 CST):

    Your bbPress URL (http://www.johnwade.ca/Forums/) is not a subdirectory of your WordPress URL (http://www.johnwade.ca/puppyplaydate).
    Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
    In the meantime, remove the http://www.johnwade.ca/puppyplaydate setting from your config.php file, or you may not be able to log in.

    Some success. I found where things were getting stopped up. In the config section looking for “what are you going to call me” (By now I had a few choice words.) I included an apostrophe. When I removed it, the installation went smoothly and I can get into the admin side of things.

    Can I now, after the fact integrate with wordpress by making the changes in the config file? Or is it plugin time. bbpress is inside the folder containing the wp files.

    jw


    chrishajer
    Participant

    @chrishajer

    For integration, hopefully you have something like:

    http://www.johnwade.ca/ (plain old website)

    http://www.johnwade.ca/puppyplaydate/

    hhttp://www.johnwade.ca/puppyplaydate/Forums/

    From what is accessible online though, that doesn’t look like the case.

    If you have that structure, integration will be easiest.

    No that’s exactly the structure I have in place.


    chrishajer
    Participant

    @chrishajer

    That’s the best setup for integration, with the bbPress directory a subdirectory of the WordPress directory. The thing that threw me was that this is still a valid (if somewhat broken) URL:

    http://www.johnwade.ca/Forums/

    I think the integration needs to happen up front, in the config.php, since an integrated install modifies the wp_users table and does not create a bb_users table. I’m not sure if you can go back and edit the config to make it integrated later. I don’t think it would work since the table creation and modification are done upon installation.

    Right you are. I’ve deleted it. I see my askimet key is still available in this thread. Who should I contact?

    jw


    chrishajer
    Participant

    @chrishajer

    A moderator will come along (Trent) and delete that. He hasn’t logged in in a while. There’s not much else you can do at this point.


    Sam Bauers
    Participant

    @sambauers

    Akismet key gone.

    I want to say thanks for all the help.

    jw

Viewing 17 replies - 26 through 42 (of 42 total)

You must be logged in to reply to this topic.