sajp (@sajp)

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have placed the following line at the end of the bb-config.php file in my bbPress root folder:

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

    I think that the path must be correct because the header and footer load correctly. I’ve replaced the contents of my bbPress header.php file in my modified theme so that it just calls the WordPress function ‘get_header()’, and then WordPress seems to take care of the rest.

    If this is a really stupid way of me calling my header and footer, I guess I could just remove the reference to wp-load.php and try to set up my header differently in bbPress. I thought this way would be more efficient though!

    OK yes, it’s something to do with that.

    If I take out the deep integration line from my bb-config.php, switch back to Kakumei because my theme is now broken, the registration problem goes away.

    Have I misunderstood how calling wp-load.php affects bbPress? I just wanted to be able to call my header and footer in from my WordPress template. I’m thinking maybe wp-load.php is loading a function that conflicts with bbPress’s registration functions maybe?

    Thanks for you help, by the way!

    It’s definitely doing it in both of the Kakumei themes, with Askimet (and everything else disabled). It was letting me register account previously, so it must be after I started making modifications.

    I’m currently pulling in the header and footer from my WordPress theme using ‘deep integration’ (which I don’t really understand if I’m honest), but I haven’t integrated my bbPress with WordPress so the users are shared or anything like that.

    To do that, I did add ‘require_once(dirname(__FILE__) . ‘/../../wp-load.php’);’ at the end of my bb-config.php file. Could that be causing a conflict of some kind? I think that’s the only core file I touched.

    I realise that this is starting to sound like I’ve broken it at some point along the line :-(

    I’m not sure.

    There is a file called error_log in my site root folder, and one in my bbPress folder. They each contain some PHP error messages, but none of them are dated for today, they are all from a couple of weeks ago.

    I can’t find any other files called error_log in the site.

    My problem was caused by the file bb-settings.php (in the root folder of the forum) only being partially FTP-ed to the server. About 20 lines were missing from the end of it. I mentioned that it was that file in my previous post.

    It seems unlikely to me that you’d have exactly the same problem as it seems to have been an FTP issue to do with my computer or web host. You could check your bb-settings.php file though just to be sure. It should be 1219 lines long and the last line should read

    bb_send_headers();

    Waaaaaaaaaaaaaaaaaait a minute, I think I’ve fixed it.

    Thanks for your efforts guys! Having written “the installation all completed correctly”, it reminded me that one of the files got skipped for no apparently reason when I FTP-ed them onto the server. I uploaded that one separately straight away, and then everything seemed fine when I installed, but in actual fact it seems that the last 30 or so lines of bb-settings.php were missing.

    You mentioning the PHP and the settings made me think to go in and look.

    I’ve re-uploaded the file, and now the reply box is appearing under the posts, and the Reply text is no longer a link.

    Sorry, I haven’t a clue why that happened, but you guys helped me track it down and I’m grateful.

    Cheers,

    Simon

    I’ve just got “Items per page – 30”, and then Save Changes.

    I hope I haven’t done something really weird to it. I don’t think I did!

    Thanks for the quick reply!

    The only plugin currently activated is Askimet. I tried deactivating it just now, but it didn’t make any difference.

    I haven’t touched the PHP at all – I might do when I come to customise it, but I’m hoping that will only be the template files and none of the workings. I’ve literally only got as far as installing it and spending about half an hour clicking around in it.

    I’ve tried it in Chrome and in IE8 but it was the same in both.

    It does say ‘Reply. You must log in to post.’ when I’m not logged in, but the second sentence goes away when I’m logged in. The Reply is a hyperlink, but only to the #postform anchor, and there doesn’t seem to be any post form on the page.

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