|
|
|
|
Installing the Gallery Script (PHP version) FAQ
Problem with the permissions |
Question: Hi, i have installed the thumbnail gallery script, and everything seems to work. But after uploading a file, i can only see the thumbnail. By clicking on it, the big image does not load (403 Error). However, after changing the chmod for that picture, it works.
Can you help me with this problem? | Answer: In most cases, the script will be able to correctly set the permissions of all files it creates, and this won't be an issue. Occasionally, however, servers will be set up so that the script cannot control a file or directory's permissions, and in this situation problems can arise.
To fix your problem, set the permissions of the "anigllry" directory that the script has created to 755. This is read/write/execute for owner, read/execute for group and others. Note that while this should fix the problem with any new images that you upload, you will have to manually set the permissions of anything in the anigllry directory that was previously uploaded to 755.
Hope that helps!
|
Ask a question |
|
|
|