Animus Programming
Home Scripts Design Contact

Resources
Custom Work
Contact Us
Glossary
Tell a friend
About Us



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

If your question hasn't been answered yet, enter it below and I'd be happy to help you!
Your name:
Your e-mail address:
Please enter a brief description of what you need help with:

Enter a more detailed description of your issue. Remember, the more information you give the more likely you are to receive a prompt and accurate response.
Powered by Animus FAQGen. Download it and other free, easy to install scripts from Animus Programming.



© Copyright 2010 Animus ProgrammingTM. All rights reserved. No part of this web site may be reproduced, copied and/or distributed in any medium without express written permission.