Skip to:

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 96 total)
  • No, please let me clarify…..

    I am saying that whatever changed from BP Beta1 to BP Beta2 has caused an incompatability with the script…


    then the only thing that changed….ill say it one more time


    Now BP Beta2 and the Script dont like each other. I just want to know what changed from the 2 Betas that would make PHP scripts NOT RUN anymore in the header.

    If you are familiar with the scientific method you know that when somethign works fine then you change somethign and now it does not work…..the issue resides from the CHANGE you made. The only thing that changed was Buddypress…Nothing else changed, at all, period.

    Sorry if that came off as rude, I just wanted to make this abundantly clear. Not like this is a crazy script or something. Its simple, and straight from the PHP manual, and THE ACTUAL SCRIPT WORKS FINE, IT DOES ITS JOB FINE!~

    the script works FINE…and it worked 100% with the BETA 1 of buddypress…..its the changes to BP that are conflicting….cant be any other way. I have this script running on other sites no issue…but no BP on the sites. This script is verbatim from the PHP MANUAL.

    Maybe there is a workaround in BP that you know of….rather than running a seperate PHP script. The script basically counts the number of rows in the database I created (its a seperate database from the one running MU/BP). This number translates into the number of entries into the database. Any thoughts?

    ok, here is what I just did…

    1) deleted all databases completely

    2) created brand new database for the MU/BP install

    3) Installed latest trunk of MU 2.7

    4) Tested everything…no issues at all

    5) Installed latest trunk of BP

    6) Looked at the DB, the correct fields are there

    7) Tested everything…no issues at all

    –“Full Name” Field is there

    –Registration goes perfectly

    The above is using the WPMU Default theme!

    Now, I have pulled that problem script out of the header of my custom theme and am going to upload it, activate it and see what happens without the script. Will report back.


    Everythign worked fine. Next.

    Ok, I added the php script back into the header….”Full Name” field gone again. So we have done the same procedure abotu 10 times and have concluded that that will not fix the issue. I think its time to start looking at this differently. I can say with 100% certainty that this all worked fine, perfectly, ALWAYS without exception on the Buddypress Beta 1. Back to square one!

    a clean install of BP only you mean? By the way the DB fields are not being created after doing what I just said

    yes they are all there, I went through this with burtadsit. that’s how we narrowed this down to this exact issue. they are there and correctly populated. Here is what I will do, I will drop the related tables, uninstall BP, then reinstall BP and see if this works then. Give me an hour or 2 as I am in the middle of some other stuff, thanks. I hope to get this solved so I can get this site done, thanks for all the help

    Server Information


    Operating system Linux

    Linux kernel version 2.6.27-grsec

    Apache version 2.2.11 (Unix)

    Perl version 5.8.8

    PHP version 5.2.8

    MySQL version 5.0.67-community-log

    Path to Perl /usr/bin/perl

    Path to sendmail /usr/sbin/sendmail

    There you go. Whats odd is if I take BP out of the picture totally the script and site work fine….the script itself works fine no matter what…its the signup process thats having trouble. When I reinstall BP the signup page has an error, namely, the Full Name Field is MISSING on the signup page, which leads to the error. This was not an issue with BP Beta1, so something changed since then that is causing a conflict. I understand that this issue is not widespread because not everyone will use php inthe header, but whoever does this will be an issue, so in the future this may be a pretty large issue. Thanks for your help.

    just did a clean install of the entire site (WPMU, BP trunk,etc)….this is still an issue.


    well, if anyone has the skills to do this that would be awesome. I bet if we get a list of interested parties it would be more than 1/2 the BP users.

    Amen, lets make it happen! I think there is widespread interest in this.

    yeah, i did the troubleshooting to find the problem like you wanted burtadsit….and I know the issue, but I did not write Buddypress so I don’t know why the error is happening. Now that I know the EXACT issue I just need some help fixing the actual problem.

    did this, even used clean install of WPMU and new mySQL database……. same issue. something about the beta2 of BP does not like me inserting this php script into the header.

    Everything works fine until I put this script into the header. I can either have the script and WPMU or Buddypress and WPMU…but not the script and Buddypress. They really have issues with each other, worked fine on BP Beta 1, WPMU 2.6.

    This is the second time I have Reinstalled all this from scratch, and that’s not fixing it.


    THE SCRIPT, and the signup process worked fine with this combination:

    WPMU 2.6 / BP Beta 1

    I upgraded to the following and then it stopped working:

    WPMU 2.7 / BP Beta 2

    However if I take BP out of the picture totally and uninstall it, the WPMU signup process works perfectly as does the script.

    Also, I just downloaded and re installed the latest BP as of 3 am this morning (and dropped all related mySQL tables)…did not help.

    was not trying to be rude, sorry if it came off that way. This script was used with the Beta 1 of BP without issue, so whatever changed in the Beta 2 that is related is what I need to find a workaround for. Just asking for some guidance/assistance. The script is textbook php so it works fine from that respect…. I have 2 databases in mySQL, 1 that is for the WordPressMU and Buddypress, and another that I created separately for another part of my site….the second database is the one the script is calling.

    Any thoughts?

    this is a BP related error….nobody has a clue? I sure don’t. Sucks having unusable software.

    I pulled BP totally out and dropped all related tables in the Database….and low and behold my site works FINE without BP installed. So with all the investigating I have done I have come to the conclusion this is a BP specific problem. This is the place to get help. Can anyone at all help me out here…Andy? Anyone? I would greatly appreciate the assistance.


    check this out, ran error reporting via php……. here is the result

    Notice: Undefined offset: 0 in /home/exbriefc/public_html/wp-includes/wpmu-functions.php on line 899

    Notice: Trying to get property of non-object in /home/exbriefc/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-classes.php on line 203

    Notice: Undefined index: field_1 in /home/exbriefc/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-signup.php on line 106

    Notice: Trying to get property of non-object in /home/exbriefc/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-classes.php on line 203

    Notice: Trying to get property of non-object in /home/exbriefc/public_html/wp-content/mu-plugins/bp-xprofile/bp-xprofile-classes.php on line 982

    now I pull the php script that is causing the error out of header.php….. and guess what no errors and you can create an account no issues.

    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.


    <div id=”page”>

    <div id=”header” onclick=”location.href=’;;” style=”cursor: pointer;”>

    <div id=”headerimg”>



    $stats = get_sitestats();

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







    @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;





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


    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.

    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.


    wow, just put that in…………. that unfortunately did not work. The Buddypress bar is still on all pages for “LOGGED IN” users. I basically NEVER want it to appear except in the actual Buddypress User Theme, not the home theme at all.

    This functionality should really be built in.

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

    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.

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

    pulled all the plugins…..made no difference, still have the error (and the plugins were all there and activated with the other theme I tried that worked fine).

    i changed these files:







    -wp-signup (all I did here was change <div id=”content” class=”widecolumn”> to <div id=”content” class=”narrowcolumn”>)

    Then I added some independent scripts which all work fine and are unrelated to the signup process.

    gonna pull the plugins and see what happens again right now.

Viewing 25 replies - 1 through 25 (of 96 total)
Skip to toolbar