Home arrow Forum JSMF CB Plugin error::Failed to synchronize user updates to SMF::
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2008, 12:57:01 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  JSMF CB Plugin error::Failed to synchronize user updates to SMF::
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: JSMF CB Plugin error::Failed to synchronize user updates to SMF::  (Read 3714 times)
Jessy
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4



View Profile WWW
JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« on: November 05, 2006, 05:39:49 AM »

Whenever I try to go to "Update your Profile" and try to save any changes in my CB profile on my site, I get the following error.

Quote
JSMF CB Plugin error::Failed to synchronize user updates to SMF::

Warning: Missing argument 3 for jsmfCB::updateUser() in /components/com_comprofiler/plugin/user/plug_smfcbplugin/smf_cb.php on line 285

I tried giving the 3rd argument ($status) a default value of false and then a default value of true. Both times, it removed the bottom error but the primary error remained.

I have been searching the forums here to see if anyone else has had the same problem I have, but it doesn't appear so. I have no idea what might be causing this. If anyone has any clues, I'd really appreciate the help. I was using Orstio's bridge, but much rather have one that integrates with CB.

  • Joomla! 1.0.11 Stable [ Sunbow ] 28 August 2006 20:00 UTC
  • SMF 1.1 RC3-1
  • Community Builder 1.0.1
  • Joomla-SMF Forum 2.0 RC2
  • SMF CB Plugin 2.0.1
  • SMF Profile 2.1
  • SMF Info 2.1.1
  • SMF Posts 2.1

If you need any further information, just let me know.
« Last Edit: November 05, 2006, 05:52:16 AM by Jessy » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #1 on: November 05, 2006, 06:11:03 PM »

take status out.... change line 285 from

Code:
    function updateUser($data, $extras, $status)

to

Code:
    function updateUser($data, $extras)

what user information are you changing?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Jordan
Joomla Pro
**

Karma: +3/-31
Offline Offline

Posts: 58



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #2 on: November 06, 2006, 09:43:50 AM »

I am having the same problem, all members get it by just clicking update.


This does not help. Actually, I am just getting:
JSMF CB Plugin error::Failed to synchronize user updates to SMF::

but no code error..

I tried removing the status but it does not have to do with the problem.
I think the user above me has 2 different problems.

Anyhow, please fix it :S
« Last Edit: November 06, 2006, 09:50:27 AM by Jordan » Logged

Jessy
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #3 on: November 06, 2006, 01:59:01 PM »

-Wolverine,

Thank you for replying to my topic, especially so quickly. I know how busy you are and truly appreciate the extra effort you put into support.  Grin

take status out.... change line 285 from

Code:
    function updateUser($data, $extras, $status)

to

Code:
    function updateUser($data, $extras)

That got rid of the "argument 3" error. However I am still getting the primary error.

what user information are you changing?

The error occurs any time the "update" button is pressed. It doesn't matter if it is information related to SMF or not. In fact, even if nothing is changed at all, the error will still pop up.

Thanks again. I'm hoping to get this figured out and fixed soon, as I love this bridge. I know the members of my website will be very excited when they see the new features this allows me to bring to them.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #4 on: November 06, 2006, 03:20:20 PM »

There were some bugs in RC2 that I am trying to tidy up for a quick RC3 release.  I will make sure this gets retested and if I can't reproduce I will get back to you so I can check it on your site(if possible).
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Jessy
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #5 on: November 07, 2006, 04:09:25 PM »

Thank you. I look forward to the release of RC3.
Logged
Jordan
Joomla Pro
**

Karma: +3/-31
Offline Offline

Posts: 58



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #6 on: November 08, 2006, 02:47:40 PM »

That got rid of the "argument 3" error. However I am still getting the primary error.

Exactly the same with me...
But, ok. So now we have to wait for rc3 to be released? Until then we won't be able to do anything with the site.....................
Logged

Livebox
Guest
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #7 on: November 08, 2006, 02:58:06 PM »

The RC3 is getting tested @ this moment. I just did a quick test with Community Builder it seems to be working.

Tested with Joomla 1.0.11 and SMF RC3 and CB 1.0.1
Logged
Jessy
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #8 on: November 14, 2006, 08:11:58 PM »

I just noticed today by accident that I am no longer getting any errors and it is saving perfectly. I'm not entirely certain how I fixed it, but maybe if I list what I have done lately it might help someone else who may have these same errors.

I was uninstalling some mods from SMF that I no longer use. It then occurred to me that I had forgotten to unpatch before applying a couple of my most recent mods. I unpatched, uninstalled, and reinstalled the bridge, remembering to add this fix. Then, making sure SMF was unpatched, I uninstalled and reinstalled my mods. Finally I repatched.

Perhaps the errors were caused by forgetting to unpatch?
Logged
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #9 on: November 22, 2006, 12:59:02 PM »

i have reproduced this problem as mentioned above in my testing:

Quote
JSMF CB Plugin error::Failed to synchronize user updates to SMF::


and error text at top which says:
Quote
Warning: Missing argument 3 for updateuser() in C:\xampp\xampp\htdocs\mysite\components\com_comprofiler\plugin\user\plug_smfcbplugin\smf_cb.php on line 285

this occurs when a user updates his/her profile from the "Update Your Profile" of the CB.

- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #10 on: November 22, 2006, 01:16:41 PM »

fixed in RC3
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #11 on: November 22, 2006, 01:17:32 PM »

i tried commenting(php comment) on line 327 and 328 of the file:
\components\com_comprofiler\plugin\user\plug_smfcbplugin\smf_cb.php

obviously the popup will not appear(hence this is the lines which calls when error occurs).. however it saves in CB fields the changes/updates made.


- g

PS: this is just a quickie to bypass the error. not a total solution.
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #12 on: November 22, 2006, 01:26:03 PM »

you should not do that.  If a user were to update their username and the update in SMF failed this function MUST fail.  If it doesn't then the old username will remain in SMF and be lost to the user.  The new CB username will not have a corresponding SMF user, so all SMF posts/stats/configs for this user will be lost to them.  The function MUST fail if the update to SMF fails.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
guilliam
Developer
Joomla Pro
*****

Karma: +3/-0
Offline Offline

Posts: 85



View Profile WWW
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #13 on: November 22, 2006, 01:37:54 PM »

i agree,.. was currently a work around for me (while waiting for the RC3). on the site i am working on; usernames are not editable both in cb and smf.

had sent you pm, regarding the rc3 to be tested Wink

- g
Logged

"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
www.joomlahacks.com | www.joomlaconsultancy.net
nisiwi
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 26


View Profile
Re: JSMF CB Plugin error::Failed to synchronize user updates to SMF::
« Reply #14 on: November 23, 2006, 04:03:34 PM »

OK, I have RC3 and still receive this message

JSMF CB Plugin error::Failed to synchronize user updates to SMF::

Warning: Missing argument 3 for updateuser() in /home/content/m/a/d/madinbrum/html/components/com_comprofiler/plugin/user/plug_smfcbplugin/smf_cb.php on line 285

what is the recommended resolution
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login