VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: patrik60 on July 08, 2009, 23:35:08 PM

Title: html warning after rev 1841
Post by: patrik60 on July 08, 2009, 23:35:08 PM
After the changes in ps_product.php on line 1355 from

$height = $width = '';

to

$height = $width = 0;

I get html warnings because all products without images (noimage.gif) contain 00 in the img tag:

e.g. <img src="http://www.xxx.ch/components/com_virtuemart/themes/default/images/noimage.gif"00 alt="yyy" border="0" />

When undoing the patch 00 disapears.

Patrik
Title: Re: html warning after rev 1841
Post by: aravot on July 09, 2009, 00:47:25 AM
I don't have such error, try r1842.
Title: Re: html warning after rev 1841
Post by: patrik60 on July 09, 2009, 10:44:02 AM
Problems remain the same.

btw: the same problems exists at your site:

<img src="http://www.smartshoppsters.com/components/com_virtuemart/themes/default/images/noimage.gif"00 class="browseProductImage" border="0" title="test" alt="test"  />

and

<img src="http://clipart.by/picsearch/21020.jpg"00 class="browseProductImage" border="0" title="1 Person" alt="1 Person"  />

at: http://www.smartshoppsters.com/index.php?page=shop.browse&category_id=1&option=com_virtuemart&Itemid=2&vmcchk=1&Itemid=2
Title: Re: html warning after rev 1841
Post by: aravot on July 09, 2009, 18:04:26 PM
I don't see it, where? Do you mean error on screen or validation, if the latter then is not a priority as there are more important bugs to be fixed.