News:

Looking for documentation? Take a look on our wiki

Main Menu

Upload Images Not Working

Started by gpeppers, March 30, 2012, 04:45:55 AM

Previous topic - Next topic

gpeppers

I'm so sorry.  I'm not very experienced with Virtuemart.  I have version 2.0.2 with Joomla 1.5.25. 
Recently, I migrated a test site to www.vtest.vegranch.com.  My local version did not migrate well.  I had to re-associate all the image files with the products and categories. 
When I got this done, I took the test site live (to a subdomain) to get more help from the forums about other issues. 
After I did this, all the images did not come across.  I re-associate them, and still what shows is only the 'image not available" icon.  Something is obviously not set right, but I don't know what it is.  You can see an example here:
http://vtest.vegranch.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=42&virtuemart_category_id=12
I have "debug" on, and I'm getting these:
vmdebug self::$_jpConfig->lang en_gb
vmdebug vmTime: loadConfig db no: 0.00729608535767
In the back end, under
product category [edit] "roots", I get the following error:
vmError: Couldnt create thumb, file not found /hermes/bosweb/web287/b2874/ipg.vegranchcom/vtest/images/stories/virtuemart/category/Garlic, Purple Jumbo3.jpg
When I saw this, I went to Filezilla and looked in my remote directory folders here:
/vtest/images/stories/Virtuemart/Category
I see the garlic, purple jumbo3.jpg file
what setting is incorrect that virtuemart can't find the file?  It appears to be there when I look at the same path.  ?!     
It is this way for all my categories and all my products. 

jenkinhill

Why is your given url http://vtest.vegranch.com... when the error message image path you give is .../ipg.vegranchcom/... ?

Are the images published?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

gpeppers

Jenkinhill,

Oh, dear, I do not know why the given url is different than the error message.  I can only say again that I am inexperienced.  To verify, I went to my frontend (http://vtest.vegranch.com/) and clicked on the link to shop (virtuemart).  The url for that is:
http://vtest.vegranch.com/index.php?option=com_virtuemart&Itemid=266
I'm trying to see what you saw (.../ipg.vegranchcom/...), but I don't.  When I follow the link I gave in my original post, I go here:
http://vtest.vegranch.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=42&virtuemart_category_id=12
On this page is an item entry for almonds, a product I sell.  I have associated an image with it in the backend, and when I go to
virtuemart>Products>almonds>product images, one image file is associated with the item.  It is:
images/stories/virtuemart/product/Almonds_4d7face46acfa2.jpg
but it doesn't show up.  I can't figure out why.  Any suggestions are appreciated! 

jenkinhill

This is from your fist message:

vmError: Couldnt create thumb, file not found /hermes/bosweb/web287/b2874/ipg.vegranchcom/vtest/images/stories/virtuemart

You had a local version working ok - you should have made an export package of this (a backup) using Akeeba and then installed that package on the live server. That is the way I do it and so do most other Joomla/VM developers so you really duplicate the original site.  https://www.akeebabackup.com/
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

gpeppers

I am pretty sure this is what I did do.  It's just that my pictures did not come through with all the other data.  When it appeared that this was the case, I re-associated all of the images to their items (in the test site).  Then, I made an akeeba backup of the backup site, and tested that.  Which is where I am now; the backup backup's images are not coming through.