stkramer Posted June 8, 2013 Share Posted June 8, 2013 Hi! I'm using prestashop 1.5.4.1 and my product categories are not showing in the footer of my website. Does anyone know how to fix this? Thanks! Link to comment Share on other sites More sharing options...
SmartDataSoft Posted June 11, 2013 Share Posted June 11, 2013 footer category is show by blockcategory and there are two tpl file in that module one show left side and another show footer. you can check your module folder that two file exists. if your module tpl is overwrite from theme than you need to check that from theme folder. Hope you can understand what to do. Link to comment Share on other sites More sharing options...
stkramer Posted June 11, 2013 Author Share Posted June 11, 2013 The blockcategories_footer.tpl file shows the following code: <!-- Block categories module --> <div class="blockcategories_footer"> <p class="title_block">{l s='Categories' mod='blockcategories'}</p> <div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%"> <div style="float:left" class="list"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last} </ul> </div> </div> <div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%"> <div style="float:left" class="list"> <ul class="tree {if $isDhtml}dhtml{/if}"> {/if} {/foreach} </ul> </div> </div> <br class="clear"/> </div> <!-- /Block categories module --> I have no idea what to do. Can you help me out? Link to comment Share on other sites More sharing options...
vekia Posted June 11, 2013 Share Posted June 11, 2013 hello you pasted code from modules/blockcategories/ ? check also the themes/your_theme/modules/blockcategories directory if blockcategories module files exist there - they are correct files (prestashop uses those files) ...maybe you've got different code there. btw. what you've got in the "How many footer columns would you like" field in the module configuration page? 1 Link to comment Share on other sites More sharing options...
stkramer Posted June 12, 2013 Author Share Posted June 12, 2013 I compared both codes from the blockcategories module (my theme and modules/blockcategories), they are exactly the same. what you've got in the "How many footer columns would you like" field in the module configuration page? I have 1 over there. Link to comment Share on other sites More sharing options...
stkramer Posted June 17, 2013 Author Share Posted June 17, 2013 Suggestions anyone? I still have this issue and don't know how to solve this. Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 can you put there: {$blockCategTree|print_r} just before the <!-- Block categories module --> after that - refresh your front office - check the footer section - any new content appear? Link to comment Share on other sites More sharing options...
stkramer Posted June 17, 2013 Author Share Posted June 17, 2013 Thanks vekia, but unfortunately it does not work. Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 you inserted the code to the modules dir located in your theme directory? if so, it looks like the controller doesn't work properly Link to comment Share on other sites More sharing options...
stkramer Posted June 17, 2013 Author Share Posted June 17, 2013 Yes I did. I also tried in the modules dir located in the main modules directory. Both didn't work. Link to comment Share on other sites More sharing options...
stkramer Posted June 20, 2013 Author Share Posted June 20, 2013 Hi vekia, can you tell me how I can fix the controller? Link to comment Share on other sites More sharing options...
vekia Posted June 20, 2013 Share Posted June 20, 2013 sure, first step: it's necessary to turn error reporting on, so please turn it on - and then refresh your store front page, if any error occur -please paste it here Link to comment Share on other sites More sharing options...
stkramer Posted June 24, 2013 Author Share Posted June 24, 2013 I turned it on, but no error occurs. Link to comment Share on other sites More sharing options...
vekia Posted June 24, 2013 Share Posted June 24, 2013 have you got an access to the php error log file? Link to comment Share on other sites More sharing options...
stkramer Posted July 30, 2013 Author Share Posted July 30, 2013 Hi Vekia, still haven't been able to fix the issue. Don't know if I have access to error log. Can I find it in the prestashop folder on the server? Or do I need to retrieve it from my hosting provider? Link to comment Share on other sites More sharing options...
vekia Posted July 30, 2013 Share Posted July 30, 2013 you can check FTP root directory for something like log.txt /log/ or /logs/ if you havent got these files there - then ask your hosting provider Link to comment Share on other sites More sharing options...
stkramer Posted August 4, 2013 Author Share Posted August 4, 2013 I got the error log file. It shows the following errors: [sat Aug 03 21:50:12 2013] [error] [client 94.23.20.46] Premature end of script headers: Q7Gr3wvc.gif [sat Aug 03 21:50:12 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/siteapps/Prestashop-58205/htdocs/error_docs [sat Aug 03 21:50:12 2013] [error] [client 94.23.20.46] Premature end of script headers: Q7Gr3wvc.gif [sat Aug 03 21:50:26 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/siteapps/Prestashop-58205/htdocs/httpdocs [sat Aug 03 21:50:26 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/siteapps/Prestashop-58205/htdocs/error_docs [sat Aug 03 21:50:26 2013] [error] [client 94.23.20.46] File does not exist: /var/www/vhosts/7/133414/webspace/httpdocs/wijwillenwijn.emptybottles.nl/httpdocs [sun Aug 04 14:09:47 2013] [error] [client 31.151.236.23] Premature end of script headers: php, referer: http://www.emptybottles.nl/Backoffice/index.php?controller=AdminSelfUpgrade&token=6b1973c2e23bc5a6ee0e2e2be9c73d39 Link to comment Share on other sites More sharing options...
Vishwastn2 Posted June 27, 2015 Share Posted June 27, 2015 (edited) can you put there:{$blockCategTree|print_r}just before the<!-- Block categories module -->after that - refresh your front office - check the footer section - any new content appear? s , i got this .... Array ( [id] => 2 [link] => http://localhost/NAMOCART/en/2-home [name] => Home [desc] => [children] => Array ( [0] => Array ( [id] => 29 [link] => http://localhost/NAMOCART/en/29-namo [name] => Namo [desc] => [children] => Array ( [0] => Array ( [id] => 30 [link] => http://localhost/NAMOCART/en/30-waist [name] => Waist [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 31 [link] => http://localhost/NAMOCART/en/31-kurtha [name] => Kurtha [desc] => [children] => Array ( ) ) ) ) [1] => Array ( [id] => 48 [link] => http://localhost/NAMOCART/en/48-yoga [name] => Yoga [desc] => [children] => Array ( [0] => Array ( [id] => 51 [link] => http://localhost/NAMOCART/en/51-t-shirts [name] => T-Shirts [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 52 [link] => http://localhost/NAMOCART/en/52-pants [name] => Pants [desc] => [children] => Array ( ) ) ) ) [2] => Array ( [id] => 32 [link] => http://localhost/NAMOCART/en/32-guys [name] => Guys [desc] => [children] => Array ( [0] => Array ( [id] => 33 [link] => http://localhost/NAMOCART/en/33-jeans [name] => Jeans [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 34 [link] => http://localhost/NAMOCART/en/34-t-shirts [name] => T-Shirts [desc] => [children] => Array ( ) ) [2] => Array ( [id] => 36 [link] => http://localhost/NAMOCART/en/36-trousers [name] => Trousers [desc] => [children] => Array ( ) ) [3] => Array ( [id] => 37 [link] => http://localhost/NAMOCART/en/37-shirts [name] => Shirts [desc] => [children] => Array ( ) ) ) ) [3] => Array ( [id] => 38 [link] => http://localhost/NAMOCART/en/38-girls [name] => Girls [desc] => [children] => Array ( [0] => Array ( [id] => 39 [link] => http://localhost/NAMOCART/en/39-jeans [name] => Jeans [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 40 [link] => http://localhost/NAMOCART/en/40-t-shirts [name] => T-Shirts [desc] => [children] => Array ( ) ) [2] => Array ( [id] => 41 [link] => http://localhost/NAMOCART/en/41-kurthi [name] => Kurthi [desc] => [children] => Array ( ) ) [3] => Array ( [id] => 42 [link] => http://localhost/NAMOCART/en/42-leggin [name] => Leggin [desc] => [children] => Array ( ) ) [4] => Array ( [id] => 43 [link] => http://localhost/NAMOCART/en/43-chudidhar [name] => Chudidhar [desc] => [children] => Array ( ) ) ) ) [4] => Array ( [id] => 16 [link] => http://localhost/NAMOCART/en/16-mobile-accessories [name] => Mobile Accessories [desc] => [children] => Array ( [0] => Array ( [id] => 44 [link] => http://localhost/NAMOCART/en/44-screen-guard [name] => Screen Guard [desc] => [children] => Array ( ) ) [1] => Array ( [id] => 45 [link] => http://localhost/NAMOCART/en/45-cases-covers [name] => Cases & Covers [desc] => [children] => Array ( ) ) [2] => Array ( [id] => 46 [link] => http://localhost/NAMOCART/en/46-flip-covers [name] => Flip Covers [desc] => [children] => Array ( ) ) [3] => Array ( [id] => 47 [link] => http://localhost/NAMOCART/en/47-other-accessories- [name] => Other Accessories [desc] => [children] => Array ( ) ) ) ) ) ) 1 pls help me out in this .... Edited June 27, 2015 by Vishwastn2 (see edit history) 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