*

Daniel PM

  • ****
  • 111 posts
Delete user account
« on: May 07, 2016, 02:28:04 AM »
Hello, I would like to know why when a user decide to delete his account, the message of account deleted shows in the screen and the logout works fine, but in Osclass admin the ads still show (without images), also in website,  and the user still appears in the users page of admin. Even if the 'ghost' user tries to login again, it can, but with all ads deleted. The problem with this is that the user email is still in use, because it has not been fully erased from oc-admin.

Is there someway to fix this? I mean, to totally erase user and ads? Thanks.
Daniel PM

*

MB Themes

Re: Delete user account
« Reply #1 on: May 07, 2016, 07:33:26 PM »
@Daniel PM
Such problem is caused by plugin that have set foreign key to user or item table, but not set delete on cascade. This will keep "ghost" listings on your site.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel PM

  • ****
  • 111 posts
Re: Delete user account
« Reply #2 on: May 09, 2016, 09:47:18 PM »
Thanks frosticek, I will start disabling and enabling each plugin to find the guilty one. Cheers.  :P
Daniel PM

*

MB Themes

Re: Delete user account
« Reply #3 on: May 09, 2016, 10:06:51 PM »
@Daniel PM
You could do it quickly if you run delete command directly on database (deleting some item), you will see table with blocked keys in error message.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel PM

  • ****
  • 111 posts
Re: Delete user account
« Reply #4 on: May 12, 2016, 06:55:19 PM »
Thanks. By deleting an item on database, you mean deleting a plugin folder right?
Daniel PM

*

MB Themes

Re: Delete user account
« Reply #5 on: May 12, 2016, 07:28:21 PM »
@Daniel PM
Your question does not make sense, there is no folder in database.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots