News:

Support the VirtueMart project and become a member

Main Menu

migration ok but no image in product

Started by berges, January 30, 2012, 12:00:33 PM

Previous topic - Next topic

berges

hello
i do a migration to vm2 on j!2.5 it good
but nothing in image product ....
the are in images/stories/ ...
but in administration nothing in image tabs in product ...
how to solve this ?
Regards

kiofcon

need to publish one by one all the photos from media. worked for me

berges


Milbo

Use the list, set it to 100 media and it should work quite fast. You can also use this sql

UPDATE `jos_virtuemart_medias` SET `published`= 1 WHERE `published`=0


of course you must adjust the jos_ prefix according to your settings.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

berges

it doesn't work ...
when i go in list of product all media colum have 0
i try synchronise media but nothing ...
i try your sql but nothing change ... other idea ?

Milbo

First dont use j2.5, second are you sure that the images are in the correct subfolders?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

berges

hello
yes images are in images/stories/virtuemart/ ...
when i synchronise media virtuemart found all but i can link automaticly

Milbo

Quote from: berges on February 01, 2012, 14:12:28 PM
yes images are in images/stories/virtuemart/ ...
When you use the standard folders, this folder is wrong, the right folder for the product images is images/stories/virtuemart/products

Quote from: berges on February 01, 2012, 14:12:28 PM
when i synchronise media virtuemart found all but i can link automaticly
?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

berges

hello
image 1 my folder .. i think it's good
image 2 list of product -> nothing in media
image 3 use synchronize media -> image found but not synchronize with product
...
thanks for your help

[attachment cleanup by admin]

Milbo

Because you uploaded your images to the category folder. You can adjust your folders in the config to use for all media the same folder, but vm2 uses for every kind of media an own folder, product, category, manufacturer, vendor, ...
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

berges

...not
i my screen shot is the category folder, i have product folder with all my image product in images/stories/virtuemart/product/
My configuration path is
##Paths
    assets_general_path=components/com_virtuemart/assets/
    media_category_path=images/stories/virtuemart/category/
    media_product_path=images/stories/virtuemart/product/
    media_manufacturer_path=images/stories/virtuemart/manufacturer/
    media_vendor_path=images/stories/virtuemart/vendor/

and in all my page of virtuemart i have the basic product image unaviable
other idea ?

Bruce Morgan

I migrated and now have VM.2.01N/J2.5.1 running on a local test site.  All went well except I did not migrate the images.  I manually transferred them into the correct folders after migration and tried to synchronize the media again but nothing changed.  The images are in the folder but they are not linked to the products.  Is there a way to back up a bit and restore the images without going back to square one?

Bruce

berges

nothing, no solution actualy .... i test 2.0.1 of virtuemart .... samething

carsten888

Only reuploading all images seems to work.

I copy-pasted the images from
components\com_virtuemart\shop_image\product
to
images\stories\virtuemart\product

Imported the media at shop > media files.

I checked the database tables after the migration, but the image-data is simply not in the product_image database table. Also not in the product table.
In the old version that data was in table 'product' column 'product_full_image', but that data is nowhere in the database after migration.

PRO

Quote from: berges on January 30, 2012, 12:00:33 PM
hello
i do a migration to vm2 on j!2.5 it good
but nothing in image product ....
the are in images/stories/ ...
but in administration nothing in image tabs in product ...
how to solve this ?
Regards

did you MOVE the images into the folder FIRST before migrating?