i can only see file names of the images ... but images dont show up i can only see file names of the images ... but images dont show up
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

i can only see file names of the images ... but images dont show up

Started by HEki, September 21, 2007, 09:13:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HEki

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

Joachim Müller

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).

HEki

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!

Joachim Müller

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.

Zyama

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?


Sami

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 )
‍I don't answer to PM with support question
Please post your issue to related board

Zyama

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.

Sami

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 )

‍I don't answer to PM with support question
Please post your issue to related board

Zyama

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