patriciapresta Posted August 7, 2019 Share Posted August 7, 2019 (edited) Hi, After migrating my store from one server to another,, I am encountering several issues: the thumbnails on the product list aren't being displayed unless I refresh the page, across all browsers. Also, I keep getting a weird bug, on the same size on all products, saying that 'This combination isn't available' even though it is, and there are products in stock. Any idea? Thank you. Edited August 7, 2019 by patriciapresta (see edit history) Link to comment Share on other sites More sharing options...
[email protected] Posted August 7, 2019 Share Posted August 7, 2019 Same problem and many more.....ps 2.0.0.0 maybe a platform made to use properly for a merchant. Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 7, 2019 Share Posted August 7, 2019 Hi, https://www.mediacom87.fr/afficher-images-apres-migration/ a little tuto to help you it's in french but i give you translation : Citation Whether you are migrating a server or putting your local installation online (or vice versa), you may have the problem that your images do not appear on your PrestaShop site. This is totally normal and is very easy to correct with a few clicks. Go to the SEO&URLs section of your back office. PS1.6 : Preferences >> SEO&URLs PS1.7 : Shop settings >> Traffic and SEO > SEO&URLs tab Disable the option: Simplified URL save Enable option: Simplified URL save And normally your images appear again on your site. If this is not the case, you can also generate your thumbnails again. Link to comment Share on other sites More sharing options...
patriciapresta Posted August 8, 2019 Author Share Posted August 8, 2019 12 hours ago, Mediacom87 said: Hi, https://www.mediacom87.fr/afficher-images-apres-migration/ a little tuto to help you it's in french but i give you translation : Hi, thanks for the reply- I have tried that but it did nothing. I also tried replacing the thumbnails manually and no luck. I am now trying to regenerate them from the prestashop backoffice. Link to comment Share on other sites More sharing options...
patriciapresta Posted August 8, 2019 Author Share Posted August 8, 2019 (edited) Ok, so I tried regenerating images from the backoffice and I don't think it worked, unfortunately.. I am all out of ideas! Can anyone help? I'll post some pictures of what is happening. Edited August 8, 2019 by patriciapresta I solved one of the issues, which was a server timeout. (see edit history) Link to comment Share on other sites More sharing options...
patriciapresta Posted August 8, 2019 Author Share Posted August 8, 2019 Any idea? Thanks in advance! Link to comment Share on other sites More sharing options...
patriciapresta Posted August 9, 2019 Author Share Posted August 9, 2019 (edited) Anyone have any idea on how to solve this? I tried regenerating the thumbnails many different times, changed size and regenerated, cleared cache, cleared browsers cache, regenerated webconfig through friendly URL... Nothing works. My shop version is 1.6.1.23. I have leo-alaska theme installed. Not by me, by previous developer. I'm only maintaining the site. Can any prestashop developer help please? If anyone wants to check it out, the link is this www.coccodrillo.pt Edited August 9, 2019 by patriciapresta (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 9, 2019 Share Posted August 9, 2019 Hi, Wouldn't it be possible that the image format doesn't exist? Could you give us a screenshot of the configuration of the image formats? Link to comment Share on other sites More sharing options...
patriciapresta Posted August 12, 2019 Author Share Posted August 12, 2019 (edited) @Mediacom87 On 8/9/2019 at 11:55 PM, Mediacom87 said: Hi, Wouldn't it be possible that the image format doesn't exist? Could you give us a screenshot of the configuration of the image formats? Hey, I don't think so, everything seems fine, also the images are on the img/p folder, so they do exist, I have tried taking them off and putting them back in, as well as regenerating them. Edited August 12, 2019 by patriciapresta (see edit history) Link to comment Share on other sites More sharing options...
patriciapresta Posted August 12, 2019 Author Share Posted August 12, 2019 Also, here's the thumbnail code on the product.tpl <!-- thumbnails --> <div id="views_block" class="clearfix {if isset($images) && count($images) < 2}hidden{/if}"> {if isset($images) && count($images) > 2} <span class="view_scroll_spacer"> <a id="view_scroll_left" class="" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}"> {l s='Previous'} </a> </span> {/if} <div id="thumbs_list"> <ul id="thumbs_list_frame"> {if isset($images)} {foreach from=$images item=image name=thumbnails} //{assign var=imageIds value="`$product->id`-`$image.id_image`"}// {assign var=imageIds value="$product->id - $image.id_image"} {if !empty($image.legend)} {assign var=imageTitle value=$image.legend|escape:'html':'UTF-8'} {else} {assign var=imageTitle value=$product->name|escape:'html':'UTF-8'} {/if} <li id="thumbnail_{$image.id_image}"{if $smarty.foreach.thumbnails.last} class="last"{/if}> <a{if $jqZoomEnabled && $have_image && !$content_only} href="javascript:void(0);" rel="{literal}{{/literal}gallery: 'gal1', smallimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'large_default')|escape:'html':'UTF-8'}',largeimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html':'UTF-8'}'{literal}}{/literal}"{else} href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html':'UTF-8'}" data-fancybox-group="other-views" class="fancybox{if $image.id_image == $cover.id_image} shown{/if}"{/if} title="{$imageTitle}"> <img class="img-responsive" id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'cart_default')|escape:'html':'UTF-8'}" alt="{$imageTitle}" title="{$imageTitle}" itemprop="image" /> </a> </li> {/foreach} {/if} </ul> </div> <!-- end thumbs_list --> {if isset($images) && count($images) > 2} <a id="view_scroll_right" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}"> {l s='Next'} </a> {/if} </div> <!-- end views-block --> <!-- end thumbnails --> Link to comment Share on other sites More sharing options...
patriciapresta Posted August 19, 2019 Author Share Posted August 19, 2019 I turned friendly URL off and now it works. Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 20, 2019 Share Posted August 20, 2019 and reactivating them as I explained in this post? Link to comment Share on other sites More sharing options...
patriciapresta Posted August 20, 2019 Author Share Posted August 20, 2019 10 minutes ago, Mediacom87 said: and reactivating them as I explained in this post? Hi, that didn't work, I think the problem was within the rewriting rules on the htacess file, I converted them to the webconfig and now they work, with the URL rewrite rules otpion turned on. My shop is working on a Windows server so the htacess wasn't compatible, and that was causing problems. Link to comment Share on other sites More sharing options...
patriciapresta Posted August 20, 2019 Author Share Posted August 20, 2019 I have another problem, if you care to take a look at my post, maybe you can help? Thanks! Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 20, 2019 Share Posted August 20, 2019 Il y a 6 heures, patriciapresta a dit : My shop is working on a Windows server There you are really looking for problems: -) 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