Author Topic: Table category_categories record not deleted when category is deleted  (Read 1216 times)

eggert

  • Beginner
  • *
  • Posts: 7
Hi

I'm running VirtueMart 2.0.2 on Joomla 2.5.1 and noticed that when I delete a category ( a child of another, have not checked top level category ) the records from category table and category_is_IS table are removed but not corresponding record from category_categories. This probably has little effect on standard setup of VM but I have made a hack in template override for category to show products from children and this results in all products being shown because the parent category is incorrectly positive on hasChildren.

Kv. Eggert

buhnad

  • Beginner
  • *
  • Posts: 36
Re: Table category_categories record not deleted when category is deleted
« Reply #1 on: March 01, 2012, 12:01:07 pm »
i noticed the same thing since 2.0.1 i went to  phpmyadmin and delete all the tables that starts with  jos_virtuemart and then made a fresh install then it worked fine

eggert

  • Beginner
  • *
  • Posts: 7
Re: Table category_categories record not deleted when category is deleted
« Reply #2 on: March 01, 2012, 19:52:08 pm »
Good you got that sorted out.  The option of installing fresh is not really feasible for me because there are already 50 categories and close to 100 products set up.

Hopefully this is something that can be easily sorted out, have not myself tried to debug this.

eggert

  • Beginner
  • *
  • Posts: 7
I have upgraded to 2.0.6 and this issue is still troubling me.
Any suggestions?

Kv. Eggert