Posting to Wire
-
I am trying to post to the WIRE and I am getting this error “Wire message could not be posted. Please try again.” I did a test of WUWP and everything worked correctly. Anyone have suggetions?
-
OK, I’ll bite. What’s WUWP?
Perhaps you can tell us some more about your install.
bp version?
mu version?
mu subdomain or subdirectory?
can you create and access blogs in mu?
Hi Burt, I’ve the same problem.I’ve found a ticket in the trac but it didn’t help.
I’m running the latest svn bp version, the latest mu version, it’s subdirectory you can saw that here: http://lesitedelasneaker.com/bp/users/members/admin/
I know that the problem is that the wire table isn’t created into the database but I don’t know how to fix that.If you can help me it will be truly appreciated!
This the ticket you are talking about? https://trac.buddypress.org/ticket/608
Did you apply the patch that was included and try again?
Yes this one.I don’t know how to directly apply the patch but I modified the files as indicated on it.
You manually removed: update_site_option( ‘bp-groups-db-version’, BP_GROUPS_DB_VERSION ); line from where it was and put it in the new location? Gotta do it for both files. Then you have to visit the backend admin of wp as site admin.
Wait a sec. If you have already visited the backend then the database version number is in there already and it won’t work. Hang on.
OK. Using the files that you modified with the patch, temporarily comment out line 166 in bp-groups.php and line 203 in bp-xprofile.php.
Both those lines read: if ( function_exists(‘bp_wire_install’) && get_site_option(‘bp-groups-db-version’). Just put comment slash, slash in front of the two lines. This way the wire install will skip the db version check and just run. Visit the backend as site admin.
Then go back and remove the two comment slash marks.
!Its working fine right know! just by comments some code lines, visit the backend and comments them out!!! How I can find that alone?! Thanks!
Glad it’s working for you now. Have fun. If I were you I’d replace those two files with the originals and wait for the official fix to come through. It may not look anything like the patch and could cause conflicts.
cool beans i have sorted it…
heres my talk with andy… thanks so much for the help…
DONT use the patch it has been fixed just increment the DB numbers one up…
Westy: hey andy… i am working through this patch but it has change and the corespinding bits of code are not on the lines stated on the patch… i assume as i svn uped today it may have changed… https://trac.buddypress.org/attachment/ticket/608/608.patch
[22:26] apeatling: hey – let me check hold on
[22:28] apeatling: I’ve integrated that fix, but not exactly as in the patch
[22:28] apeatling: I think I wrote on that ticket
[22:29] apeatling: so if you svn up’d today you should already have the fix
[22:31] Westy: ok well yes i have svn up’ed today at about 14:00 GMT but it still seems to be not working is there anything in particular you have to do … to activate it or run that script… i have check teh DB and it is still missing the wire tables.. ??
[22:33] apeatling: you will need to increment the DB numbers
[22:33] apeatling: DB_VERSION
[22:33] apeatling: at the top of bp-groups and bp-xprofile
[22:33] apeatling: then log in as a site admin
[22:33] apeatling: and they should regenerate
[22:34] Westy: how do i do this… you will need to increment the DB numbers
[22:37] Westy: for bp-groups.php it is this on line 16 >> define ( ‘BP_GROUPS_DB_VERSION’, ‘951’ );
[22:38] Westy: what is “incriment” and what do i change it too?
[22:40] Westy: this is what it is on bp-xprofile.php line 16 >> define ( ‘BP_XPROFILE_DB_VERSION’, ‘948’ );
[22:40] apeatling: just add 1 to the numbers
[22:40] apeatling: 952 and 949
[22:41] Westy: ha… that easy…. ok ill change them… then login as admin… and see if it works… ill be right back
[22:44] Westy: AMAZING…. thank you so much it is working…
my profile wire is broken again.. please check…
- The topic ‘Posting to Wire’ is closed to new replies.