I set up Facebook login on my site. For testing purposes I logged in (and registered) with a facebook profile. I wanted to repeat the process for the testing purposes. I deleted that user. Now, when I click the Facebook connect button, it doesn't show me the offer to register a new account anymore, however it offers me to log in, however this does not happen and I am not redirected to the content for the registered users and not authorized message appears.
Does JomSocial remember deleted users and doesn´t allow them to register anew via Facebook Connect?
Where should I look and what to do to allow once deleted user to register a new with Facebook Connect?
Hi, Ondrej.
I tested it many times like that. Now i tested in again in JomSocial 3.2.0.6:
1. Registered user via Facebook
2. Logged in frontend
3. Logged out
4. Deleted user in backend Components -> JomSocial -> Monitor -> Membrs
5. Registered again in frontend via Facebook.
Never encountered issue that you describe.
Check if you have disabled cache (or clear it in both Joomla! and browser).
Also make sure that user is deleted in database.
As you installed JomSocial on localhost I can't view it myself...
Please notice:
www.jomsocial.com/supportYou have installed Jomsocial on a localhost or a non commercial hosting service
I replicated the problem on a Sandbox domain. It is running Meet Gavern template. Everything default.
Facebook account is not linked to the Super User account but a different one.
I logged in with Facebook connect.
I logged out.
Deleted use in Joomla USERS not through JomSocial
User disappears from JomSocial members as well in the back end.
User disappears from MySqL jos_users but not from jos_community users
=>
Facebook connect says congrats, you have been successfully etc. but does not log you in, nor offers creation of a new user.
=> when I then manually delete the user in jos_community users as well, it doesn't change anything, it still doesn't work.
I search the database for the user id and it is not present anywhere else, (on the development site it was also in the jos_usergroup_map and I deleted it from there as well, no change at all).
Cache is cleared, page is refreshed completely.
1) There seems to be certainly a problem when you delete a user with the Joomla Users tab, as it clearly doens't delete the user from the database completely, while the JomSocial component stops showing the user.
2) It is possible that this doesn't happen when you delete users with JomSocial. But that is not the case here. Even if this was the only functioning way I still need to restore being able to log in with the already deleted user. It should be possible to find the bug.
Hi, Ondrej.
I tried like you said - to delete user in Joomla! users.
After that I tried register the same user via Facebook.
It ended with success.
The only difference is that no avatar, profile status was imported. So profile is without avatar and FB watermark.
I tried on Joomla! 2.5 and JomSocial 3.2.0.6.
Did you try it on the sandbox domain i made and where I replicated the problem? the login details should be available to you in the details of my post. It is
sandbox domain
.
It is the latest Joomla (thus 3 and not 2.5), Meet Gavern Template, and Joomsocial, the only other component installed is JCK.
Also did you look at the database? You can notice that when you delete the user at the joomla users tab, the user entry in jos_community is not deleted, although you don't see the user in the members in the back end anymore. There is something fishy about it.
Anyway, you can check the problem at the sandbox domain. I can't provide you with access to the database though.
Hi, Ondrej.
I've checked your sandbox domain... hmmm... both scenarios effect with the same...
Totally different as on my site...
I'll PM you credentials to is so you could check it yourself.
On sandbox is a exact copy of your localhost or is it a fres install?
Sandbox is fresh install, just Joomla 3.3.1, latest JomSocial and MeetGavern template, and JCK.
I made the Sandbox in order to determine if I would replicate the problem on a clean install or whether it was caused by some conflict with other components, plugins, settings etc...
With default template (beez) the problem is the same.
I tried it with two different Facebook accounts, all the same problem.
EDIT: I visited your page and tried to log in with Facebook. It recognized me (i.e. I saw my avatar) but I got error message: App Not Setup: The developers of this app have not set up this app properly for Facebook Login.
I tried this also with two different Facebook accounts with the same result.
Hi, Ondrej.
FB app was not live... pleas try again.
Meanwhile I assign developer to this thread to also take a look...
I looked at your test website and it works ok, aside from the minor bug with the profile foto. Your test website runs Joomla 2.5.19. I guess it will be thus a problem in the compatibility of JomSocial with the Joomla 3.3. (maybe also other 3. versions).
I would advise the developer to run JomSocial on a Joomla 3.3 test the bug and look for the differences. I would appreaciate if I get
a) the information how to re-enable the working of the registration for the users that I deleted in my testing. I.e. whether there has to be database entry edited, deleted etc... This is important so that I can go on with the testing.
b) the update doesn't have a rush but it would be nice to know when it is out.
Thank you for your help.
Hi Ondrej,
could you please provide me FTP and cpanel/phpmyadmin access detail? I need that for debugging your issue.
FYI: put your credential information at Site Info Form, by editing your frist post at this topic.
Regards,
Albert
Albertus wrote: Hi Ondrej,
could you please provide me FTP and cpanel/phpmyadmin access detail? I need that for debugging your issue.
FYI: put your credential information at Site Info Form, by editing your first post at this topic.
Regards,
Albert
Hi Ondrej,
I can replicate your issue only at your site. But I need your site copy, so I can debugging your site in my local.
could you please install Akeeba Backup?
I need time for debugging this issue.
Regards,
Albert
Albertus wrote: Hi Ondrej,
I can replicate your issue only at your site. But I need your site copy, so I can debugging your site in my local.
could you please install Akeeba Backup?
I need time for debugging this issue.
Regards,
Albert
Hi Ondrej,
please emptying Table: jos_community_connect_users after that the facebook login will back to normal again. something wrong with old existing records for that table.
Regards,
Albert