Info
- 5 posts
- 2 voices
- Started 3 years ago by Christiaan
- Latest reply from Christiaan
- This topic is not resolved
WP Integration: can't access Admin section
-
- Posted 3 years ago #
I thought I'd jumped through all the hoops; I've managed to get everything integrated on the front end but when I go to access the forum admin section now I get a blank page.
Since being able to access the forum admin section I've changed
<?php bb_get_header(); ?>to<?php get_header(); ?>in the bbPress theme files, movedrequire_once('../wp-blog-header.php');up to the top of my config file.If I remove
require_once('../wp-blog-header.php');from my config file I can access the admin section.Any ideas?
-
- Posted 3 years ago #
Do you have access to any server logs? A blank page usually indicates a 500 Syntax Error, so it would be helpful to see what that is.
-
- Posted 3 years ago #
Hi Chris, I've got access to access logs, if that would help.
It appears to be .htaccess related. If I remove the .htaccess file from the WP directory my forum is accessible.
I've forgotten the timeline of what I was working on now (can't multitask very well!) but it's possibly related to this plugin that I've installed to get rid of a 404 problem: http://bbpress.org/forums/topic/strange-redirections-and-404s-after-wp-integration
Although when I deactivate this plugin it doesn't make any difference. Here's the htaccess file:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^forum/topic /forum/topic.php [QSA,L] RewriteRule ^forum/forum /forum/forum.php [QSA,L] RewriteRule ^forum/tags /forum/tags.php [QSA,L] RewriteRule ^forum /forum/index.php [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress -
- Posted 3 years ago #
Oh, I've just noticed this all written by the plugin!! Ha. I'll remove it and see what happens.
Edit: strange, I've deactivated the plugin and remove the code from the .htacess file, and the forum is accessible. But I was also expecting to start getting the 404 errors again, and I'm not.
I expect I have not got to the end of this problem
Edit 2: Indeed, my WP permalinks aren't working now. This integration thing really is an up hill battle.
-
- Posted 3 years ago #
Actually it's not just can't login into admin area, it's can't appear to login to forum at all.
-
You must log in to post.