compmo Posted May 23, 2013 Share Posted May 23, 2013 hello every one, I wish if some one could help our website www.vapegenie.net we have prestashop 1.5.3 install and we have a theme deco-evo 2.5 installed since we had this theme and we got a lots of problems i managed to get through with most of them the default theme never work again after we installed deco-evo the main problem that we have is: the page load very slowly almost 7s (not acceptable by search engines) we optimized all images and install cloudflare and this help a bit but not much if you access the page you will realize that the home featured product images will appear for one second then disappear and then load one after anther (very annoying). Any help is aprecheated Best Regards compmo Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2013 Share Posted May 23, 2013 i think that this issue is related to the javascript effect that you've got there (pictures are appearing one by one). Link to comment Share on other sites More sharing options...
compmo Posted May 24, 2013 Author Share Posted May 24, 2013 if this is the case then where to start? Also I realized on bo there is an error (To use the CacheFS directory must be writable.) however i donot have cachefs folder what soever on our server Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 i don't exactly know what script is related to this effect, because you use CCC which compiles all js files to one (css too) Link to comment Share on other sites More sharing options...
compmo Posted May 25, 2013 Author Share Posted May 25, 2013 would it be too much if give you access to bo and ftp and you look it up off course if you get time Link to comment Share on other sites More sharing options...
vekia Posted May 25, 2013 Share Posted May 25, 2013 For now it isn't necessary, just turn off CCC under the preferences->performance tab in your back office. Then i will be able to check source of scripts etc. Link to comment Share on other sites More sharing options...
compmo Posted May 26, 2013 Author Share Posted May 26, 2013 I did just that I really appreciate your help thanks Link to comment Share on other sites More sharing options...
vekia Posted May 26, 2013 Share Posted May 26, 2013 I suppose that the problem is with preload.js script you've got there: $(function(){$('.hft img').hide();});var i=0;var int=0;$(window).bind("load",function(){var int=setInterval("doThis(i)",500);});function doThis(){var imgs=$('img').length;if(i>=imgs){clearInterval(int);}$('.hft img:hidden').eq(0).fadeIn(500);i++;} I think that you should try to remove this script from the page content. I don't know how this script is included (because i don't know the source of the .tpl / modules that you use), but you should try with: go to the header.tpl located in your theme directory, does the code: <script type="text/rocketscript" data-rocketsrc="/modules/stylechanger/js/allfix/preload.js"></script> exist in this file? If so, try to remove it (don't forget about backup!) if this code doesn't exist, try to disable stylechanger module Link to comment Share on other sites More sharing options...
compmo Posted May 27, 2013 Author Share Posted May 27, 2013 Thanks so much Vekia for all your help Link to comment Share on other sites More sharing options...
vekia Posted May 27, 2013 Share Posted May 27, 2013 let me know if this work or not Link to comment Share on other sites More sharing options...
compmo Posted May 27, 2013 Author Share Posted May 27, 2013 Hello, I found the script under stylechanger module and i used {* *} to suspend the script clear the cache and force re compile and test it. the problem still there how ever when i disable the slide show module the web work amazing it load in 1.2 second my guess now is that was part of the problem bust i still have some issue with slidshow module iam going to disable ccc again and try to find what is wrong with that module, I'll keep you posted thanks so much for directing to to the right way. Link to comment Share on other sites More sharing options...
compmo Posted May 27, 2013 Author Share Posted May 27, 2013 Hello Vekia, i just disable slideshow module to work on it could not find anything wrong with after i re enable it the website works as it should be So i goning to mark this as solve and once again thanks so much for your time you rock! Link to comment Share on other sites More sharing options...
vekia Posted May 27, 2013 Share Posted May 27, 2013 thanks for information im glad that it works for you exactly as you expect :-) i marked thread as solved regards Link to comment Share on other sites More sharing options...
Recommended Posts