Hi,
When I "Synchronize media to VirtueMart" I get at least a hundred messages like this: "File for /home/livingstudio/public_html/images/stories/virtuemart/product/secrid-wallet-s-black-amazon.jpg is missing"
I understand this is both a removed product and a removed image. What is still calling for the files? Where can I find this and if possible, remove in the database? Which table and which column?
This is significant on this site, that I have upgraded from J2.5 & VM2.5 to J3 & VM3
Cheers
My site: https://livingstudio.se
Hi,
If you removed the file, you need to remove it from the "media" list. Else you continue to get this message.'File for XXX is missing".
I know it's a pain. Perhaps some core Dev add the feature to remove media not anymore existing.
Regards,
Patrick K
Great! Thanks a lot Studio 42.
Yes a filtering option would be nice - one could then simply mark all missing files at once. But it was really quite simple, anyway, when I saw them all with an exclamation sign.
This leads me to next question: Do you happen to know what this message means?:
Error
vmError: COM_VIRTUEMART_URL_NOT_VALID
Thanks again - you made my day and I learned more by spin off effect.
Hi,
Quote from: betterlead on October 26, 2015, 09:47:27 AM
This leads me to next question: Do you happen to know what this message means?:
Error
vmError: COM_VIRTUEMART_URL_NOT_VALID
I have do a simple search for COM_VIRTUEMART_URL_NOT_VALID:
if (strpos ($this->file_url, '..') !== FALSE) {
$ok = FALSE;
vmError (vmText::sprintf ('COM_VIRTUEMART_URL_NOT_VALID', $this->file_url));
}
This mean that you have
.. in the file url for a media.
Hi,
Ok, excuse my ignorance, what would be the cure?
fix the url .. it is saying u have a double .. in the url
if u provide a text for the constant like 'non valid url: %s'
the url should also echo out after the error message
Quote from: GJC Web Design on October 26, 2015, 23:21:16 PM
fix the url .. it is saying u have a double .. in the url
if u provide a text for the constant like 'non valid url: %s'
the url should also echo out after the error message
he cannot see the right message (and url) because he have :
vmError: COM_VIRTUEMART_URL_NOT_VALIDthis mean no language string at all.
Yep, true. I have searched for the constant and couldn't find it.
I'm still "out in the blue".
Skickat från min LG-H815 via Tapatalk
Studio 42 -> thats why I said.. if u provide a text for the constant like 'non valid url: %s' ::)
QuoteI have searched for the constant and couldn't find it.
then make it....
Ah!
Skickat från min SM-G925F via Tapatalk
Hmmm, I think I need help, because I still don't get it... See attached screen shot.
Hello
Have You added it to both frontend and backend ?
Jörgen @ Kreativ Fotografi
Yes
Skickat från min LG-H815 via Tapatalk
Maybe you have a general path problem? I have no clue, why it should not be translated and BE language should be enough
To add to the confusion-- in 3.0.11 components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini I find line 521
COM_VIRTUEMART_URL_NOT_VALID="Url is not valid"
but life is too short....
just add in administrator\components\com_virtuemart\tables\medias.php ~ line 105
//vmError (vmText::sprintf ('COM_VIRTUEMART_URL_NOT_VALID', $this->file_url));
vmError ('url not valid: '.$this->file_url);
thx, fixed.
Wow! //
Thanks, "Mr Eliminator".
http://dev.virtuemart.net/attachments/download/975/com_virtuemart.3.0.11.2_extract_first.zip
should show now the path of the file creating the problem