coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: HEki on September 21, 2007, 09:13:23 AM

Title: i can only see file names of the images ... but images dont show up
Post by: HEki on September 21, 2007, 09:13:23 AM
Hi,
i am sorry if this was asked but i am kind in a hurry ... Couse this is for my father and not for me and he is getting tired ...
http://darjan.soft-base.info/

here is the link to a gallery. As you can see images dont show up. Only the file names do. And if i want to access to an image inside of a directory albums i get 403 Permission Denied
You do not have permission for this request /albums/userpics/DSC01894.jpg

can u guys help me out please?

best regards,
heki
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Joachim Müller on September 21, 2007, 09:56:20 AM
403 forbidden means that there's something wrong with permissions on folder/file level or improper hotlink protection (search for a .htaccess file). Both things are not setup using Coppermine, however there is a huge section in the Coppermine documentation that deals with permissions on folder/file level and there are many threads on the board that explain .htaccess file issues (search the board).
Title: Re: i can only see file names of the images ... but images dont show up
Post by: HEki on September 21, 2007, 11:02:05 AM
em i dont have .htaccess file in my directory ... should i put it there? couse i am running copp gallery on same server for a friend and it is working without a problem ... i have .htaccess file there, but it is in root directory (root directory called friend and in this friend directory i have directory called gallery).

thx for quick reply!
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Joachim Müller on September 21, 2007, 11:12:02 AM
Quote from: HEki on September 21, 2007, 11:02:05 AM
should i put it there?
No
Quote from: HEki on September 21, 2007, 11:02:05 AMi have .htaccess file there, but it is in root directory (root directory called friend and in this friend directory i have directory called gallery).
Then review that file!

Ask your webhost for support if you can't figure out on your own.
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Zyama on September 23, 2007, 09:19:50 PM
I have got the same problem, original images show, but normal_image.jpg and thumb_image.jpg do not show. When i try to access them directly, browser returns with 403 Error. In albums/userpics/10001 folder chmod for original image 660, normal_image.jpg and thumb_image.jpg - 644.

Tried to change chmod of images up to 777 in settings panel - same problem :(

Do You have any opinion?
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Zyama on September 23, 2007, 10:16:31 PM
urls:

Thumbnail: http://www.dolalay.com/gallery/albums/userpics/10001/thumb_deavgay.jpg CHMOD 644

Norman: http://www.dolalay.com/gallery/albums/userpics/10001/normal_deavgay.jpg CHMOD 644

Original: http://www.dolalay.com/gallery/albums/userpics/10001/deavgay.jpg CHMOD 660
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Sami on September 23, 2007, 11:07:44 PM
if you can't CHMOD those files then it means you're not the OWNER of files, ask your host for support
BTW 644 is okay it means everybody can read your files ! and 660 means public can't read so I think you're wrong about permission it should be reverse (Thumb & Norm are 660 and Orig is 644 this will make sense )
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Zyama on September 24, 2007, 03:59:16 AM
I can chmod all files, but it does not help. I tried to view files with all chmods from 644 up to 777, but no result :(

Now thumb, norm and original files have 660 chmod, but only original one can be viewed. That is the problem.
Title: Re: i can only see file names of the images ... but images dont show up
Post by: Sami on September 24, 2007, 06:34:47 AM
It seems your sever gives 403 forbidden even when files is not there
try this :
http://www.dolalay.com/gallery/albums/userpics/10001/blahblah.jpg

Did you check the server for .htaccess ?
check your web root,gallery root,albums folder , ....(all parent of 10001 folder )

Title: Re: i can only see file names of the images ... but images dont show up
Post by: Zyama on September 24, 2007, 01:04:47 PM
It gives forbidden only for folders inside userpics. For example folders userpics and albums do not give error. I can not understand, there are no forbidding .htaccess files on server, only one wordpress standart

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


http://www.dolalay.com/gallery/albums/userpics/ - no error
http://www.dolalay.com/gallery/albums/userpics/10015/ - 403 error, but chmod of this folder 755