- - 5.62 - missing chmod
|Zarzal ||October 6th, 2007 06:39 AM |
5.62 - missing chmod
It seems that in adm-photo.php is missing a chmod. My server put the attribut 600 to a thumb/midsize if I move a picture. The result is a missing thumbnail (cant display while se to 600). I must use FTP to manual change it to 644 or 666.
|Chuck S ||October 6th, 2007 10:19 AM |
You sure here that it is not all thumbs and your host is not the one or two hosts I have came across that set permissions like that and they need to correct the server. There are threads here on that.
The scripts call a function move_image_cat and the files have already been set to 666 permissions when they where uploaded so there is no need to move_image_cat to chmod files. It would appear your server drops permission.
However I think your issue might be more like my original hypothesis. You need to contact the host and they should be able to clear it up. If this chmod thing affected all pictures with permissions being dropped on move then all photos medium and large would be not viewable. See its only your thumbnail which brings me right back to one or two hosts which we know Photopost has trouble with thumbs working and permissions until they correct the server. No one has of course told us what the server issue is just that they fixed it.
|Zarzal ||October 6th, 2007 11:45 AM |
All files handled by sever goes to 600. My hoster wont change the config and told me to change my scripts. So I have to find out where to set the chmod to correct the permissions in the script itself.
|Chuck S ||October 6th, 2007 01:35 PM |
Interesting and very restrictive host there. But again like i said this is just thumbs right why arent all files moved affected. See the point I was making.
You may modify the move_image_cat function in pp-inc.php and add chmod commands in there for each file. Maybe like this around line 3647 add in bold.
Content visible to verified customers only.
|Zarzal ||October 6th, 2007 01:50 PM |
Thank you, this work for me. There is another place where I put this to get thumbs if a file was uploaded. Now all work on my server. Have a nice weekend.
|Chuck S ||October 7th, 2007 11:18 AM |
Thanks however I must saw this is an issue your host can fix without any software modifications since as stated this is only happening on your thumb files.
|All times are GMT -5. The time now is 01:46 PM. || |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0