Forum Replies Created
-
In reply to: Fatal error: Call to undefined function wp()
I think I’m going to have delete my WordPress instance now and reinstall.
Thanks Chris for your help, but bbPress has really messed things up. I used the installation process to set the config files, so it’s not entirely clear what I need to do. I have cleaned up the wp-config.php file back to how I think it should have been, but still no go.
I think changes may have been made to the db tables for which I’m not sufficiently skilled to reverse.
So that’s that. Thanks again for you help though.
In reply to: Fatal error: Call to undefined function wp()Chris, you’ve asked me to “undo the integration”… can’t find instructions on how to do this so still trying to figure it out. Back as soon as. Cheers.
In reply to: Fatal error: Call to undefined function wp()Thanks again Chris for coming back on this thread. I am surprised to read your statement about integration though, as it was this feature of bbpress that made me go for it over other forums! Oh well, may be it’ll come out good in the end.
Here’s the code for wp-blog-header.php. Line 14 simply says “wp();”.
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
?>
In reply to: Fatal error: Call to undefined function wp()Thanks Chris. My version of bbpress is the latest stable one at the time of writing: 0.9.0.4.
Just changed the secret key in both bb-config.php and wp-config.php to a 37 character long string of letters only, and we have success at http://www.atcv.net/bbpress . Awesome. Thanks v much.
But I get the following at my wordpress root http://www.atcv.net:
Fatal error: Call to undefined function wp() in /home/philipsh/public_html/wp-blog-header.php on line 14
so perhaps my integration with WordPress remains flawed?
In reply to: Fatal error: Call to undefined function wp()Should have added that line 22 is…
$bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!
In reply to: Fatal error: Call to undefined function wp()Opened a copy of bb-config.php in dreamweaver for its syntax highlighting capability as you suggested Chris, thanks. All the comments stuff preceded by // is in orange font until this line, number 18…
define('BB_SECRET_KEY', 'i have changed this here so my secret key isn't made public'); // Change this to a unique phrase.
The comment in this line of code and all subsequent lines are in red font. But the format of the definition looks good to me. How about you? My actual secret key, as generated by the WP API, has semi-colons FYI.