Skip to:
Content
Pages
Categories
Search
Top
Bottom

Upgraded to WPMU 2.7 now I have an error

  • @realfam

    Member

    When you try to sign up onthe signup page here is the error…. thoughts?

    Warning: Invalid argument supplied for foreach() in /home/exbriefc/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-signup.php on line 104

Viewing 10 replies - 26 through 35 (of 35 total)
  • @burtadsit

    Participant

    Turn off all the ‘independent scripts that have nothing to do with signup’ and test. Then

    one by one put back the original files and test again. Start with the obvious one wp-signup.php. :)

    Smoke break.

    @realfam

    Member

    lol. ok i will do that. these independent scripts are in their own files, so they are not CHANGES to any original files.

    @realfam

    Member

    ok, i tried all that……nothing. This is crazy. Want to take a look at all the files in the theme? Maybe you will see something that I am missing…trust me this would not be impossible. I am really not even close to being an expert on this. I can zip them and send them over let me know.

    @burtadsit

    Participant

    Nope. Your problem you debug it. That’s the way you get better at this stuff. Growth in any endeavor is painful. Find the bug and kill it dead.

    @realfam

    Member

    ok, I have been trying for over a week but I guess I will keep plugging away. thanks. This blows! lol

    @burtadsit

    Participant

    Welcome to web development.

    @realfam

    Member

    lol. Unfortunately I really have no clue what I am doing. If I actually knew a little I might be better at figuring this all out. I will most likely end up creating a larger problem troubleshooting this!!!! LOL.

    I might have to go back to the old BP and just be inferior.

    thanks.

    @realfam

    Member

    ok, I have noticed something that I can not explain. When I use the defautl theme the signup works fine. However when I use the custom theme and it calls up wp-signup.php the “Name” field is missing on the signup page. Any idea why that is happening? It hink its related somehow.

    @realfam

    Member

    the error is fixed when I remove this script I added to the header.php. Can anyone help me modify this to make it function correctly? Its an essential part of the site and it worked fine with MU 2.6 and BP Beta 1. the part of the code that is BOLD is the problem. the rest of the code is to show you where I have it in the file.

    <body>

    <div id=”page”>

    <div id=”header” onclick=”location.href=’http://ex-brief.com/&#8217;;” style=”cursor: pointer;”>

    <div id=”headerimg”>

    <h1>

    <?php

    $stats = get_sitestats();

    echo “”.$stats[ ‘users’ ].” Members”;

    ?>

    <?php

    $username=”*********”;

    $password=”*********”;

    $database=”*********”;

    mysql_connect(localhost,$username,$password);

    @mysql_select_db($database) or die( “Unable to select database”);

    $result = mysql_query(“SELECT * FROM contacts”);

    $num_rows = mysql_num_rows($result);

    echo $num_rows;

    mysql_close();

    ?>

    ExBriefs

    </h1>

    <div class=”description”><?php bloginfo(‘description’); ?></div>

    </div>

    @lsm_267

    Participant

    The topic https://buddypress.org/forums/topic.php?id=843 has been closed and i feel sorry for it, because with my later installation wp MU 2.7 + BP béta 2, i’m still having this error msg :

    Warning: Invalid argument supplied for foreach() in /home/np5397/domains/blogi.ee/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-signup.php on line 104

    when creating a new blog

    that cause several issues :

    – can’t edit the profiles, create a group

    – blogs are created but aren’t showing in the recent activity, neither in the blogs tabs or in his owner’s profile

    – can’t send a message, invite somebody to be friend, etc

    it seems that i have no x-profile tables in my db like burtadsit asks

    (tableprefix_)bp_xprofile_groups

    (tableprefix_)bp_xprofile_fields

    (tableprefix_)bp_xprofile_data

    here is the list of the tables in my db ; can’t see it

    wp_1_comments,

    wp_1_links,

    wp_1_options,

    wp_1_postmeta,

    wp_1_posts,

    wp_1_term_relationships,

    wp_1_term_taxonomy,

    wp_1_terms,

    wp_2_comments,

    wp_2_links,

    wp_2_options,

    wp_2_postmeta,

    wp_2_posts,

    wp_2_term_relationships,

    wp_2_term_taxonomy,

    wp_2_terms,

    wp_3_comments,

    wp_3_links,

    wp_3_options,

    wp_3_postmeta,

    wp_3_posts,

    wp_3_term_relationships,

    wp_3_term_taxonomy,

    wp_3_terms,

    wp_4_comments,

    wp_4_links,

    wp_4_options,

    wp_4_postmeta,

    wp_4_posts,

    wp_4_term_relationships,

    wp_4_term_taxonomy,

    wp_4_terms,

    wp_blog_versions,

    wp_blogs,

    wp_registration_log,

    wp_signups,

    wp_site,

    wp_sitecategories,

    wp_sitemeta,

    wp_usermeta,

    wp_users

    please how can i create manually those tables in my sqlDB ?

    thanks for any advice

Viewing 10 replies - 26 through 35 (of 35 total)
  • The topic ‘Upgraded to WPMU 2.7 now I have an error’ is closed to new replies.
Skip to toolbar