News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

synchronize media to Virtuemart

Started by Ceesdu, May 01, 2018, 04:56:38 AM

Previous topic - Next topic

Ceesdu

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


Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

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.

Ceesdu

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?

Studio 42

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

Ceesdu

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

Studio 42

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

Ceesdu

Yes that is, I have check it just now.
Hi
Stdio42
This is the place where my images are.

0:/images/stories/viruemart/product/*.*

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Ceesdu

Hi Milbo,

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

Kindest regards La-ong