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 »
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.
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).
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.....................
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?
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
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
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.
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
- 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
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
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