Jump to content

Back office category problem / categories not visible


Recommended Posts

Hi,

 

Upgraded from 1.5.2.0 to 1.6.0.6 and have serious problem with categories in back office. Front office and product edit page shows categories, but:

 

- BO products cannot be filtered by categories, after tick category filter, it shows nothing

- Categories cannot be added, it will add them always as root category, because parent category cannot be selected

- Top horizontal menu shows no categories on configuration page.

 

As shown on attached pictures.

 

 

 

Any idea?

post-402298-0-55990500-1400503795_thumb.png

post-402298-0-08066000-1400503796_thumb.png

Link to comment
Share on other sites

Hi,

 

Hi,

 

Upgraded from 1.5.2.0 to 1.6.0.6 and have serious problem with categories in back office. Front office and product edit page shows categories, but:

 

- BO products cannot be filtered by categories, after tick category filter, it shows nothing

- Categories cannot be added, it will add them always as root category, because parent category cannot be selected

- Top horizontal menu shows no categories on configuration page.

 

As shown on attached pictures.

 

 

 

Any idea?

I cannot make subcategories from a multishop root categoy neither.

 

Back office form shows:

<ul id="categories-tree" class="tree">
</ul>

And tracing the error, I find that in /classes/tree/Tree.php, in the fragment:

		//Assign Tree nodes
		$template->assign($this->getAttributes())->assign(array(
			'id'    => $this->getId(),
			'nodes' => $this->renderNodes($data)
		));

$this->getAttributes() is selected_categories array, but $data is empty array.

 

I think there is a bug, any ideas?

Link to comment
Share on other sites

Hi,

 

can you enable the `developer mode` (How to do it: http://blog.belvg.com/showing-php-and-sql-errors-and-debugging-a-blank-white-page-in-prestashop.html). For help to you, community needs to get some error, and I think there is when you enable the `developer mode`

 

Regards

 

Hi, enabled define('_PS_MODE_DEV_', true); BUT there is NO error...

 

 

BUT found solution by myself and Im proud of it :)

 

solution:

- enable multistore

- edit shop and reasign categories (tick all).. save, done. Easy :)

 

Thank you prestashp dev team for this 14 days challenge :)

  • Like 2
Link to comment
Share on other sites

Hi,

 

can you enable the `developer mode` (How to do it: http://blog.belvg.com/showing-php-and-sql-errors-and-debugging-a-blank-white-page-in-prestashop.html). For help to you, community needs to get some error, and I think there is when you enable the `developer mode`

 

Regards

 

Enabled define('_PS_MODE_DEV_', true); but there is no error.

 

My site is multishop, I have a root category for each shop, but in "add category" form, I have no categoy tree, no matter what I do. I can not make no subcategories. Any help? TIA

 

:) EDIT: Another post gave me the solution: http://www.prestashop.com/forums/topic/315913-prestashop-16-categorys-bo-after-upgrade-bug-fix/?hl=%2Bcategory+%2Btree

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

BUT found solution by myself and Im proud of it :)

 

solution:

- enable multistore

- edit shop and reasign categories (tick all).. save, done. Easy :)

 

Thank you prestashp dev team for this 14 days challenge :)

 

 

You're my hero :)

 

I passed one month to try to find a fix to this problem and your solution resolved this bug.

 

 

 

EDIT:

 

I can now create sub category to a main category.

 

However the sub category is not showing in top menu.

 

Cleared cache and samething happen.

 

The sub category link give me a 404 page not found

 

Any idea?

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

  • 2 months later...

Hi, enabled define('_PS_MODE_DEV_', true); BUT there is NO error...

 

 

BUT found solution by myself and Im proud of it :)

 

solution:

- enable multistore

- edit shop and reasign categories (tick all).. save, done. Easy :)

 

Thank you prestashp dev team for this 14 days challenge :)

 Hi,

what do you mean with:

- edit shop and reasign categories (tick all)

 

Thanks!

Link to comment
Share on other sites

  • 1 month later...

Hi, enabled define('_PS_MODE_DEV_', true); BUT there is NO error...

 

 

BUT found solution by myself and Im proud of it :)

 

solution:

- enable multistore

- edit shop and reasign categories (tick all).. save, done. Easy :)

 

Thank you prestashp dev team for this 14 days challenge :)

 

Awesome! Thanks for the post, not sure I would have found the solution any quicker!

Link to comment
Share on other sites

  • 1 month later...

 Hi,

what do you mean with:

- edit shop and reasign categories (tick all)

 

Thanks!

 

Hi,

 

This means, when you enable multishop & create multistores, you get an option of importing categories from your default store. This is where you can choose what categories you want in your newly created store. 

Hope this helps.

 

Regards,

Prerana

Link to comment
Share on other sites

Hi, enabled define('_PS_MODE_DEV_', true); BUT there is NO error...

 

 

BUT found solution by myself and Im proud of it :)

 

solution:

- enable multistore

- edit shop and reasign categories (tick all).. save, done. Easy :)

 

Thank you prestashp dev team for this 14 days challenge :)

 

Hi,

 

I did the same while I created my new store. Now I have 2 stores.

I imported few categories from my default store whilst creating new store.

I want to add more categories now.

Hence, I followed the same method of importing categories to my store by CSV import like I did previously. All of a sudden, all categories are disappeared.

 

Any help?

 

Regards,

Prerana

Link to comment
Share on other sites

  • 2 months later...

hi,

 

I had same problem, but because I couldn't use multistore, because some modules don't support it, I created copy of my eshop at localhost, where I created multistore and in database in table ps_category_shop I found, that the additional eshop have one line more than original > id_category= 1; id_position = 1; id_shop= X (if you don't use multistore, then X = 1 for repair) , simply say my original eshop haven't got defined root kategory, so it can't show me tree in backoffice without root (and in previous version 1.5.3 I haven't got problem with it, it shows after update to 1.6.0.X)

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...