hello

i have problems with uploading files (drupal v. 4.6). I read some questions on forum but solutions are beyond my reach. Well, i have a simple question. I wanted to upload a logo for my site and upload some pictures. It doesn't work. I looks drupal uploaded it, but nothing is there. I wanted to upload it also via page (i use fck editor). It doesnt't work. But if you look under edit it is there but whwn you want to look at it it says: You don't have permission to access /files/Slikovno gradivo/sege.thumbnail.jpg on this server.

i cant figure out what is the problem... please help... thanx...

Comments

anner’s picture

have you checked to be sure the permissions on your files/ dir are 775?

hrpo’s picture

that?

anner’s picture

Depends what kind of access you have and what kind of system it is...details?

hrpo’s picture

drupal 4.7.2, MySQL 3.23.57 (phpMyAdmin 2.6.1), i'm admin (full access i hope), i'm using drupal 4.6. Is that what you need to know?

anner’s picture

nope. What access do you have to your directories? shell? ftp? is this windows or mac or linux?

hrpo’s picture

ftp via dreamweaver

anner’s picture

ok, so you have ftp. I'm not familiar enough with dreamweaver to tell you how to check permissions in it's ftp client. Let me look around some. You, of course, probably want to google it too. You will want to look for how to check folder permission in dreamweaver's ftp. Or you'll want to download a better ftp tool that will show you folder permissions.

anner’s picture

Looks like you'll have to get a real ftp client, like filezilla.

hrpo’s picture

win xp prof

anner’s picture

I meant what OS is the server...

hrpo’s picture

server

anner’s picture

So I assume the server is Linux or unix? It just makes a difference sometimes to how they display the permissions. You should download filezilla. It will allow you to see and change the permissions on your files & folders.

hrpo’s picture

how do i check file permissions in filezilla?

anner’s picture

This should have what you need. You'll want to check your permissions for your files directory and the folders/files under that:
http://www.interspire.com/content/articles/12/1/FTP-and-Understanding-Fi...

hrpo’s picture

permission 755. Does that mean that i have to change it to 775. what does that mean foe my security of my site

anner’s picture

not really a problem for security. You want everything in this directory to be accessible. That's the point. You could probably even set it to 777 without too much issue. Are all the subfolders 755 or 775 and are all the files at least 644?

hrpo’s picture

subfolders are 755 and files 644

hrpo’s picture

Upload a new file in this folder (Upload in progress, please wait...) and i am waiting and waiting

anner’s picture

What are the permissions for drupal's main directory? Do you have any access to the apache error logs. perhaps they could give you more details.

hrpo’s picture

I had enough and i deleted my page and made a new one with 4.7 and everything i working so far perfecrtly. Thx foe you help... oh, maybe not everything is working ok. i installed tinymce. it is working ok, but again i have troubles with posting pictures. i can post them as images but in tinymce i can't. how to choose picture from your disk. it says only url picture?

hrpo’s picture

"The directory files/images is not writable, because it does not have the correct permissions set." But my permissions are set to 777.

It also does this:
Warning: fopen(/home/xxx/domains/xxx.org/public_html/galerija/albums/xxx/photos.dat.lock): failed to open stream: Permission denied in /home/xxx/domains/xxx.org/public_html/galerija/platform/fs_unix.php on line 66
Error: Could not open lock file (/home/xxx/domains/xxx.org/public_html/galerija/albums/xxx/photos.dat.lock) for writing!