I haven't run into this before until recently.
Did a fresh install of CMSMS 1.1.1 to an Apache 2.0 server running PHP 4.4.7 and MySQL 4. All went smoothly. I uploaded some files and went I tried to view them in the File Manager, I got the following:
Forbidden
You don't have permission to access //uploads/images/mid.jpg on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I checked the permissions of the uploads/images/ directory, and I have sufficient permissions, but I have no joy. Also when these are called via CSS or in a img tag, nothing displays in the browser.
Help!!!
reidjazz
Strange problem with images in CMSMS 1.1.1
Re: Strange problem with images in CMSMS 1.1.1
reidjazz,
did you check the "Image Uploads Path" and "Image Uploads Url" in your config.php?
Ronny
did you check the "Image Uploads Path" and "Image Uploads Url" in your config.php?
Ronny
-
reidjazz
Re: Strange problem with images in CMSMS 1.1.1
Ronnie,
Yes, checked that and all was OK. I remembered that the CMSMS "palm tree" logo WAS displaying OK and I could view it in my browser.
Sure enough, all the images I uploaded using the File Manager (not the one in the default install, but the other one that allows for multiple file uploads) had permissions set to 600. I have never seen that before! I changed them to 644 and all is good.
Not sure what to do about this in the future, though. It really is a drag to have to manually set these permissions.
Any ideas?
Yes, checked that and all was OK. I remembered that the CMSMS "palm tree" logo WAS displaying OK and I could view it in my browser.
Sure enough, all the images I uploaded using the File Manager (not the one in the default install, but the other one that allows for multiple file uploads) had permissions set to 600. I have never seen that before! I changed them to 644 and all is good.
Not sure what to do about this in the future, though. It really is a drag to have to manually set these permissions.
Any ideas?
Re: Strange problem with images in CMSMS 1.1.1
umask - set to 002?
-
reidjazz
Re: Strange problem with images in CMSMS 1.1.1
Setting it to 002 made no difference. This is very strange, as I have never had a problem like this before.RonnyK wrote: umask - set to 002?
reidjazz
Re: Strange problem with images in CMSMS 1.1.1
I have my umask set to 002 and my images are uploaded to 664. You did upload new pictures after changing the umask?
Ronny
Ronny
-
reidjazz
Re: Strange problem with images in CMSMS 1.1.1
Yes, I uploaded new files, and they were all set to 600 after I uploaded them...hmm...RonnyK wrote: I have my umask set to 002 and my images are uploaded to 664. You did upload new pictures after changing the umask?
Ronny

