I believe this a repost of a question asked back in July by user 'grunionfab'. Another user by the name of 'surfalot' was helping him, but I didn't find a solution if one was ever posted. If there was one posted at some point I would really appreciate a link.
Issue: Image with same name not uploading/displaying in same category.
See http://www.reactivemicro.com/index.php?cPath=1_35 for example. Note most images are visually the same, but all are named differently.
If I try to upload a duplicate image with the same name I don't receive the green bars on the top of the Admin screen as I normally would if an image had been uploaded, and the displayed image on the preview screen has a broken red X in it. If I continue and click the 'Insert' button I receive an 'IMAGE DOES NOT EXIST' and '/tmp/phptRbYPs' message just below the 'Edit', 'Delete', 'Move', 'Copy To' buttons of the main Admin screen. I also have a similar issue if I have multiple items and add Additional Images with the same names.
My image Upload Location is /home/reactive/public_html/image/products/ii--ii/apple-ii. Write permissions are not an issue.
Now surfalot mentioned in one post to try this code:
/catalog/admin/includes/functions/general.php
if (file_exists($dir_fs_catalog_images_wrk.$thumb)) {
@unlink($dir_fs_catalog_images_wrk.$thumb);
}
That did allow the image to be displayed in the Admin, but in the Store the image had a broken red X in it, but would display if clicked on. So I believe they were on the right track with that piece of code and module.
Any help would be appreciated. I'm also willing to help compensate you for your time.
Henry
ReactiveMicro.com