aperry
7th of October 2007 (Sun), 20:52
Hi all,
I have an EE site that's been ported from Linux to Windows. The porting process was relatively smooth (copied files, backed up and restored DB, and updated paths), but recently I've added some more pictures and noticed some odd behavior.
Some pictures in the galleries seem to be "missing", meaning I can see their label in the gallery but no images (thumbnails and sizes are "blank"). Upon further investigation I noticed that in each case the URL for the image is looking for a ".JPG", whereas the actual filename is ".jpg". Of course, when I change the filenames to the appropriate "case" everything is fine. However, I looked in the MySQL tables and noticed that for these particular images there seem to be two entries in the DB (one for the uppercase extension, and one for the lowercase extension). So in the situation where I add files test.jpg and test.JPG, EE is treating them as two separate non-duplicate files but it seems that they're overwriting each other in the photos directory since it's Windows and therefor not case sensitive.
Anyway, I had thought EE was pretty good at locating and changing duplicate filenames as they're added. Is it possible that it has trouble with duplicates that have different case extensions when running in Windows? Or is there something obvious (like a setting) that I'm overlooking?
Thanks!
Aaron
I have an EE site that's been ported from Linux to Windows. The porting process was relatively smooth (copied files, backed up and restored DB, and updated paths), but recently I've added some more pictures and noticed some odd behavior.
Some pictures in the galleries seem to be "missing", meaning I can see their label in the gallery but no images (thumbnails and sizes are "blank"). Upon further investigation I noticed that in each case the URL for the image is looking for a ".JPG", whereas the actual filename is ".jpg". Of course, when I change the filenames to the appropriate "case" everything is fine. However, I looked in the MySQL tables and noticed that for these particular images there seem to be two entries in the DB (one for the uppercase extension, and one for the lowercase extension). So in the situation where I add files test.jpg and test.JPG, EE is treating them as two separate non-duplicate files but it seems that they're overwriting each other in the photos directory since it's Windows and therefor not case sensitive.
Anyway, I had thought EE was pretty good at locating and changing duplicate filenames as they're added. Is it possible that it has trouble with duplicates that have different case extensions when running in Windows? Or is there something obvious (like a setting) that I'm overlooking?
Thanks!
Aaron