By hrpo on
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
have you checked to be sure
have you checked to be sure the permissions on your files/ dir are 775?
how do i check
that?
Depends what kind of access
Depends what kind of access you have and what kind of system it is...details?
well
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?
nope. What access do you
nope. What access do you have to your directories? shell? ftp? is this windows or mac or linux?
ftp
ftp via dreamweaver
ok, so you have ftp. I'm
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.
Looks like you'll have to
Looks like you'll have to get a real ftp client, like filezilla.
and
win xp prof
I meant what OS is the
I meant what OS is the server...
apache
server
So I assume the server is
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.
my server is unix
how do i check file permissions in filezilla?
This should have what you
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...
i have got
permission 755. Does that mean that i have to change it to 775. what does that mean foe my security of my site
not really a problem for
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?
yes
subfolders are 755 and files 644
i change subfolder permission and still not working
Upload a new file in this folder (Upload in progress, please wait...) and i am waiting and waiting
What are the permissions for
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.
thx for your help
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?
permissions
"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!