coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: akko on October 14, 2011, 03:16:05 PM

Title: can't delete picture
Post by: akko on October 14, 2011, 03:16:05 PM
When I try to delete a picture I get an error saying:
'directory is not writable, file can't be deleted'

How can I delete a picture?

I refer to this topic which seems the same problem, but there is no answer.
http://forum.coppermine-gallery.net/index.php/topic,67245.msg334135.html#msg334135
Title: Re: can't delete picture
Post by: Αndré on October 17, 2011, 10:56:45 AM
Quote from: akko on October 14, 2011, 03:16:05 PM
directory is not writable
You have to set the permissions of that directory on file system level correctly. Usually you can do this with your FTP client application or via SSH.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 10:36:56 AM
permission for directory is 0777
permission for files is 0666
Isn't that correct?
Title: Re: can't delete picture
Post by: Αndré on October 19, 2011, 11:45:20 AM
Should be correct. Please post a link to your gallery, enable debug mode for all and also post a test user account which can upload pictures, so we can perform some tests.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 01:16:53 PM
debug is now on
login
testaccount
pass
tester
http://hanzenet.nl/mediabank/index.php
Title: Re: can't delete picture
Post by: Αndré on October 19, 2011, 01:39:22 PM
Please disable your Apache access restriction or disable it temporary.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 01:52:40 PM
where can I do that?
Title: Re: can't delete picture
Post by: Αndré on October 19, 2011, 02:02:08 PM
Quote from: Αndré on October 19, 2011, 01:39:22 PM
Please disable your Apache access restriction or disable it temporary.
Of course I meant:
QuotePlease disable your Apache access restriction temporary or post a valid user account

Either you can do that in some kind of control panel or directly in your .htaccess file.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 02:16:05 PM
Sorry I don't have the rights for that.
The testeraccount works here. What do I need to do to make it valid for you?
Title: Re: can't delete picture
Post by: Αndré on October 19, 2011, 02:33:46 PM
It doesn't work for the attached login prompt.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 03:20:21 PM
try [removed by request]
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 03:21:41 PM
is there a way to hide this discussion?
don't want others to see all the accounts
Title: Re: can't delete picture
Post by: Αndré on October 19, 2011, 03:25:53 PM
They don't work anyway. But if you want me to delete them, I'll remove the account data from your posts.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 03:28:34 PM
yes if you want to do that, please.
is there another way to see what might be the problem?
Title: Re: can't delete picture
Post by: Αndré on October 19, 2011, 03:39:21 PM
No.
Title: Re: can't delete picture
Post by: akko on October 19, 2011, 04:09:48 PM
do you need information from the phpinfo?
Title: Re: can't delete picture
Post by: Αndré on October 20, 2011, 10:28:06 AM
No, I need a working test account.