Jump to content

ps_category errors


Recommended Posts

Hi,

I struggle with creation of new subcategory in my shop.

I've notice that every new subcategory I create has an nleft and nright values equal 0. Moreover, from some reason, I don't know why, in my ps_category table has been created over 500 entries with nleft and nright values equals 0. These entries are visible only in the ps_category table and do not have any relations to other category related tables.

I've tried to regenerate tree, but unsuccessfully.  

Maybe I should delete all incorrect entries from the ps_category table manually first? And then try to rebuild the tree?

Could you advise? Did you tackle similar issue?

Thank you.

 

Edited by InduStone (see edit history)
Link to comment
Share on other sites

You can try to make a backup of the table, delete the broken ones and see if it works. If not, you can just restore it. I am not positive it's gonna work since in any case it usually starts from blank. Are the parents/children associations correct?

 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...