Bob-UK Posted December 14, 2013 Share Posted December 14, 2013 Hi, I have recently upgraded from 1.3.7 via version 1.4x and finally onto 1.5.6.1. On the whole very good. However, I have a small problem. If I click on a product and then the image maximize span, the maximized image never actually loads. For example: http://shop.thesheppardsflock.co.uk/flockshop/index.php?id_product=135&controller=product Does anyone know how I would go about fixing this. Many Thanks B-o-b Link to comment Share on other sites More sharing options...
vekia Posted December 14, 2013 Share Posted December 14, 2013 this is what i see when im trying to open your website: Link to comment Share on other sites More sharing options...
Bob-UK Posted December 14, 2013 Author Share Posted December 14, 2013 (edited) That's not good. Just going to investigate... Thank you. Sorry, I'll try that again: http://shop.thesheppardsflock.co.uk/flockshop/index.php?id_product=135&controller=product Edited December 14, 2013 by Bob-UK (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 14, 2013 Share Posted December 14, 2013 still the same Link to comment Share on other sites More sharing options...
Bob-UK Posted December 14, 2013 Author Share Posted December 14, 2013 Apologies for wasting your time. Third time lucky: http://shop.thesheppardsflock.co.uk/flockshop/index.php?id_product=135&controller=product Thank you. Glad I posted regardless. Bob Link to comment Share on other sites More sharing options...
vekia Posted December 14, 2013 Share Posted December 14, 2013 when im trying to maximize product image your website trying to load mixed-content in modern browsers it will not work just wondering why it trying to open statistics when i click on "maximize" really weird. can you try to reupload product.js file? place there original file from your prestashop version package Link to comment Share on other sites More sharing options...
Bob-UK Posted December 14, 2013 Author Share Posted December 14, 2013 Okay - I have replaced product.js in the 'default' folder, the 'Prestashop' folder and the 'themeXYZ' folder. I have not touched any of the mobile scripts. Cleared the smarty cache, but no luck. Thanks Bob Link to comment Share on other sites More sharing options...
vekia Posted December 14, 2013 Share Posted December 14, 2013 another thing: you've got in footer: var time_start; $(window).load( function() { time_start = new Date(); } ); $(window).unload( function() { var time_end = new Date(); var pagetime = new Object; pagetime.type = "pagetime"; pagetime.id_connections = "22269"; pagetime.id_page = "294"; pagetime.time_start = "2013-12-14 21:14:32"; pagetime.token = "a7f4ea62720b8e0217cdc63df2406bbab84efb06"; pagetime.time = time_end-time_start; $.post("https://shop.thesheppardsflock.co.uk/flockshop/index.php?controller=statistics", pagetime); } ); can you change https to http Link to comment Share on other sites More sharing options...
Bob-UK Posted December 15, 2013 Author Share Posted December 15, 2013 Forgive my ignorance - but where would I edit that footer entry? Link to comment Share on other sites More sharing options...
vekia Posted December 15, 2013 Share Posted December 15, 2013 it's located in your footer section, so please check footer.tpl file located in your theme directory. if there is no code that i attached above, you have to check all modules attached to hook_footer then. Link to comment Share on other sites More sharing options...
Bob-UK Posted December 16, 2013 Author Share Posted December 16, 2013 I have had a quick look, but to be honest I am at a loss as to where to begin looking for this. There is no mention of this https link in the footer.tpl. Incidently the images enlarge fine in the back office. Where would i begin to look? Thanks Bob Link to comment Share on other sites More sharing options...
vekia Posted December 16, 2013 Share Posted December 16, 2013 go to modules > positions search for displayFooter modules list. you will see there all modules attached to footer. can you show this list please? Link to comment Share on other sites More sharing options...
Bob-UK Posted December 16, 2013 Author Share Posted December 16, 2013 (edited) Okay - I think I follow: Footer - 2 Modules [Add block in footer] (Technical namedisplayFooter)1CMS Blockv1.3Adds a block with several CMS links. 2 Data mining for statisticsv1.0This module must be enabled if you want to use statistics. Edited December 16, 2013 by Bob-UK (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 16, 2013 Share Posted December 16, 2013 open /modules/statsdata/statsdata.php there is a code: $.post("'.Context::getContext()->link->getPageLink('statistics', (bool)(Tools::getShopProtocol() == 'https://')).'", navinfo); change it to $.post("'.Context::getContext()->link->getPageLink('statistics', (bool)(Tools::getShopProtocol() == 'http://')).'", navinfo); Link to comment Share on other sites More sharing options...
Bob-UK Posted December 16, 2013 Author Share Posted December 16, 2013 Hi Vekia - I have changed the code to as you suggest. However, it doesn't seem to have made a difference. Thanks for your time. Bob Link to comment Share on other sites More sharing options...
Bob-UK Posted December 17, 2013 Author Share Posted December 17, 2013 Where would you start looking to fix this issue? As I mentioned, it works fine in the backoffice. I appreciate your help. Bob Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 problem with access-origin disappeared, but the problem with picture not i thought that it might be related, unfortunately it isn't i analysed your theme once again, i found that it uses non-default fancybox libraries, maybe this is main problem in this case? can you try to replace fancybox that you've got now with default one? Link to comment Share on other sites More sharing options...
Bob-UK Posted December 18, 2013 Author Share Posted December 18, 2013 (edited) Hi Vekia - apologies you will have to elaborate, only I have no idea how to go about this. I did try and switch the theme to the default Prestashop theme, but it didn't make a difference. Apologies. Rob Edited December 18, 2013 by Bob-UK (see edit history) Link to comment Share on other sites More sharing options...
Bob-UK Posted January 12, 2014 Author Share Posted January 12, 2014 I think I have managed to find the problem and a workaround: My shop was trying to load the fancybox graphics from the following folder: /public_html/shop/js/jquery/fancybox That is the files such as: fancybox-x.png fancybox-y.png, etc. This folder, nor the files existed. I checked with the online demo store and it doesn't seem to exist with that either, although the demo store works just fine. I created that folder and copied the files into it and it now works much better, although there is still something amiss (doesn't close the fancybox image correctly). If I could find out what, or where is pointing to this non-existent folder then that would be a proper fix. I won't make this as solved, but if anyone more knowledgeable knows how to fix the source of the issue then please do. Many Thanks to Vekia for his help. Rob Link to comment Share on other sites More sharing options...
Bob-UK Posted February 20, 2014 Author Share Posted February 20, 2014 Upgraded to version 1.5.6.2 and these minor gremlins cured themselves! Once again many thanks to Vekia! Rob Link to comment Share on other sites More sharing options...
aun4some1 Posted March 25, 2014 Share Posted March 25, 2014 Hi, I have recently upgraded from 1.3.7 via version 1.4x and finally onto 1.5.6.1. On the whole very good. However, I have a small problem. If I click on a product and then the image maximize span, the maximized image never actually loads. For example: http://shop.thesheppardsflock.co.uk/flockshop/index.php?id_product=135&controller=product Does anyone know how I would go about fixing this. Many Thanks B-o-b I was having the same issue as B-o-b described. Maximize (Enlarge) product images were not opening when click on maximize button or thumbnail. I just uninstalled the "CloudCache" module (which i recently installed) and the issue was resolved. i was lucky to figure out the problem Link to comment Share on other sites More sharing options...
ms99 Posted September 19, 2014 Share Posted September 19, 2014 Fanceybox does not work properly, although the image larger, but gives it to the background page. I happen to know someone with that advice? Link to comment Share on other sites More sharing options...
Recommended Posts