Please help to check if my coding is correct need to instal Q2A with my Wordpress site getting error message Parse error: syntax error, unexpected '';' (T_CONSTANT_ENCAPSED_STRING) in /home/therabbitshop/public_html/forum/qa-config.php on line 139
1. www.therabbitshop.co.zw (WP blog not yet published), created subdomain: forum.therabbitshop.co.zw
3. WP is in public_html folder, forum folder is in public_html and I uploaded all the files in the unzipped Q2A folder into the forum folder.
5. downloaded latest Q2A and changed qa-config-example.php in the unzipped question2answer folder, and renamed it to qa-config.php.
6. The only section I edited in text editor is this one:
Out-of-the-box WordPress 3.x integration - to integrate with your WordPress site and user
database, define QA_WORDPRESS_INTEGRATE_PATH as the full path to the WordPress directory
containing wp-load.php. You do not need to set the QA_MYSQL_* constants above since these
will be taken from WordPress automatically. See online documentation for more details.
define('QA_WORDPRESS_INTEGRATE_PATH', ‘/home/therabbitshop');
/* To allow redirection from WordPress login to Question2Answer */
add_filter('allowed_redirect_hosts', 'qa_wordpress_redirect_hosts');
function qa_wordpress_redirect_hosts($content) {
$content[] = ’forum.therabbitshop.co.zw';
return $content;
}