Author Topic: Migrating from VM 1.1.9 to VM 3.0.16 - Product images missing  (Read 8475 times)

RoadRacerKev

  • Beginner
  • *
  • Posts: 1
  • A beginner
Hi

I am hoping someone can help me.

A few months ago was asked to take over the hosting and upgrading of some websites as the current admin wanted out of the industry. I have limited knowledge and at that point no previous knowledge of Joomla.

The first site I inherited has been built in Joomla 1.5.26 using Virtuemart 1.1.9, PHP 5.2.17

It has been redesigned in Joomla 3.5 using Vitruemart 3.0.16 and is almost ready to deploy. The site is an online recordstore.

The problem arises with the transferring of the database (around 11,500 items) and the Images folder.

Currently the existing website displays all images associated with each item in the database. There is the primary image which is the front cover of an album which is given a unique file name by Virtuemart on import and then other images imported near the end of the procedure which retain their original digital camera file name.

The folder at ~/components/com_virtuemart/shop_image/product
is only showing 8998 files when I look via FTP. It should be showing approximately 11,500 as there should be one primary image for every database item.

I FTP’d the contents to the correct folder in the new Joomla 3.5 development and my developer imported the database using CSVi Pro. After the import approximately 25% of the products are showing no image. This tallies with the image count of 8998 in the Product folder.

I asked the owner of the site to go through the process of adding an item to the database. After adding 10 products which all display correctly on the Joomla 1.5 installation, I went back through FTP to view the Product folder to see if the image count had changed and it hadn’t, it still displays 8998.

Question 1.
What is happening to the images in the Product folder and why is the image count not changing?

Question 2.
Where are the additional images (other that the primary image with its unique Virtuemart file name) stored?


Regards

Kevin

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3945
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Migrating from VM 1.1.9 to VM 3.0.16 - Product images missing
« Reply #1 on: June 22, 2016, 13:14:43 PM »
The image Count is probably a restriction in Your website. Usually this would be 9999 files in one directory. I solved t his by sorting all the files in separate directories: images/stories/product/lenshoods etc, sorted by type of Product.

The following images are usually stored the same way and in the same location as the main image. There is really no distinction other that the sort order for the images in the product. There are extension to help with this, csvi pro and an extension from studio 42 is what I come to think of right now. But check with Your host about the number of images displayed for each directory.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4728
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Migrating from VM 1.1.9 to VM 3.0.16 - Product images missing
« Reply #2 on: June 22, 2016, 17:03:00 PM »
Hi, i think my tool do not solve the problem.
Perhaps the import do not work because PHP max_execution time and the import stop because it's too long to process.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3945
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Migrating from VM 1.1.9 to VM 3.0.16 - Product images missing
« Reply #3 on: June 23, 2016, 06:32:51 AM »
Hello

You are probably right, I didn´t think of that. But shouldn´t there be any error about this showing ?
Have You tried to add more images in the new site manually and see if they are visible in the image directory ?
If they are beeing added then there probably is a issue with execution time during transfer.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.