Prestafreek Posted February 1, 2021 Share Posted February 1, 2021 Issue with migration to latest 1.7 Categories and products not visisble in admin panel Need help to migrate old theme and complet database Link to comment Share on other sites More sharing options...
musicmaster Posted February 2, 2021 Share Posted February 2, 2021 Forget about the old theme. You cannot have PS 1.6 themes on 1.7. My advice would be to first switch the shop to the Prestashop default theme and delete all modules that cannot run under 1.7, then to upgrade to the latest 1.6 (and fix any problems that you find with that) and only from there to upgrade to 1.7. When upgrading Prestashop it is always the easiest to make a backup for yourself (copying files and database) and then run the upgrade without backup. Prestashop's upgrade backup system is too error prone to rely on. It is advised before the upgrade to cleanup the shop. Empty statistics tables like ps_connections and ps_guest, delete products, categories, languages ,etc that were disabled and are no longer needed and run some cleaning tool like PSCleaner or Prestools' Integrity Checks. When things become too tough you can try migration tools. You can find some of the internet and Addons. My Copy_shopdata is free but requires some expertise. Link to comment Share on other sites More sharing options...
Prestafreek Posted February 3, 2021 Author Share Posted February 3, 2021 On 2/2/2021 at 4:00 PM, musicmaster said: Vergeet het oude thema. U kunt geen PS 1.6-thema's hebben op 1.7. Mijn advies zou zijn om eerst de winkel over te schakelen naar het Prestashop-standaardthema en alle modules te verwijderen die niet onder 1.7 kunnen draaien, vervolgens te upgraden naar de nieuwste 1.6 (en eventuele problemen daarmee op te lossen) en pas vanaf daar te upgraden naar 1.7 . Bij het upgraden van Prestashop is het altijd het gemakkelijkst om een back-up voor jezelf te maken (bestanden en database kopiëren) en vervolgens de upgrade uit te voeren zonder back-up. Het upgrade-back-upsysteem van Prestashop is te foutgevoelig om op te vertrouwen. Het wordt aangeraden om vóór de upgrade de winkel op te ruimen. Maak statistiekentabellen zoals ps_connections en ps_guest leeg, verwijder producten, categorieën, talen, enz. Die waren uitgeschakeld en niet langer nodig zijn, en voer een schoonmaakprogramma uit zoals PSCleaner of Prestools 'Integriteitscontroles. Als het te moeilijk wordt, kunt u migratietools proberen. U kunt een deel van internet en add-ons vinden. Mijn Copy_shopdata is gratis, maar vereist enige expertise. Link to comment Share on other sites More sharing options...
Prestafreek Posted February 3, 2021 Author Share Posted February 3, 2021 (edited) Hi, First I installed new 1.7.7.1 default theme, then I uploaded new theme and migrated everything manually from old database. Almost everything works fine except for the product images that are not visible. (not even in admin) Where did I go wrong.? Edited February 3, 2021 by Prestafreek (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted February 3, 2021 Share Posted February 3, 2021 42 minutes ago, Prestafreek said: First I installed new 1.7.7.1 default theme, then I uploaded new theme and migrated everything manually from old database. Almost everything works fine except for the product images that are not visible. (not even in admin) Where did I go wrong.? Images are not visible, but the product text is there? You talk about migration. So this is a new installation? In that case: did you copy the /img directory? Link to comment Share on other sites More sharing options...
Prestafreek Posted February 4, 2021 Author Share Posted February 4, 2021 Yes i did copy img directory. I added 3 images manually. (+4 migrated)So total of 7 images They are visible in admin products but not in admin products detail. They are visible in frontend when i click on zoom-in otherwise not visible link to product/images i added https://www.quickzi.eu/test5/nl/vergulde-mdama/167-vergulde-trouwgordel-mdama-farah-ce003.html Link to comment Share on other sites More sharing options...
musicmaster Posted February 4, 2021 Share Posted February 4, 2021 When I look at the source code of the page in the browser I see that the images are not defined (see attached image). So there is something wrong with the coding. But to know what would require knowledge of the code. And answer to the question whether you made any changes. BTW when i look at the link you sent I don't see any image. Link to comment Share on other sites More sharing options...
Prestafreek Posted February 4, 2021 Author Share Posted February 4, 2021 Yes i have seen that but there were no changes made in the code. Did you click the zoom button? (magnifying glass) Then the 3 images i added manually are visible. The others i migrated from the old website should be somewhere in the img/c or img/s ...... folder but i can't find them Another example https://www.quickzi.eu/test5/nl/oorbellen/2302-vergulde-hangende-oorringen-anya-bo294.html Click on the magnifying glass and the images i added manually are there, the migrated are not <img class="js-modal-product-cover product-cover-modal" width="1000" src="https://www.quickzi.eu/test5/13475-thickbox/vergulde-hangende-oorringen-anya-bo294.jpg" alt="" title="" itemprop="image"> How can i solve this? Link to comment Share on other sites More sharing options...
musicmaster Posted February 5, 2021 Share Posted February 5, 2021 Product images are under the /img/p directory (c is for categories) So you have two problems: - Most image files aren't there (with an exception for the newly entered) - There is something broken in your code that makes that you don't see even the newly entered images This is not Prestashop's fault. Nearly certain you did things wrong. Try removing .htaccess. That way you will be able to see how the file system is organized. For example https://www.quickzi.eu/test5/13475-thickbox/vergulde-hangende-oorringen-anya-bo294.jpg can be found at https://www.quickzi.eu/test5/img/p/1/3/4/7/5/13475.jpg 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