bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

PHP Fatal error in bb-settings.php on line 7

(7 posts)
  • Started 1 year ago by lokem001
  • Latest reply from lokem001
  • This topic is resolved

Tags:

  1. lokem001
    Member

    Hi!
    I did the installation as guided... created a config file...
    So after the creation of a config file, and I reload the page, nothing shows but blank... a big white blank page.

    I get this messege in my apache error log:
    [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function __() in C:\\wow1.11\\www\\bbpress\\bb-settings.php on line 7

    Thx for all the help I can get! :)

    Posted 1 year ago #
  2. If you're installing it locally, it's worth noting that a lot of people have had problems with it but had no problems on a live server. Or is it a live Windows server?

    Posted 1 year ago #
  3. It seems that you install isn't liking the syntax of your install. Maybe check out this thread on localhost installs for ideas?

    Trent

    Posted 1 year ago #
  4. lokem001
    Member

    Thanks Trent, but that link gave me nothing :(

    Fel64, I don't really get what you mean with "live Windows server"... anyhow it's a WindowsXP server, Apache 2.2, PHP5, latest MySQL - all installed on a personal LAN server.
    And the Apache/PHP installation works fine with some other simple PHP applications.

    I also tried to copy an older installation of bbpress that worked fine on a previous WinXP/Apache server, but due to a disk failure I had to format the drive and re-install everything.
    However, that older bbpress turned out with the exact problem (blank page) and the same line Apache's error.log...

    My guess is something's wrong with my Apache/PHP installation.

    Thx,
    lokem

    Posted 1 year ago #
  5. Looks like a problem with gettext. Search around for hints on enabling PHP's gettext functions. I think it's just a matter of moving an extension DLL on windows or something, it's long enough since I administered a windows machine that I have forgotten - and I'm not going back - so that's all te help I can offer. I don't know why the included php_gettext wouldn't have kicked in though.

    Posted 1 year ago #
  6. lokem001
    Member

    I have an /ext/ folder, with all the extensions including php_gettext.dll.
    In php.ini the extension_dir is set to "C:/Program/PHP/ext", which is correct.
    By using phpinfo(); I can see that gettext is enabled.

    Further, I have tried re-installing PHP.

    Still, I get the same results as above. Any help?

    Posted 1 year ago #
  7. lokem001
    Member

    After hours of troubleshooting I finally got to the problem, by luck!

    While going through the extensions in php.ini, I noticed the php_mysql.dll was disabled. So I enabled it, and bbpress started to work out great!

    So it didn't really have anything to do with gettext, but without that tip I guess I wouldn't have checked the extensions at all!

    Thanks for the help, all of you!

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.