VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: mighty94033 on November 19, 2012, 22:59:37 PM

Title: Images not migrated how to solve
Post by: mighty94033 on November 19, 2012, 22:59:37 PM
Hello I know there is quite a lot of posts but I still cant get this to work. I have made the migration a couple of times and the images do not appear in the product area. they do appear in the shop/media section and they are in the database but not under products tab products. What have I done wrong it seems like the path is incorrect as the media files are there just not connecting. Any advice would be very much appreciated.
Title: Re: Images not migrated how to solve
Post by: bytelord on November 19, 2012, 23:29:02 PM
Hello,

Images are not migrated automatically, you can upload your images and then to to Tools -> Tools & Migration and Sync Media files

Alternative you can use the following: http://forum.virtuemart.net/index.php?topic=109502.0

Regards
Title: Re: Images not migrated how to solve
Post by: troken on November 21, 2012, 11:46:02 AM
I have this problem
Migrate correctly, but not see images.
I think the problem in my virtuemart.cfg
This is my codedefine( 'URL', 'http://localhost/infocomputer/' );
define( 'SECUREURL', 'http://localhost/infocomputer/' );

if ( @$_SERVER['HTTPS'] == 'on' ) {
define( 'IMAGEURL', SECUREURL .'components/com_virtuemart/shop_image/' );
define( 'VM_THEMEURL', SECUREURL.'components/com_virtuemart/themes/default/' );
} else {
define( 'IMAGEURL', URL .'components/com_virtuemart/shop_image/' );
define( 'VM_THEMEURL', URL.'components/com_virtuemart/themes/default/' );
}
define( 'VM_THEMEPATH', $mosConfig_absolute_path.'/components/com_virtuemart/themes/default/' );

define( 'COMPONENTURL', URL .'administrator/components/com_virtuemart/' );
define( 'ADMINPATH', $mosConfig_absolute_path.'/administrator/components/com_virtuemart/' );
define( 'CLASSPATH', ADMINPATH.'classes/' );
define( 'PAGEPATH', ADMINPATH.'html/' );
define( 'IMAGEPATH', $mosConfig_absolute_path.'/images/stories/virtuemart/' );

Can you help me?
With plugin of this post http://forum.virtuemart.net/index.php?topic=109502.0 not work for me.
Thank you
Title: Re: Images not migrated how to solve
Post by: jenkinhill on November 21, 2012, 15:12:52 PM
VirtueMart 2 does not use virtuemart.cfg.php - that file is for VM1.1
Title: Re: Images not migrated how to solve
Post by: troken on November 21, 2012, 15:29:13 PM
Thanks
And what is the problem with images when migrate version?
In media option of virtuemart, see correctly all images

Thanks again
Title: Re: Images not migrated how to solve
Post by: Milbo on November 27, 2012, 09:54:24 AM
You must first copy the images to the correct directory. Or change the paths in the configuration to your old vm1 directories.

then synchronise media, then do the migration. Then one image is "migrated" that means correctly attached to the product.