Page 1 of 1

Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 7:49 pm
by reidjazz
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

Re: Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 8:02 pm
by RonnyK
reidjazz,

did you check the "Image Uploads Path" and "Image Uploads Url" in your config.php?

Ronny

Re: Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 8:16 pm
by reidjazz
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?

Re: Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 8:17 pm
by RonnyK
umask - set to 002?

Re: Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 8:27 pm
by reidjazz
RonnyK wrote: umask - set to 002?
Setting it to 002 made no difference. This is very strange, as I have never had a problem like this before.

reidjazz

Re: Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 8:32 pm
by RonnyK
I have my umask set to 002 and my images are uploaded to 664. You did upload new pictures after changing the umask?

Ronny

Re: Strange problem with images in CMSMS 1.1.1

Posted: Thu Sep 20, 2007 8:35 pm
by reidjazz
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
Yes, I uploaded new files, and they were all set to 600 after I uploaded them...hmm...