× Joomla Facebook Connect support forum

Topic-icon [SOLVED] SQL ERROR

Active Subscriptions:

None
14 years 6 months ago #2092 by frez
[SOLVED] SQL ERROR was created by frez
Hello,

I've uninstalled JFBCONNECT from my site and now i can't edit any CB profiles because of this message:
moscomprofiler::store failed: Unknown column 'facebook_id' in 'field list' SQL=UPDATE `jos_comprofiler` SET `user_id`=63,`firstname`='',`middlename`='',`lastname`='',`hits`='833',`message_last_sent`='0000-00-00 00:00:00',`message_number_sent`='0',`avatar`='63_4ac1fdf372c7c.jpg',`avatarapproved`=1,`approved`=1,`confirmed`=1,`registeripaddr`='164.128.54.35',`cbactivation`='',`banned`='0',`acceptedterms`='0',`facebook_id`='',`lastupdatedate`='2009-09-29 14:30:43',`fbviewtype`='_UE_FB_VIEWTYPE_FLAT',`fbordering`='_UE_FB_ORDERING_OLDEST',`cb_gender`='joueur',`cb_datedenaissance`='1979-02-15',`cb_pgtotalitems`='1',`cb_pgtotalsize`='32858',`cb_pglastupdate`='2009-09-08 18:10:25' WHERE id='63'

Please help!!!!! <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" /><!-- s:cry: -->
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #2093 by koor_der
Replied by koor_der on topic [SOLVED] SQL ERROR
You must have some other tweak than JFBConnect. I have both commubity builder and JFBConnect loaded on my site, and I see no facebook_id. I doubt that they put code to write to a field that was never added. Have you been adding plug-ins to your community builder?

About the only option I would see at this point is to start combing the files of Community builder for update statements of the comprofiler table. Make sure to look in the administrator folder where they have a controller file. You can replace these files alone to be the safest. If you want a quick fix, you may be alright copying all .php and .js files in /administrartor/components/com_profiler and /components/com_profiler files back into the directories from your original community builder zip file.

Your data is in the database, the .php and .js files will not erase data by simply restoring them to their original state, but you might break whatever it is that is trying to add a facebook_id.
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #2094 by frez
Replied by frez on topic [SOLVED] SQL ERROR
Hello,

thank's for your help.
i've not installed any CB plugins but you're right i will try to erase my CB files with a backup.

Let's go... :rolleyes:
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #2095 by frez
Replied by frez on topic [SOLVED] SQL ERROR
Ok it was not JFBCONNECT but JCONNECTOR.... :D

Here is the answer...
check your #__users table and delete facebook_id field from it. That's the only actual presense that may have left after jConnector was uninstalled.
The topic has been locked.
Support Specialist
14 years 6 months ago #2101 by alzander
Replied by alzander on topic [SOLVED] SQL ERROR
Yeah, we do not touch other component's tables. That's bad karma all around. Glad you found the issue (and glad we weren't a part of it) :D
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #2110 by Korpio
Replied by Korpio on topic [SOLVED] SQL ERROR
Hi, I never had JConnector and still I got the facebook_id in my jos_users table, not sure how that got in there since I have a new joomla instalation.

Well, anyway, I deleted it and solved my problem :D

That is the importan thing!
The topic has been locked.