weloveperfume.co.uk Posted November 8, 2008 Share Posted November 8, 2008 Hi all and congrats to the Presta team for the new 1.1 looks greatI uploaded the new 1.1 to a test server from my local, but now the Categories block is blank.I didn't have this problem on my local Has anybody got and idea on how to fix this.Thanks Link to comment Share on other sites More sharing options...
Matthieu Biart Posted November 10, 2008 Share Posted November 10, 2008 Hi weloveperfume.co.uk!This bug has already been reported on the Bug Tracker (maybe even by you). Link to comment Share on other sites More sharing options...
sheepskinfurs Posted November 10, 2008 Share Posted November 10, 2008 I have this error too on http://www.sheepskinfurs.com. Everything else is working correctly, although I got the sql error described in this thread seen here. I used my old .htaccess as well, so I don't know if that's causing the issues. Link to comment Share on other sites More sharing options...
Sly-Delvecchio Posted November 20, 2008 Share Posted November 20, 2008 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 Link to comment Share on other sites More sharing options...
Sly-Delvecchio Posted November 20, 2008 Share Posted November 20, 2008 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 More sharing options...
frettled Posted January 26, 2009 Share Posted January 26, 2009 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 More sharing options...
Sly-Delvecchio Posted January 27, 2009 Share Posted January 27, 2009 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 More sharing options...
frettled Posted February 3, 2009 Share Posted February 3, 2009 I have tried changing templates and am having the same problem. The categories block is empty.Anyone with any suggestions????? Link to comment Share on other sites More sharing options...
cerberus22 Posted February 4, 2009 Share Posted February 4, 2009 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 More sharing options...
TropischBruin Posted February 4, 2009 Share Posted February 4, 2009 Or remove the Categories block from \modules and upload it again via FTP. Link to comment Share on other sites More sharing options...
cerberus22 Posted February 5, 2009 Share Posted February 5, 2009 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 More sharing options...
frettled Posted February 6, 2009 Share Posted February 6, 2009 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 More sharing options...
cerberus22 Posted February 7, 2009 Share Posted February 7, 2009 been having a read on the bug tracker here is what I foundhttp://www.prestashop.com/bug_tracker/view/727/(maybe try the SVN version of the Categories block)http://www.prestashop.com/bug_tracker/view/1074/ Link to comment Share on other sites More sharing options...
frettled Posted February 8, 2009 Share Posted February 8, 2009 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 More sharing options...
cerberus22 Posted February 9, 2009 Share Posted February 9, 2009 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_menuotherwise I cant help, I dont know how to solve your problem. Link to comment Share on other sites More sharing options...
frettled Posted May 2, 2009 Share Posted May 2, 2009 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 blockTried a different category block - not the prestashop defaultCompared all the tpl files on my site with the original prestashop filesCompared all the folders and files under default prestashop & my site to look for differenes and nothingI 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 MAPPINGAll 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 More sharing options...
fdanialex Posted May 29, 2010 Share Posted May 29, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now