Jump to content

Prestashop 1.6 Categorys BO after upgrade BUG-Fix


Recommended Posts

i have run automated upgraded on prestashop 1.5.6.2 and upgraded it to 1.6.0.5 today / night.

 

 

after upgrade there was no category shown in BO " parent category"  where you collapse / expand category tree.

 

 

"root" in SQL database, it missing two lines.

 

 

"category_group" > id_category 1, id_group 0

 

"category_shop" >  id_category 1 id_shop 1 position 1

 

 

now it is possible to edit category’s and root folder in parent category window shows up and it is possible to collapse and expand ..

 

 

hope that helps someone already have upgraded :)

 

  • Like 3
Link to comment
Share on other sites

  • 1 month later...

 

"root" in SQL database, it missing two lines.

 

 

"category_group" > id_category 1, id_group 0

 

"category_shop" >  id_category 1 id_shop 1 position 1

 

 

Can you provide more information about where I am supposed to add these two lines? In one of the database tables itself?

Link to comment
Share on other sites

 

 

"category_group" > id_category 1, id_group 0

 

"category_shop" >  id_category 1 id_shop 1 position 1

 

 

 

 

Log into PHP MyAdmin, and select the Prestashop Database.

 

One of the tables is ps_category_group... check it has a record with id_category with a value of 1, and id_group with a value of 0

 

then check ps_category_shop has a record with id_category value of 1, and id_shop value of 1, and position value of 1.

 

Then try your shop.

 

Thanks Vontanix... it worked or me!

Link to comment
Share on other sites

  • 2 months later...

Log into PHP MyAdmin, and select the Prestashop Database.

 

One of the tables is ps_category_group... check it has a record with id_category with a value of 1, and id_group with a value of 0

 

then check ps_category_shop has a record with id_category value of 1, and id_shop value of 1, and position value of 1.

 

Then try your shop.

 

Thanks Vontanix... it worked or me!

 

Well It didn't worked for me :( Any other ideas of why is this happening? I already had those values within that tables... so it must be something else... or, there have to be some other db lines missing somewhere else.

 

Thanks!

Link to comment
Share on other sites

  • 4 weeks later...

Well It didn't worked for me :( Any other ideas of why is this happening? I already had those values within that tables... so it must be something else... or, there have to be some other db lines missing somewhere else.

 

Thanks!

 

and what kind of problem you've got at the moment?

Link to comment
Share on other sites

  • 3 weeks later...

I find a solution to my problem.

 

I put id_parent value of home identifier (2 in my case) to all my categories.
Now I can see the categories tree in products also into edit categories menu on mi back office.

Prestashop version 1.6.08

Link to comment
Share on other sites

I have the same problem. In the backoffice when edit a category or a product, the categories tree does not charge. Is nothing rendered.

I don't know the solution

Me too, the fix above doesn't resolve the problem. I've already these setting in DB:

 

"category_group" > id_category 1, id_group 0

"category_shop" >  id_category 1 id_shop 1 position 1

 

but still can't set parent in the category after saved it before, so  I can't move it to the other parents.

 

Presta 1.6.0.9

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

Hi
 

With MultiShop (3 stores), at least, you must have the following records: 
 
1. in ps_category
 
id_category id_parent

1 0

2 1
 
2. in ps_category_group
 
id_category id_group

1 0

2 1

2 2

2 3
 
3. in ps_category_shop
 
id_category id_shop position

1 1 1

1 2 1

1 3 1

2 1 1

2 2 1

2 3 1
 
4. in ps_category_lang
 
id_category id_shop id_lang name

1 1 1 Root

1 1 2 Root

2 1 1 Inicio

2 1 2 Maison

2 2 1 Inicio

2 2 2 Maison

2 3 1 Inicio

2 3 2 Maison

 

Link to comment
Share on other sites

×
×
  • Create New...