I'm getting this error...
Parse error: syntax error, unexpected T_STRING in [PATH]/bbpress/config.php on line 57
my config file says to stop editing at this line. Why am I getting this error and how can I fix it?
I'm getting this error...
Parse error: syntax error, unexpected T_STRING in [PATH]/bbpress/config.php on line 57
my config file says to stop editing at this line. Why am I getting this error and how can I fix it?
A little more detail...
I've installed bbPress in a folder inside WordPress (I want to integrate them). I've followed the instructions for integration. I think everything's right - but, obviously not if it's not working.
I love WordPress and was stoked to hear about bbPress. So any help getting this started would be greatly appreciated.
I just changed wp_home & wp_siteurl from http:// to www, ran install again - and got same error.
I'm also using require_once ('..wp_config.php'). When I comment it, I get this error:
Fatal error: Call to undefined function: __() in [PATH]/bbpress/bb-includes/capabilities.php on line 27
I've got to be missing something simple. Just don't know what.
I think I figured this out. Used this expression and it worked....
require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );
I had the same parse error on line 22, it was because the first non-comment line before it was the secret key which had some weird characters that weren't properly delimited.
You must log in to post.