[PLUGIN] File2albummover - Page 4 [PLUGIN] File2albummover - Page 4
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[PLUGIN] File2albummover

Started by ge-flopt, September 22, 2005, 10:42:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vincs

sorry I was thinking that it's not the last version.

lauriesscraps

I tried to install this but when I did, it wiped all my user pics and now there are no image files at all. So I asked my members to reupload there files and now I am trying to go in and delete the blank files but I am getting this error message "Directory 'albums/folder/lauriesscraps/' is not writable, files can't be deleted  " Does anybody know how I can fixx this and get rid of the old imgaes since there are no files linking to them?

Thanks

Lauriesscraps
www.lauriesscraps.com/gallery

lauriesscraps

I tried to install this but when I did, it wiped all my user pics and now there are no image files at all. So I asked my members to reupload their files and now I am trying to go in and delete the blank files but I am getting this error message "Directory 'albums/folder/lauriesscraps/' is not writable, files can't be deleted  " Does anybody know how I can fix this and get rid of the old images since there are no files linking to them?

Thanks

Lauriesscraps
www.lauriesscraps.com/gallery

Joachim Müller

Quote from: lauriesscraps on December 08, 2009, 04:48:04 PMDoes anybody know how I can fixx this
Sure, there's even a section about setting permissions on file system level inside the docs that come with coppermine. I strongly doubt though that this can be caused by the plugin in itself. I guess that the permissions were wrong in the first place. Anyway, instead of asking your users to re-upload you should rather restore your files from a backup.

lauriesscraps

I don't have a back up. That is the problem. I should have, but this is a lesson learned. I have started to back it up now. I know this may be a very silly question, but I am not sure where to set those permissions. I thought I had been all through this program. Can you help me out? Thanks!

Joachim Müller


lauriesscraps

ok, I changed the permissions, but I am still not able to delete the photos. I get the same message. Any other suggestions?

lauriesscraps

Quote from: Joachim Müller on December 08, 2009, 05:10:29 PM
Coppermine documentation -> Setting permissions

I contacted my hosting support and they told me the highest it can go is 755 not 777, so I am at a loss as to what to do now. If it still needs to be set to 777, which folders? And if that doesn't work, which it hasn't so far, what else can I do?

Joachim Müller

Who said that it needs to be set to 777? Read the section I refered to above already extra-carefully: in fact it says quite the opposite of what you claim - on some servers, 777 will be needed, on others 755. Wecan not tell you what is needed on your webserver setup. The most important part of the permissions section in the docs is the one highlighted in red:
Quote from: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissionsIf you can't figure how to set permissions properly, ask your webhost for support.

lauriesscraps

Quote from: Joachim Müller on December 08, 2009, 05:39:27 PM
Who said that it needs to be set to 777? Read the section I refered to above already extra-carefully: in fact it says quite the opposite of what you claim - on some servers, 777 will be needed, on others 755. Wecan not tell you what is needed on your webserver setup. The most important part of the permissions section in the docs is the one highlighted in red:

I have done that and they said the highest it goes is 755. I think I read somewhere else in the forum about setting it to 777, sorry about the mix up. So They were all set to 755 and I was still not able to delete the blank files. I am on a live chat with my hosting service now, but they have no other suggestions as to why I would not be able to delete the files. Sorry for the inconvenience but any help would be great!

phill104

You will need to speak to your host. It sounds like the files have a different ownership than your ftp account.

Lets explain what the 755 is. The first digit, a 7, refers to the owner of the files. The 7 means he can read, write and execure the file. The second digit refers to the group. So any member of the group that file belongs to can read or execute that file. The 5 tells me that they have no write permissions. The third digit, also a 5 refers to people who are not the file owner nor a member of a special group. In the case of a 5, they also can read or execute a file but have no write permissions.

The message you are getting shows that you are not the owner of the files as far as the file system is concerned and therefore you cannot write to them (or delete them).

So you have to ask why? In your case it appears that the files were uploaded by the script. The way your server is setup determines what user owns those files. It is obvious that your ftp account is a different user and has different rights to the files. Only your host can rectify this and they need to look at the way their system is setup or other customers will run into the same problem.
It is a mistake to think you can solve any major problems just with potatoes.

lauriesscraps

From what I am seeing, I can not see a folder like the one it mentions in the error message present at all. As far as I know, and I could be wrong, but there has never nbeen one. They are not being created. Is this why I would be getting those messages?

lauriesscraps

when I right click on a missing image and choose "show image" I get a strange url http://lauriesscraps.com/gallery/albums/folder/NapScrappin/thumb_5_07_09.gif It includes "folder" --where did this come from? Is there a setting I can change--there never has been a folder named "folder" there as far as I know