Skip to:
Content
Pages
Categories
Search
Top
Bottom

php fail.

  • Damnit, I was so looking forward to using bbpress. Im a big fan of wordpress, and I love that its so simple to mod. but there seems to be some problems with this board, and I can figure it out.

    On the wery first page when installing, I get this messege;

    Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-settings.php on line 169

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-admin/install.php on line 10

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/functions.php on line 1910

    Im able to install just fine, but when I try to log in, I get this;

    Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-settings.php on line 169

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /customers/cobain.dk/cobain.dk/httpd.www/bbpress/config.php:1) in /customers/cobain.dk/cobain.dk/httpd.www/bbpress/bb-includes/pluggable.php on line 164

    Im lost when it comes to php, and its seems from this board, that there have been thiis problem for quite a wile, 6 month now. goodbuy bbpress, hello minibb??

    The forum is located on http://www.cobain.dk/bbpress

    PHP5

    The server has “PHP – Register globals” set to OFF

    bbPress and WordPress have different table prefixes

    bb_forums

    bb_posts

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    bb_usermeta

    bb_users

    wp_comments

    wp_links

    wp_options

    wp_postmeta

    wp_posts

    wp_terms

    wp_term_relationships

    wp_term_taxonomy

    wp_usermeta

    wp_users

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

  • chrishajer
    Participant

    @chrishajer

    Sounds like glob has been turned of by the system administrator. You can fix it.

    PHP Error Messages

    Or download trunk revision 1075 right here.

    “PHP – Register globals” = “glob”?

    I can turn that on if it helps. did that ones, Ill try again.

    I made a fresh installment using the trunk.. still cant log in :/


    chrishajer
    Participant

    @chrishajer

    I don’t believe register_globals and the glob() function are the same thing. If the glob function is disabled on your server, the administrator would have to re-enable it.

    How about creating a bb-plugins folder in your forums directory, then putting a blank file called _dummy.php (that’s underscorewhatever.php) in that directory? It would look like this:

    /forums/bb-plugins/_dummy.php

    That would ensure the plugin directory is there, and that there is an underscore plugin there for this function to find. At least this part won’t fail any more.

    BTW – it’s just a PHP warning, not an error.

    Warning: Invalid argument supplied for foreach() in /customers/cobain.dk/cobain.dk/httpd.www/forums/bb-settings.php on line 294

    You should be able to continue past it, despite the warning. Once you knock this one down, it’s on to the next one if you’re still unable to log in.

    I think the majority of this problem is that the array is returning false unless you have a plugin with an underscore. There is a TRAC ticket for this issue, but installing the following temporarily fixed things for me:

    https://bbpress.org/plugins/topic/65

    Trent

    I joined IRC #bbpress last night, and a kind soul figured it out.

    It was all because of the plugin. After installing the plugin, all went great.

    #chrishajer; on my server, the admin-tool lets me turn glob on and off. “off default”

    and, it IS an error when I cant login :)

    This plugin-problem should be in the FAQ.

    Thank you both.. :)

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar