pkr3 (@pkr3)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Everyone,

    For bbPress integrity and stellar bbPress forum support reasons, I’m going to mark this as “resolved,” then post again when the exact problem is truly resolved by the “paid theme” company.

    Thank you.

    You got it Chris!

    HUGE help and about what I feared. Not slamming Pagelines, but you can see the issues on the forum you linked to above. They suggested deep integration issues, etc. only to realize they hadn’t given me the proper files to begin with. A lot of my time…poof!

    Alright. I’m off. You have done more than enough and I will post such at the Pagelines forum.

    The problem isn’t solved but you single-handedly zeroed in on it.

    Cheers!

    Will do, sir! From the WP globals.php file:

    // LOCALIZE

    function pagelines_localize(){

    // LOCALIZATION – Needs to come after config_theme and before localized config files

    define(‘TDOMAIN’, THEMENAME);

    define(‘LANGUAGE_FOLDER’, TEMPLATEPATH.’/language’);

    load_theme_textdomain(TDOMAIN, LANGUAGE_FOLDER );

    $locale = get_locale();

    $locale_file = TEMPLATEPATH . “/language/$locale.php”;

    if ( is_readable( $locale_file ) )

    require_once( $locale_file );

    }

    ?>

    Latest Test:

    For all examples below, “require_once” represents the command line: “require_once(dirname(__FILE__) . ‘/../wp-load.php’);”

    At no time are errors displaying, nor are the error logs showing “internal 500 error.”

    Test 1: Embedding “require_once” command line into “bb-config.php” causes blank page at forum (http://website.com/forum/) and no themes will load; including bbPress themes.

    Test 2: With “require_once” command line still in “bb-config.php,” entering http://website.com/forum/index.php/ in browser FORCES any bbPress theme (no 3rd party themes) to load, BUT clicking on bbPress “admin” from within the bbPress forum (http://website.com/forum/index.php/) displays another blank page at (http://website.com/forum/bb-admin/).

    Test 3: Removing “require_once” command line from “bb-config.php” file allows bbPress forum homepage to load (http://website.com/forum/) AND allows the bbPress admin page to load (http://website.com/forum/bb-admin/).

    Chris,

    This just in…

    Wasn’t able to get error log because page “wasn’t loading.” Apparently, the BLANK page in this scenario is an indication that no errors are occurring because nothing is attempting to load.

    So, I forced the page (bbPress index.php) to load by entering “website/forum/index.php in the browser. Bingo, that forced a visible error. Here it is:

    Fatal error: Cannot redeclare pagelines_localize() (previously declared in /home/content/08/123456/html/website/wp-content/themes/iblogpro4_dev/core/globals.php:53) in /home/content/08/123456/html/website/wp-content/themes/iblogpro4_dev/core/globals.php on line 61

    Thoughts?

    Thanks.

    Chris,

    PERFECT! Thank you.

    That said, I’m rounding up error log(s) now.

    To think the code WAS right, but the BLANK page was sending me down a rabbit hole even after mentioning it to web host company several times. Arrrrgh!

    Chris,

    To view, go here: http://www.straightphotography.com/

    Image # 1: bb-config.php location

    Image # 2: wp-config.php location

    Thanks.

    Chris,

    Thanks for staying on top of this.

    The answer is “No” to your first question. I can get a BLANK forum page at http://website.com/forum/ using 2 codes…

    The first way you already know:

    require_once(‘/home/content/08/123456/html/website/wp-load.php’);

    The second way was mentioned in my 3rd post (Item #1) above:

    require_once(dirname(__FILE__) . ‘/../wp-load.php’);

    # 1. The interesting thing is, from what I can tell, the second way looks EXACTLY like the way the code is “supposed” to look as suggested by most deep integration instructions.

    # 2. I will look into possible 500 Internal Server error log and I’ll gather the info (screen shots) you requested and post.

    # 3. In the meantime,

    “wp-config.php” location (“html” = server directory): html/website/

    “bb-config.php” location (“html” = server directory): html/website/forum/

    And “website forum” URL address location: http://website.com/forum/

    ____________

    Again, appreciate your assistance whether we get this thing going, or not. We will!

    ps – No, the website is not confidential, just not ready for viewing and don’t want to broadcast it; has a lot of “placeholder” stuff that I haven’t read.

    Chris,

    OK. I will ask the host provider to look into the SSH and confirm, again, the home path.

    Here are the latest attempts in bb-config.php. See anything unusual?

    # 1. No errors, but forum page is blank (after removing the code, bbPress forum becomes visible again, of course).

    define( ‘BB_LANG’, ” );

    require_once(‘/home/content/08/123456/html/website/wp-load.php’);

    ?>

    # 2. Here’s entered code with removed quotes. Causes error on forum page (see below).

    define( ‘BB_LANG’, ” );

    require_once(/home/content/08/123456/html/website/wp-load.php);

    ?>

    Parse error: syntax error, unexpected ‘/’ in /home/content/08/123456/html/website/bb-config.php on line 66

    Thank you. Hopefully we’re narrowing it down.

    Chris (and Ashfame),

    Thanks for your thorough and prompt attempt to assist me/us.

    Just so you know, there is no “0php’” line of code I entered.

    Here is line 65 code EXACTLY as entered in bb-config.php, on different attempts. Only difference between the two is “/..” Nothing has been altered…I copied these lines directly from the bb-config.php file adding/changing/hiding nothing. As-In, they are direct cut and pastes.

    # 1. This line (when entered) reveals BLANK forum page: require_once(dirname(__FILE__) . ‘/../wp-load.php’);

    # 2. This line (when entered) reveals ERROR forum page: require_once(dirname(__FILE__) . ‘/wp-load.php’);

    # 3. Here are the errors from attempt # 2 above:

    Warning: require_once(/home/content/08/123456/html/website/forum/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/123456/html/website/forum/bb-config.php on line 65

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/123456/html/website/forum/wp-load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/08/123456/html/website/forum/bb-config.php on line 65

    # 4. This is how the command line(s) appears exactly as entered inside the bb-config.php file. I copied it from the bb-config.php file without changing anything:

    */

    define( ‘BB_LANG’, ” );

    require_once(dirname(__FILE__) . ‘/../wp-load.php’);

    ?>

    # 5. Random Thoughts:

    a. Important: I don’t/didn’t want to combine bbPress and WordPress locations/databases so I have bbPress and WordPress on separate databases (same server). That said, I notice in the WordPress Integration “settings” (within bbPress) The “User Database table prefix” is set to “wp_”. The bbPress Help line/instructions below the field entry reads, “If your bbPress and WordPress sites share the same database, then this is the same value as $table_prefix in your WordPress wp-config.php file. It is usually wp_.”

    I was instructed to enter “wp_” but am beginning to wonder if that is incorrect since the bbPress and WordPress are on separate databases. If incorrect, there are no suggestions of what line/text to enter in that field (“bb_”?). Just sharing.

    b. Silly thought?: WordPress 3.0.1 came out 24 hours before my attempt to Deep Integrate, and was installed, wondering if something has changed in the WordPress 3.0.1 .php files that makes this a “new” issue; therefore requiring an updated deep integration code line. Not blaming WordPress…just sharing the experience.

    Thanks a ton!

    Ashfame,

    Thank you for the link. I/We followed it twice, and several other links/instructions prior to posting the issue. Also, the web hosting provider (a programmer) followed the instructions. The instructions seem to be accurate; we’re just trying to figure out the “hidden” issue. What is strange, is that integration IS working; i.e. “bbPress integration” plugin is installed and active in WordPress. And “WordPress Integration” plugin is installed and active in bbPress. No issues.

    It’s only when we attempt DEEP integration the problem arrises. And that the web hosting provider (programmer) is getting exact same errors, on different environment, servers, etc. is not encouraging. More details in my response to Chris (following this one). I REALLY appreciate your help.

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