Error message after installing bbPM

native

ForumsbbPress PluginsAutorankError message after installing bbPM

Viewing 5 posts - 1 through 5 (of 5 total)
Author Posts
Author Posts
2011-05-05 at 1:16 am #236
Beginner
 jared
Score: 4

I installed the bbPM plugin at knowthyself.me/forum, when I activated it and went to admin I got three different error messages. I changed the permissions to 755/directories and 644 files and then it appears to work perfectly but when I log into admin and go to “plugins” I get this error message:

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/translations/bbpm-en_US.mo) is not within the allowed path(s): (/f5/knowthyself/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/:/nfsn/content/content/nfsn/:/usr/local/php/lib/:/usr/local/php/5.2.17/lib/:/usr/local/php/5.3.5-nfsn1/lib/) in /f5/knowthyself/public/forum/bb-includes/functions.bb-l10n.php on line 384

Is this something I don’t need to worry about or is there something I should be doing to eliminate this message?

Thanks for your consideration!

Jared

2011-05-14 at 12:31 pm #242
Junior
 Ben L.
Score: 15

If your forum is English, change your BB_LANG to an empty string i.e. define( 'BB_LANG', '' );

2011-05-14 at 4:22 pm #244
Beginner
 jared
Score: 4

Thanks for the reply Ben!
Not knowing where BB_LANG was, I searched the internet and decided it was in bb-settings.php so I searched for the only incidence of the string [define( 'BB_LANG',]
I found [define( 'BB_LANG', BBLANG );]
I replaced this with ['BB_LANG', '' );]
When I uploaded the modified file, it broke the site w/a parse error reported. I then replaced the modified file with the backup and the site is back up.
Thanks
Jared

2011-05-15 at 10:04 am #245
Junior
 Ben L.
Score: 15

Look in your bb-config.php file. Near the bottom, there should be a mention of either BBLANG or BB_LANG.

2011-05-15 at 12:32 pm #246
Beginner
 jared
Score: 4

Thank you Ben,

I looked in bb-config.php and at the very bottom found this:

/**
* bbPress Localized Language, defaults to English.
*
* Change this to localize bbPress. A corresponding MO file for the chosen
* language must be installed to a directory called “my-languages” in the root
* directory of bbPress. For example, install de.mo to “my-languages” and set
* BB_LANG to ‘de’ to enable German language support.
*/
define( ‘BB_LANG’, ” );
?>

It appears the definition is an empty string as you suggested.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply to: “Error message after installing bbPM”
Your information:






<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img src="" alt="" title="">