coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: thetoaster on August 23, 2006, 01:58:24 PM

Title: Images are not presented anymore
Post by: thetoaster on August 23, 2006, 01:58:24 PM
Hello

Since a Time, there aren't any Images showed anymore in my gallery. I have updatet to 1.4.8 and still doesn't work. I didn't change the permissions, but I allthough think it has to do with it.
My gallery is at: http://fotos2.pfadi-sa.ch
Can anybody help me, what there would be to do. Adding new pics with batch isn't also working anymore. :-(
The dev-output didn't show anything suspicious.

thanks for any help!
Title: Re: Images are not presented anymore
Post by: thetoaster on August 28, 2006, 05:01:00 PM
Please help? does this have to do with permissions ? Files and directories are all set to 774.
What can I do? thanks a lot!
Title: Re: Images are not presented anymore
Post by: Joachim Müller on August 28, 2006, 06:07:19 PM
774 is pretty exotic, don't you think? Only assigning read permissions (that's what the "4" stands for) may not be enough, I suggest granting execute permissions as well.
Title: Re: Images are not presented anymore
Post by: Stramm on August 28, 2006, 07:59:56 PM
looks like a mimetype problem. Please have a look into the filetypes table (phpmyadmin) and tell me what values you see for jpg
Title: Re: Images are not presented anymore
Post by: thetoaster on August 29, 2006, 12:33:27 AM
hi
in my filetypes there is:
JPG    image/jpg    image    
jpeg    image/jpeg    image    
jpe    image/jpe    image    

774 is ok, because owner is wwwrun and group is www which is the apache. this worked till sometimes.
thanks for further help!
Title: Re: Images are not presented anymore
Post by: thetoaster on August 29, 2006, 01:13:09 AM
i just changed from "JPG" to "jpg" and it works again!!
yippee. thanks for the tip.

Is there a reason, why this could happen?
Title: Re: Images are not presented anymore
Post by: Joachim Müller on August 29, 2006, 07:33:31 AM
Linux servers are case sensitive. JPG doesn't equal jpg.
Title: Re: Images are not presented anymore
Post by: thetoaster on August 29, 2006, 10:39:35 AM
I know this, thank you, but I wondered how it could change in the database! I surely didn't do this myself.