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

[solved]Can't add image to product category and product

Started by Heffalump, October 17, 2011, 19:37:48 PM

Previous topic - Next topic

Heffalump

Hi All!
Using Joomla 1.7 & VM 2.0.0-RC-2H
When trying to add image to the product, Media file manager says:

QuotevmError: Ignore this message, when it appears while the media synchronisation process, else report to http://forum.virtuemart.net/index.php?board=127.0 : cant create media of unknown type, a programmers error, used type

When I try to add image to the category: "Product Category [ Edit ] ", on "Images" Tab, I click "Attache new image", a new window appears (see attached pic). At the bottom of the window is "Media list" title (unclickable), at the top of center border is "No image set", which is a link. If i click on it, similar thing appears in the "Images" section (see attached).
And the last strange thing: Section "Upload File" have no confirmation button. I can choose file and change radiobuttons, but cannot upload (pic attached)

Sorry if all above is simple or has long been known, I'm a rooky in VM
PS All the same in both Opera 11.51 and Chrome 14.0.835.202 m

[attachment cleanup by admin]

Milbo

This is a bit misleading, yes.

When you press attach an image, then you can attach an already uploaded image to the item (product, category,...). When you want to upload an image, then you must choose a file and use the action "upload" and then press apply at top of the page.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Heffalump

Thank you, Milbo. Logic is clear now.

Unfortunately, server's php have no php_mbstring module, and "apply" at the top of the page leads to error500. It will take some time to fix.

But what still seems strange: I have uploaded category images manually to the /images/stories/virtuemart/category, and product images also, to the /images/stories/virtuemart/product, and i expect "Attach new Image" should work. But its behaves the same way (No Image set).
And no server errors appears. Maybe You could have some ideas about it?

alexsai

Hi Heffalump,
i stressed hard vm forum with questions about media synchronization :) and maybe i could help you.
First of all check if your images are synchronized in "Media Files".
Then check if thumbnails are correctly created: in particular look out for the path in vm and the real position on the file system.


Heffalump

Thats it!
After adding php_mbstring module, everything started working normally, except one thing - VM did not accept my .png files as valid media, it sweared "wrong MIME type". But processed converted .jpg and .gif normally.
I just suggest developers to add a tooltip over the "upload" radio-button, something like "Press Apply on window Top to upload selected file". It may reduce the quantity of such dumb questions on the forum :)

Milbo

Quote from: Heffalump on October 18, 2011, 10:06:25 AM
Unfortunately, server's php have no php_mbstring module, and "apply" at the top of the page leads to error500. It will take some time to fix.

Ahhhh! Very important hint, thank you.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

function is now checking if mb is available, I set this on solved
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/