Make a backup of the file.
On the error block you mentionned, if you replace it with this one:
Will it still return the same error message ?PHP Code:if (eregi('\\', $product_name[$i])) {
$image = substr($product_image[$i], 1);
} else {
$image = str_replace('\\', '/', $image);
$image = substr($image, 1);
}



