RE: joomla/administrator/components/mod_virtuemart/classes/ps_product.php
Received an error message from ps_product.php when thumbnail graphic was missing.
getimagesize() reported error when file was not found.
Fixed problem by adding a simple check to see if the file exists before calling getimagesize()
Replaced line 1381:
$arr = getimagesize(str_replace( IMAGEURL, IMAGEPATH, $url ));
With this:
$f = str_replace( IMAGEURL, IMAGEPATH, $url );
if ( file_exists($f) ) {
$arr = getimagesize( $f );
$width = $arr[0]; $height = $arr[1];
} else {
$width = 100; $height = 100;
}