Dh42 Posted May 24, 2012 Share Posted May 24, 2012 I am getting a strange bug in one of my clients shops. After a while some of the modules just stop loading. They do this for a day or two and then start loading again. I have tried everything I know to figure out what the problem is, but I am stumped. I have unhooked and re-hooked them, re-installed them, turned the various debuggs on, all while the site is forcing compile and with the caching turned off. I am thinking for some reason it is ignoring the hook for a while. Because it only affects one hook, but every module in that hook. Anyone have any suggestions? As a time frame everything will work for a month or so then it will break for a couple of days. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 24, 2012 Share Posted May 24, 2012 Hi DesignHaus, Which module are having this issue exactly? Do you have an active link where we could see this in action? -Mike Link to comment Share on other sites More sharing options...
Dh42 Posted May 24, 2012 Author Share Posted May 24, 2012 The link is tekkiesbk.com the modules are the cms module and the new products module. Both of them are ones that shipped with PS, but I did edit them to suit my needs. The right hook is set for everything right of the products, so when it does not fire it loses the banners, cart, search, and the social media icons. I currently have it hardcoded into the footer.tpl so it "looks" like it is working but when it actually comes back online and starts working again it doubles everything on the right side until I take the hardcode out. The shop is running 1.4.7.3 btw Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 24, 2012 Share Posted May 24, 2012 Could you please temporarily take the hardcoding out so that I can see it in its natural form? Also, wow this is a great site! I just passed it around the office to show my colleagues what you have done with this -Mike Link to comment Share on other sites More sharing options...
Dh42 Posted May 24, 2012 Author Share Posted May 24, 2012 Thanks Mike, sorry it took so long I was running a big que. I took the hard coding out. In the footer.tpl this is where the hook is called. <div id="right_column" class="column" style="margin:0px;"> {$HOOK_RIGHT_COLUMN} Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 24, 2012 Share Posted May 24, 2012 Can you also please add back the modules to the hook that are causing you the issue? -Mike Link to comment Share on other sites More sharing options...
Dh42 Posted May 24, 2012 Author Share Posted May 24, 2012 They are added to the hook. For some reason I don't think the hook is firing. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 24, 2012 Share Posted May 24, 2012 Hi DesignHaus, I took a look at this with one of our graphic designers, and he suggested that while this is often some sort of cache issue, that you check your overrides as well to see if anything there could be causing this. Additionally, you may want to try temporarily switching to the default PrestaShop theme just to see if the hook displays there. -Mike Link to comment Share on other sites More sharing options...
Dh42 Posted May 24, 2012 Author Share Posted May 24, 2012 Mike, I just tried to switch to the default theme and no luck. I put the override back in so it looks as if it is loading now. By, override, I mean I am just adding the html that the modules "should" render to the footer. I don't have any actual overrides in the core of the site. It is a pretty basic install, the only module that it uses that is not stock is tomergs authorize.net module. But I have tried disabling it and no luck. What is weird about it is, it just "happens". The first time it happened I figured someone unhooked the modules, but they were still hooked and I put the html code in the footer til I could figure out the problem. But a few hours later the hook started working again and it looked as if the side bar was repeating from where I had the hardcode in it. Its really baffling because it just "comes and gos" on its own. But I have cleared all the caches, locally and on the server and I have it compiling also. Link to comment Share on other sites More sharing options...
Recommended Posts