This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Mohammad Quaid MJ

  • ***
  • 41 posts
  • I am Osclass Expert available @ WAp 00923129150810
Data Cleanup tool can not delete all listings
« on: September 28, 2023, 09:59:37 AM »
The data clean-up tool can not delete several inactive, blocked, spam or expired listings. Most of such listings exist and have no description but only a price part with a title or price without title. I tried deleting them in phpmyadmin but they are also not allowed to delete. Whether this is a bug or not, it negatively impacts the site's SEO and must have a fix.
I hope the developers take this issue very seriously. Contributors are requested to share if anyone is having the same situation. Share your solutions also.
Mohammad

*

MB Themes

Re: Data Cleanup tool can not delete all listings
« Reply #1 on: September 28, 2023, 10:49:38 AM »
Means you have blocking index in your database. You should review it and set it to "on delete cascade on update cascade"
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Mohammad Quaid MJ

  • ***
  • 41 posts
  • I am Osclass Expert available @ WAp 00923129150810
Re: Data Cleanup tool can not delete all listings
« Reply #2 on: October 01, 2023, 09:06:11 AM »
This means you have a blocking index in your database. You should review it and set it to "on delete cascade on update cascade"

I am not very familiar with databases. Would you be so kind as to show me the steps and screenshots?

Please note that in my case the tool is able to delete all records after I started using the Delta Theme but can not delete old records which are either very old or before the Delta theme installation almost a year old. I keep my listings for one year and then expire.
Thank you
« Last Edit: October 01, 2023, 09:40:47 AM by Mohammad Quaid MJ »
Mohammad

Marked as best answer by mohammad.quaid-mj on October 02, 2023, 08:57:35 AM
*

MB Themes

Re: Data Cleanup tool can not delete all listings
« Reply #3 on: October 01, 2023, 10:51:29 AM »
There used to be old ghostbuster plugin that could handle it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Mohammad Quaid MJ

  • ***
  • 41 posts
  • I am Osclass Expert available @ WAp 00923129150810
Re: Data Cleanup tool can not delete all listings
« Reply #4 on: October 02, 2023, 08:59:28 AM »
There used to be old ghostbuster plugin that could handle it.

WOW! Old is always Gold. It works. Thank you brother
Mohammad

*

MB Themes

Re: Data Cleanup tool can not delete all listings
« Reply #5 on: October 02, 2023, 06:17:14 PM »
Yes it removes listings, but does not really solve problematic foreign key
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Mohammad Quaid MJ

  • ***
  • 41 posts
  • I am Osclass Expert available @ WAp 00923129150810
Re: Data Cleanup tool can not delete all listings
« Reply #6 on: October 03, 2023, 06:56:41 AM »
Yes it removes listings, but does not really solve problematic foreign key

Is there any solution to solve the problematic foreign key?
Mohammad

*

MB Themes

Re: Data Cleanup tool can not delete all listings
« Reply #7 on: October 03, 2023, 07:51:54 AM »
Means you have blocking index in your database. You should review it and set it to "on delete cascade on update cascade"
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Mohammad Quaid MJ

  • ***
  • 41 posts
  • I am Osclass Expert available @ WAp 00923129150810
Re: Data Cleanup tool can not delete all listings
« Reply #8 on: October 03, 2023, 12:57:53 PM »
Means you have blocking index in your database. You should review it and set it to "on delete cascade on update cascade"

yes, you are right but as said earlier, I am not so good at databases and don't want to mess up. Can you help please find me a step-by-step guide with screenshots in this regard? I am using Mariadb database and phpmyadmin tool to do this.
Mohammad

*

MB Themes

Re: Data Cleanup tool can not delete all listings
« Reply #9 on: October 03, 2023, 06:03:09 PM »
No, you can google how to work with mysql db and how to update foreign keys.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots