Jump to content

[Reported] Categories block blank in 1.1


Recommended Posts

  • 2 weeks later...

Got this problem too.

I've posted mainly so I get the email when a solution is found =)

Thanks in advance!

EDIT:

I've just noticed that the Full Size feature no longer works.
When I enter a product's information page and click either on the image or the "Full Size" link, nothing happens.
Are these problems related?

I am sorry, normally I would investigate the problems myself but I am currently completely overrun at work.

2nd Edit:
I'm an idiot.
I checked into it & it's my ported theme that's causing the Full Size issue.
It's not causing the Categories issue though :o

Link to comment
Share on other sites

Solved.

The blank categories is caused by importing a theme from v1.

Take the TPL files from the default prestashop v1.1 theme folder & copy them to your custom folder, replacing them.
You only need to change the TPL files directly in the theme folder, nowhere else.

This also solved my "View Full Size" issue - if anybody else is having the same issue.

w00t!

Shop looks awesome.

I'll share the link when it's finished, thanks a lot presta staff!

Link to comment
Share on other sites

  • 2 months later...

HI there,

Can anyone help?? I am at my wits end. I cannot for the life of me figure out why my categories have disappeared in the categories block.

I have searched the entire forum and have done all the recommendations/suggestions for fixing this issue and nothing. I really don't want to have to re-install as there are quite a few products on my site.

I am not sure what caused the categories to disappear. I didn't modify any files or folders for them to disappear. I was merely happily entering products when they vanished.

Any help would be appreciated.

Link to comment
Share on other sites

HI there,

Can anyone help?? I am at my wits end. I cannot for the life of me figure out why my categories have disappeared in the categories block.

I have searched the entire forum and have done all the recommendations/suggestions for fixing this issue and nothing. I really don't want to have to re-install as there are quite a few products on my site.

I am not sure what caused the categories to disappear. I didn't modify any files or folders for them to disappear. I was merely happily entering products when they vanished.

Any help would be appreciated.


Sorry, I'm not sure.
Try using a different theme/template.
Link to comment
Share on other sites

Hi,
Something to try , (it maybe a Module clashing

turn off all your modules exept block categories and see if it works then,

if ok turn your modules on one by one, each time checking your categories block is still displaying on front page.

Dont know if it will help but its worth a go

Link to comment
Share on other sites

Me again,
I am using prestashop v1.1, goto the Categories block under modules

it says "Set the maximum depth of sublevels displayed in this block (0 = infinite)"

I have done this (set to 0) and i found the categories do not show on front page , if you set it to a number, say 8, the catagegories show again.

Give it a try and see how you get on (or just do what TropischBruin says, that should solve the problem as well)

Link to comment
Share on other sites

I am going to pull my hair out!! Ggggrrrr!!!!!!!!!!!!

Nothing. Nothing is working.

I have tried absolutely everything in the forum regarding this issue and nothing is working. I have deleted and uploaded blockcategories and zilch.

Getting desperate now. Anyone have any new ideas?

frettled

Link to comment
Share on other sites

Hi there,

I have read that bug report and have done all the recommendations there too. I am still not having any luck.

I should probably say that this installation of prestashop is a brand new one. I switched from zencart - too many issues.

I really love prestashop but so frustrated at the moment considering the categories were there initially and then for no apparent reason they disappeared.

Is anyone able to help. I am beyond desperate and frustrated at this stage.

frettled[/size]

Link to comment
Share on other sites

Hi,

as I said I had the same problem, it started when I installed this : http://www.prestashop.com/forums/viewthread/10092/programmazione_moduli_design_e_temi/modulo_per_vendere_prodotti_su_facebook_

I found that my categories would not show, when I uninstalled it the categories still did not show untill I set the categories block (turned on dynamic and set maximun category depth to a number say 8)

Have you tried this ? (a different category menu, there are a few to choose from on this site, here is one of them)
http://www.prestashop.com/forums/viewthread/10983/modules/module_categories_menu

otherwise I cant help, I dont know how to solve your problem.

Link to comment
Share on other sites

  • 2 months later...

Hi all,
If anyone can help with this one, I will be eternally greatful. I have tried all of the following and nothing has changed:

Uninstalling categories block
Tried a different category block - not the prestashop default
Compared all the tpl files on my site with the original prestashop files
Compared all the folders and files under default prestashop & my site to look for differenes and nothing

I have upgraded prestashop (even though my version is the latest) and noticed that when I "Copy the settings.inc.php file from the backup folder /config to the new build’s /config folder", everything goes back to the same problem -NO PRODUCTS IN CATEGORIES .

I have also noticed that this is also affecting IMAGE MAPPING

All CHMOD is correct on all folders and files.

I am SO FRUSTRATED. This has been going on for months now. I really like the look & feel of prestashop and don't want to change as i have invested so much time & effort.

The bug reporst have not helped me at all.

HELP!!!!!!!!!!!!!!!!!!

Frettled.

Link to comment
Share on other sites

  • 1 year later...

If anyone got the same problem... i fixed mine by commenting the following code in blockscategories.php


    function getTree($resultParents, $resultIds, $maxDepth, $id_category = 1, $currentDepth = 0)
   {
       global $link;

       $children = array();
       if (isset($resultParents[$id_category]) AND sizeof($resultParents[$id_category]) AND ($maxDepth == 0 OR $currentDepth < $maxDepth))
           foreach ($resultParents[$id_category] as $subcat)
               $children[] = $this->getTree($resultParents, $resultIds, $maxDepth, $subcat['id_category'], $currentDepth + 1);

/*        if (!isset($resultIds[$id_category]))
           return false;   */ // commented by fdanialex (for some odd reason the categories are not shown)


       return array('id' => $id_category, 'link' => $link->getCategoryLink($id_category, $resultIds[$id_category]['link_rewrite']),
                    'name' => Category::hideCategoryPosition($resultIds[$id_category]['name']), 'desc'=> $resultIds[$id_category]['description'],
                    'children' => $children);
   }



Hope it helps!

Regards

Link to comment
Share on other sites

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...