VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Ceesdu on May 01, 2018, 04:56:38 AM

Title: synchronize media to Virtuemart
Post by: Ceesdu on May 01, 2018, 04:56:38 AM
Hi,

I use Virtuemart version 3.2.14

www.laongvivah.com

Setting    Value

PHP Built On    Linux laongvivah.com 4.4.121+20180312.0651.2ea74bd4.wheezy #1 SMP Mon Mar 12 06:56:25 UTC 2018 x86_64
Database Type    mysql
Database Version    5.5.5-10.1.30-MariaDB-1~xenial
Database Collation    utf8_general_ci
Database Connection Collation    utf8mb4_general_ci
PHP Version    7.0.29
Web Server    Apache
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 3.8.7 Stable [ Amani ] 18-April-2018 14:00 GMT
Joomla! Platform Version    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0


When I use the button "synchronize media to Virtuemart" I get a list with products who are missing.
Those products where deleted. How can I remove that list and where?


Here a part of the list;
Notice
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/FAN-00406.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/FAN-00134.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06983.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/FAN-00138.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/FAN-00128.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/vendor/IMG_1005CROP.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06769.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06736.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06711.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06708.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06696.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06548.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06545.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06522.jpg is missing
File for /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/DM-06511.jpg is missing


Best regards La-ong

Title: Re: synchronize media to Virtuemart
Post by: Jörgen on May 01, 2018, 16:57:02 PM
Hello Patrick in studio42 has en extension that can clean up among product images. I have not tried this extension, but use several of his extensions. Please check with him if his extension could help with this.

regards

Jörgen @ Kreativ Fotografi
Title: Re: synchronize media to Virtuemart
Post by: Studio 42 on May 02, 2018, 00:29:22 AM
See https://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm
It should work for your case using the "Error" button.
Of course always do a Database copy (akkeba or mysql) before apply because the result cannot be reverted.
Title: Re: synchronize media to Virtuemart
Post by: Ceesdu on May 03, 2018, 04:28:18 AM
Shop 42,

I have downloaded and install you plugin VMmedia clear.and used both options clean and error, without any result.

What can I do to remove that?
Title: Re: synchronize media to Virtuemart
Post by: Studio 42 on May 03, 2018, 08:13:35 AM
I think that your case is not implemented.
clean button remove unused file(not in DB)
error button remove records from mysql virtuemart_medias Table  + virtuemart_product_medias when the file is not found.
If it not work, on you have one of this case, perhaps something was modified in VM 3.2.14, because the plugin is Vm2+ compatible since more then 2 years. And i need then to modify the code for vm 3.2.14
Title: Re: synchronize media to Virtuemart
Post by: Ceesdu on May 03, 2018, 11:28:51 AM
Studio 42,

It's a pity I still have this problem have you an Idea what I can do? Or waiting for your update?

Kindest regards La-ong
Title: Re: synchronize media to Virtuemart
Post by: Studio 42 on May 03, 2018, 13:33:22 PM
I was thinking on another problem.
Is /customers/0/e/0/laongvivah.com/httpd.www/images/stories/virtuemart/product/ your current media path ?
Because i tested it with Virtuemart 3.2.14 and it work
Title: Re: synchronize media to Virtuemart
Post by: Ceesdu on May 04, 2018, 10:35:37 AM
Yes that is, I have check it just now.
Hi
Stdio42
This is the place where my images are.

0:/images/stories/viruemart/product/*.*
Title: Re: synchronize media to Virtuemart
Post by: Milbo on May 07, 2018, 18:45:05 PM
Ceesdu, did you notice that you have two delete buttons on the top? one is only for the entry, and the other is for "entry and file". From my point of view, you just need to delete the entries of the missing files.
Title: Re: synchronize media to Virtuemart
Post by: Ceesdu on May 08, 2018, 07:54:53 AM
Hi Milbo,

You have right I have used the delete button. But how I get now those entries deleted?

Kindest regards La-ong