Quote:
Originally Posted by Norma Kennedy All I know is that when my customers try to upload photos (not all the time just occasionally)
the thumb nail will not show up until I reset the permissions. |
Norma yes that helps and my answer would still be the same. There really is nothing anybody can do for you except your webhost. I do not think this is a difficult issue and I can not speak on there behalf as to why they can not comprehend the issue.
From a code perspective your data directory is set to 777 permissions. That enables the software to create any category directories needed when you create a category etc. Those directories are all set through our program to 777 permissions.
When your users upload photos the server's image processor will create a medium and thumbnail based off your settings. Now in our code we explicitly use a chmod command to set permissions on any images to 666.
Code:
Content visible to verified customers only.
If that thumbnail and I have only seen this a couple times does not get set to 666 permissions thats a server hiccup misconfiguration etc. Your server should allow the program to set permissions on the file. If your file say is defaulting to say 600 then thats your issue. At all times your server config setup should default any file to 644 permissions which means viewable.
That is most definately something your host can fix and should. It is not coming from the software it is server side. That is why I have said all along your host needs to fix it. I understand this is frustrating for you but I hope my explanation helps and feel free to copy and paste my post to your host. Software side all we can do is issue the proper php commands. If your server doesn't do it then that is on there side of things.
I have seen this issue maybe 4 times over the years but I am not a server guy so I can not tell your host how to correct there server.