Advertisement:

Author Topic: Ghost buster error  (Read 1357 times)

adewoye

  • Newbie
  • *
  • Posts: 26
Ghost buster error
« on: February 03, 2014, 11:35:43 pm »
Please expert in the forum help,  ghost buster bring the following error messages:

Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))
Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))
Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))
Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Ghost buster error
« Reply #1 on: February 04, 2014, 12:06:45 am »
what plugin are you using? it looks like you have an ad that is using a category that has a plugin option, so the ad won't delete because of it.


tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Ghost buster error
« Reply #2 on: February 04, 2014, 12:48:12 am »
I don't know that even the great Ghostbuster can delete a foreign key when they contain tables. Everything under the key must be deleted before a foreign key can be removed.

Seems to me that the seo plugin would have to be fully un-installed and hope that it removes itself from the database or you will have to do it manually.

Just thoughts I have when thinking of other thoughts..... :o

tom


« Last Edit: February 04, 2014, 12:49:56 am by tomshaft »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Ghost buster error
« Reply #3 on: February 05, 2014, 09:54:53 pm »
Hi adewoye,

Thanks for posting this I will update the ghostbuster plugin soon.

Jay

firetool

  • Newbie
  • *
  • Posts: 12
Re: Ghost buster error
« Reply #4 on: February 10, 2014, 12:38:09 am »
Please expert in the forum help,  ghost buster bring the following error messages:

Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))
Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))
Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))
Cannot delete or update a parent row: a foreign key constraint fails (`kadcngco_sellit`.`ba_t_item_seo`, CONSTRAINT `ba_t_item_seo_ibfk_1` FOREIGN KEY (`seo_item_id`) REFERENCES `ba_t_item` (`pk_i_id`))


I have same issue as you.....same error you are not alone

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Ghost buster error
« Reply #5 on: February 10, 2014, 01:11:24 am »
Hi guys,
Same issue when custom plugin / stuff is developed with table that has foreign key to some existing table that is base for osclass.

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Ghost buster error
« Reply #6 on: February 11, 2014, 07:11:07 pm »
Hi All,

The new version of Ghostbuster's will be able to fix those errors.

http://market.osclass.org/plugins/ghostbuster_83

Jay

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Ghost buster error
« Reply #7 on: February 11, 2014, 07:26:24 pm »
This is great Jay.
Nice to be able to download from the market.

Looking forward to trying it.

Tom
« Last Edit: February 12, 2014, 01:56:00 pm by tomshaft »