VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: martin-nord on October 15, 2011, 14:26:59 PM

Title: 2.0.0-RC-2i : "Caps Bug" in media upload?
Post by: martin-nord on October 15, 2011, 14:26:59 PM
Hi,

I might have found a bug in the product picture section. It's reproducable.

I wanted to add a picture to a product. I uploaded the file "image.JPG", chosing the option (x) Upload and "Saved".
After the upload I got this:
Quote
Datei /homepages/[Path to Joomla[/images/stories/virtuemart/product/image.JPG hochgeladen
File /homepages/[Path to Joomla[/images/stories/virtuemart/product/image.JPG uploaded

Produkt erfolgreich gespeichert [product saved sucessully]

vmError: Couldnt create thumb, file not found /homepages/[Path to Joola]/images/stories/virtuemart/product/image.jpg

I renamed the file on my PC/Mac to image.jpg (small caps), uploaded it again and it worked fine.

Hope this helps.

Martin.

VM: 2.0.0-RC-2i
Joomla: 1.7.1
Title: Re: 2.0.0-RC-2i : "Caps Bug" in media upload?
Post by: Milbo on October 15, 2011, 15:51:29 PM
ahh thanks, this is a good description of the problem. You may try this file.

[attachment cleanup by admin]
Title: Re: 2.0.0-RC-2i : "Caps Bug" in media upload?
Post by: Milbo on October 16, 2011, 10:31:39 AM
Some more clarification:

When you upload a new media and a file with the same name already exist, it should create a new filename (with the number).
When you replace an old media with a new file which has the same name, the old file should get replaced by the new file. When the name is different, the old file should be deleted.
Title: Re: 2.0.0-RC-2i : "Caps Bug" in media upload?
Post by: mmatth on March 16, 2012, 15:10:48 PM
Hello i have the problem too, i get

vmError: Couldnt create thumb, file not found /homepages/[jommlapath]/images/stories/virtuemart/product/http://static.actebis-images.com/productimages/07ed2caa-7ab3-4901-a0f4-fa71d110bc9b.jpg

where can i delete the rootstring /homepages/[jommlapath]/images/stories/virtuemart/product/  to create thumb because i want to work with pic by url?

Thank you!?
Title: Re: 2.0.0-RC-2i : "Caps Bug" in media upload?
Post by: h.kleinveld on May 14, 2013, 00:06:13 AM
I have this problem too. In a sense. Virtuemart 2.0.20b, joomla 2.5.11

I have all my filenames from he images with caps, and I put them on the server with FTP. I imported all products with CSVI.

Now, somehow in the product view it doesn't see the file ( I guess it looks for .jpg and not .JPG) and it shows me the "no image found" image. When I click the "no image found" image it does open the large image though. (also not in lightbox).

I did a crude workaround in image.php, but that's not a good permanent solution. Is there a fix?

Thanks, Hein