Hi Just loaded up
VirtueMart 1.1 revision 1296
and when clicking the "no image" image I get the following Message
Quote
Not Found
The requested URL/product/http://mysite.ch/components/com_virtuemart/themes/default/images/noimage.gif was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
It seems to be genarting an additional "/product/ before the URL.
Regards
David
Tracker URL -> http://dev.virtuemart.net/cb/issue/1882
What page does this happen on? I can't reproduce it.
Greg
Hi
This is one page:
http://joomla.neukom-electronic.ch/index.php?option=com_virtuemart&page=shop.browse&category_id=15&Itemid=15 (http://joomla.neukom-electronic.ch/index.php?option=com_virtuemart&page=shop.browse&category_id=15&Itemid=15)
It's Joomla 1.5.1
Regards
Quote from: iamalive on March 07, 2008, 16:52:01 PM
Hi
This is one page:
http://joomla.neukom-electronic.ch/index.php?option=com_virtuemart&page=shop.browse&category_id=15&Itemid=15 (http://joomla.neukom-electronic.ch/index.php?option=com_virtuemart&page=shop.browse&category_id=15&Itemid=15)
It's Joomla 1.5.1
Regards
Its browse_1 file.
<?php echo $image_url ?>product/<?php echo $product_full_image ?>
In shop_browse no_image gets new url:
$product_full_image = VM_THEMEURL.'images/'.NO_IMAGE;
Thanks Mauri, but I'm not quite sure what you mean.
I tried replacing
Quote$product_full_image
with
QuoteVM_THEMEURL.'images/'.NO_IMAGE;
It solves the problem, by not showing any image, not even where I do have images. Not quite my plan.
I noticed that the link generated when clicking the image contained the main URL twice:
Quotehttp://joomla.neukom-electronic.ch/product/http://joomla.neukom-electronic.ch/components/com_virtuemart/themes/default/images/noimage.gif (http://joomla.neukom-electronic.ch/product/http://joomla.neukom-electronic.ch/components/com_virtuemart/themes/default/images/noimage.gif)
so there's something too!
I hope you guys can help further.
Regards
Hi iamalive
I dont get bugFix, I only point where the bug is.
While we wait how devteam fix this bug, you can use this fix.
It is attached browse_1. Unzip it and move and owerwrite to :
/components/com_virtuemart/themes/default/templates/browse
You see the attached file when you are logged in this forum
[attachment cleanup by admin]
Hi Mauri
Thanks for this. I'ts appreciated!
regards
OK. Try SVN rev. 1305. Also, please test this for products that have regular images and for products which use a URL for their images (I don't think URL images were working before).
Greg
Yes, it works all 3 ways. One thing, and its perfect. NO_IMAGE gets no width and height.
In shop_browse.php:
else {
$product_full_image = VM_THEMEURL.'images/'.NO_IMAGE;
}
edit to:
else {
$product_full_image = VM_THEMEURL.'images/'.NO_IMAGE;
$full_image_width = '200';
$full_image_height = '150';
}
I find that if you use full image URL, you cant use Auto-Create Thumbnail?
QuoteI find that if you use full image URL, you cant use Auto-Create Thumbnail?
Correct - it does not work. I am working on it. It appears that it does everything right, then deletes the thumbnail image that was auto-created. So, it can't be that hard to fix - I just haven't found it yet. Will you enter this in the tracker?
Thanks,
Greg