VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: antifragile on September 21, 2016, 10:40:19 AM

Title: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: antifragile on September 21, 2016, 10:40:19 AM
Hi, following the update to 3.0.18 (from 3.0.16) I am now also getting this error, right on the homepage and in the webshop, but not on other pages (COM_VIRTUEMART_FILE_NOT_FOUND). If you search for that on Google, there are dozens of sites that also have this error.

I have synchronized media files. I do have some missing ones, but these have been there for ages, and the error message did not appear.

Please advise.

Dan

J3.6.2
VM3.0.18
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Milbo on September 21, 2016, 11:47:43 AM
This happens, when a file is not found. Just login as admin, then you can see which file it tries to load.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: antifragile on September 21, 2016, 13:05:33 PM
Indeed, after logging into the frontend as admin, it did show the list of missing files. Oddly enough they were where they should be, and that the issue wasn't there before the update. I had to re-enter the pics into the product. All other products were fine. But that solved it.

Many thanks Milbo!!
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Selam on September 22, 2016, 00:09:13 AM
PHP7 | J3.6.2 | VM3.0.18

Hi, same problems, but the hint of Milbo doesnt help me.
After logging in as admin i didnt see any missing files.
:-\ Have anyone a other solution for this problem? thx Selam

site: www.natural-spa.at
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: antifragile on September 22, 2016, 09:14:27 AM
My problem reappeared. Even after having identified the missing files. As mentioned, I had deleted the product images, reloaded them again. It worked temporarily.

It is saying:

vmError: COM_VIRTUEMART_FILE_NOT_FOUND
vmError: Couldnt create thumb, file not found

for about 8 images that I had added to a product. The thumbnails are there in the thumbnail /resized folder, as are the original images in the folder /images/stories/virtuemart/product/XXXX

Oddly, the problem is only for one single product.

Any advise is welcome!

Thanks and regards,

Dan
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Jörgen on September 22, 2016, 10:02:21 AM
Hello

@antifragile Do You have any related product or perhaps category, that has missing images, for this product ?
You may also wish to add a language override for this language key (COM_VIRTUEMART_FILE_NOT_FOUND)

@selam
I notice that I see the text File not found when clicking on Product details, and clicking on category or manufacturer I find the language key COM_VIRTUEMART_FILE_NOT_FOUND displayed.
This indicates perhaps that the error sometimes seems to come from Joomla backend, or otherwise the text File not found would be displayed. I feel that this is a bit confusing. Should the error not come from the same source, Joomla front end using the same language file? I think that is strange  ??? Jumping between category and product details displays either "File not found" or COM_VIRTUEMART_FILE_NOT_FOUND.

regards

Jörgen @ Kreativ Fotografi
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Milbo on September 22, 2016, 11:48:19 AM
Quote from: antifragile on September 21, 2016, 13:05:33 PM
I had to re-enter the pics into the product.

You opened the product and stored the images again? From which version did you update?
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: antifragile on September 22, 2016, 12:42:27 PM
Quote from: Milbo on September 22, 2016, 11:48:19 AM
Quote from: antifragile on September 21, 2016, 13:05:33 PM
I had to re-enter the pics into the product.

You opened the product and stored the images again? From which version did you update?

Yes, delete the images from the product and stored them again via the search images functionality up on top.

Update was from 3.0.16. Before the update all was fine, no error messages. I had the product running for a few days already.

This may be subjective, but since I searched for that in Google yesterday, there seem to be many more shops today with that error.

Thanks again!
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: antifragile on September 22, 2016, 12:45:15 PM
Quote from: Jörgen on September 22, 2016, 10:02:21 AM
Hello

@antifragile Do You have any related product or perhaps category, that has missing images, for this product ?
You may also wish to add a language override for this language key (COM_VIRTUEMART_FILE_NOT_FOUND)

regards

Jörgen @ Kreativ Fotografi

Not that I know off, I have no related producty and the category seems fine.

What would the override achieve? That the error message disappears?
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Jörgen on September 22, 2016, 13:37:40 PM
The error would not disappear. But I Think it is strange that the "same" error seems to be displayed in two ways as "No file found" and as COM_VIRTUEMART_FILE_NOT_FOUND.

In the case of category view the COM_VIRTUEMART_FILE_NOT_FOUND is shown and in the case Product view the translation "No file found" is shown. I would for neatness make a language override that displayed "No files found" instead of COM_VIRTUEMART_FILE_NOT_FOUND. Displaying the language keys gives me the impression of badly written code or someone isn´t bothered to clean it up.

regards

Jörgen @ Kreativ Fotografi
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: StefanSTS on September 23, 2016, 01:28:56 AM
Did anyone try to replace the administrator/components/com_virtuemart/helpers/mediahandler.php with the one from the version before?

Cannot reproduce the problem atm, so if someone would try, it might be possible to narrow down the problem.

Stefan
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: antifragile on September 24, 2016, 08:28:28 AM
I changed the PHP from 5.3 to 7 (because my provider told me that support is running out) and now the error seems to be gone. Unsure whether this was the cause. For a moment I had thought it may be a simple cache issue, but I had reproduced the error using a different browser (and in the admin section I am using an automatic cache deleter anyways). So it may have indeed been the PHP version.

Thanks to all looking into this!

Dan
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Konst on September 26, 2016, 10:30:25 AM
Hi! Upgraded from 3.0.16 to 3.0.18 there were errors on some pages.
Site: www.gelkos.ru www.xn--c1aepdqs.xn--p1ai
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Thanasis on October 03, 2016, 09:59:10 AM
The same here, i upgraded from 3.0.16 to 3.0.18 an i have the COM_VIRTUEMART_FILE_NOT_FOUND error. Thanks
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Jumbo! on October 03, 2016, 10:22:02 AM
Go to VirtueMart → Media Files and click on "Synchronize media to VirtueMart" button displayed at the top left side in the page.

Clear cache of your site and check again.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Thanasis on October 03, 2016, 10:26:35 AM
I Synchronize media, i clear the cache but the error exists. Thanks.
NOTE:When i  Synchronize media i have many missing files but i thinks the problem is something else.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Thanasis on October 03, 2016, 11:10:51 AM
I found the solution,  i login as admin and i found that i have some images with greek language and the virtuemart Couldnt create thumb.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Konst on October 06, 2016, 09:26:59 AM
Won error!!! As Jumbo! wrote Virtuemart > Shop > Media files. 1.Have removed all unnecessary images from the demo data (there was a lot of garbage not even related to the template!) 2. Found some lost pictures. What to do : in the PRODUCTS or CATEGORIES removed the picture (although the site was some-perhaps they are not spelled out in the related files) and re-uploaded. Thank you for your attention!
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: panta7 on October 13, 2016, 15:17:55 PM
Same problem here.
I went to VirtueMart → Media Files and click on "Synchronize media to VirtueMart" button displayed at the top left side in the page, but it doesn't works for me.
Any other suggestion, please?
Thanks
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Konst on October 14, 2016, 09:13:39 AM
After you have clicked the synchronize button will open a list with all the images of products and categories. If no picture, instead the exclamation mark. Upload the picture file.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: wdad on October 25, 2016, 17:45:10 PM
I had the same(identical) problem in my shop. After I have exchanged several category pictures, the error message does not come any more.

Helmut
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: ronaldotto on October 26, 2016, 10:36:52 AM
I still have the error.

Loged in as admin and visited the broken category.
Result: vmError: COM_VIRTUEMART_FILE_NOT_FOUND

Klicked the synchronise images button. Got error 1267

Removed the picture from that category and uploaded a new one.
Still the error.

I'm lost.
Have 3000+ pictures. Thus syncing the images is no fun either.

The most important and annoying thing here is: WHAT is VM missing!
How can i see what is missing... might just have nothing to do with images.

Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: ronaldotto on October 26, 2016, 10:54:39 AM
It is this page: https://www.2ekansgames.nl/webshop/atari-22 (i changed the error with a language override to make it moor friendly)
And if you click you see other categories with the same error.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: boutradelabs@gmail.com on October 27, 2016, 17:08:32 PM
I had the same problem at http://lamparas24.com/es/  and I have logged in as administrator and the file missing was an old unpublish product picture. I uploaded again and problem solved.

Thanks

Nacho
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Milbo on November 02, 2016, 12:44:28 PM
Quote from: Milbo on September 21, 2016, 11:47:43 AM
This happens, when a file is not found. Just login as admin, then you can see which file it tries to load.

Just as reminder. The error was always there, I just changed the error message. The next version has again a changed error message, so that it is visible only for admins.
The problem is always a file, which cant be found on the file system. The reasons are differently:
- just deleted
- charset problem, the file is stored with another charset than the one used in the db.
- file permission problem. The file is there, but the phpuser is not allowed to open it.
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Milbo on November 04, 2016, 19:44:33 PM
This version should remove the message for customers http://dev.virtuemart.net/attachments/download/1027/com_virtuemart.3.0.18.2_extract_first.zip, of course use a backup for testing [reupped]
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: en jie rudd on November 30, 2016, 05:05:53 AM
Hi

I have got exact same issue on my site:
1/ only on 'XXX-shop.html' page
2/ I have "Synchronize media to VirtueMart"
3/ I have login from front end as administrator and found no missing files
4/ even more interesting, I have just copied the live site to a development site (the only difference being the live site is on https:// with a SSL) and the error is not appearing on the development site.

Thank you for any assistance in advance.

J3.6.4
VM3.0.18

Regards

En Jie


Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: en jie rudd on December 01, 2016, 01:55:11 AM
Hi

I discovered the missing file, although it was not listed in the debug report.

Conclusion:
1/ the error is related to a file missing, in my case an image file (accidentally deleted)
2/ it did not have anything to do with SSL (still cannot explain as why the site without SSL is not displaying the error.)

Regards

enjie
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Brockney on December 01, 2016, 19:16:04 PM
Quote from: Jumbo! on October 03, 2016, 10:22:02 AM
Go to VirtueMart → Media Files and click on "Synchronize media to VirtueMart" button displayed at the top left side in the page.

Clear cache of your site and check again.

This removed the error message for my site. There were a few media files that needed uploading and after clearing the cache the error had gone.

Hope others succeed too!

Many thanks :)

Anybody want to clear out the lungs after Black Friday, use the code BROCKNEY for a 10% discount at www.emporiumvape.com
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Milbo on December 13, 2016, 17:20:08 PM
Quote from: Milbo on November 02, 2016, 12:44:28 PM
Quote from: Milbo on September 21, 2016, 11:47:43 AM
This happens, when a file is not found. Just login as admin, then you can see which file it tries to load.

Just as reminder. The error was always there, I just changed the error message. The next version has again a changed error message, so that it is visible only for admins.
The problem is always a file, which cant be found on the file system. The reasons are differently:
- just deleted
- charset problem, the file is stored with another charset than the one used in the db.
- file permission problem. The file is there, but the phpuser is not allowed to open it.

The current version is now http://dev.virtuemart.net/attachments/download/1038/com_virtuemart.3.0.18.7_extract_first.zip
Title: Re: COM_VIRTUEMART_FILE_NOT_FOUND
Post by: Didier1 on December 20, 2016, 00:02:49 AM
The same here, i upgraded from 3.0.16 to 3.0.18 an i have the COM_VIRTUEMART_FILE_NOT_FOUND error. Solution for me was Milbo :

"The current version is now http://dev.virtuemart.net/attachments/download/1038/com_virtuemart.3.0.18.7_extract_first.zip"