Permissions - can see admin pages but not the gallery

Hello

After much hacking/trying I managed to install ZP v1.4.4.3. Though I still get problems with the permissions on the site.

http://www.woollypigs.com (main site that runs wordpress)
http://www.woollypigs.com/galleries (runs Gallery3, but hopefully in the future I will be running ZP)
http://www.woollypigs.com/zen (is where I'm testing out ZP)

When I enter http://www.woollypigs.com/zen I get this "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."

Though if I enter http://www.woollypigs.com/zen/zp-core/ I can see the admin pages just fine. This caused a lot of headache at start since http://www.woollypigs.com/zen/ didn't take me to the install pages right away.

Now the question is which .htaccess do I edit to get ZenPhoto and wordpress to play ball.

I had the same problem with getting gallery3 and wordpress to work together, though I managed after a lot of hacking.

I dare not hack away with the .htacces for ZenPhoto since that is way above my foo stills.

Thanks all

Comments

  • acrylian Administrator, Developer
    What are the permissions? What did setup say? Here is listed what they should be:
    http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders

    If you have Zenphoto in a subfolder there should be no conflict. I just tried Wordpress recognizes that /zen is not a Wordpress page but a real folder (Zenphoto would do as well).

    How did you install? Install helper of your host or manually via FTP? If the first try the second please.
  • I uploaded to my server with FTP, don't have a install helper for Zenphoto on my server.

    I set the permissions according to the page you linked to and followed what the setup asked me to do.
  • acrylian Administrator, Developer
    Ok, could you post what setup tells and some info about your server? I have sadly no idea but maybe my colleague later has.
  • Server is with www.e-noise.com.

    No big warnings from my server log.

    [07/Mar/2013:16:59:25 +0000] "GET /zen/ HTTP/1.1" 200 123 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Ubuntu Chromium/24.0.1312.56 Chrome/24.0.1312.56 Safari/537.17"

    Apache/2
    Software version: 5.5.30-log - MySQL Community Server (GPL)
    Database client version: libmysql - mysqlnd 5.0.8-dev - 20102224 - $Revision: 321634 $
    PHP extension: mysqli

    I have managed to upload, create folders, add tags and add descriptions to photos just fine today. Even change the default theme for the gallery, though I can't see what my photos looks like with zenphoto :)

    What other info do you need and do let me know where I could find it.

    link to the log files...
    http://www.woollypigs.com/temp/setup.txt
    http://www.woollypigs.com/temp/security.txt
    http://www.woollypigs.com/temp/debug.txt

    Thanks a lot.
  • The first bit of information you should know is that the "A file permissions error has occurred" message does not come from Zenphoto.

    So, the possible causes would be:

    1. security settings on the server that do not allow PHP scripts to run with whatever file/folder permissions you have on the "zen" folder or its contents and subfolders.

    2. a rewrite rule conflict with your Wordpress install n(or some other .htaccess file) that is preventing access to the "zen" folder.
  • Ok you pointed me the right way.

    I got chmod 777 on the /zen folder changed it to 755 and it is now working just fine. (Doh! feel a bit dumb now :) ) Why I didn't see that before now!?!

    I know it set the 777 when I was trying to get the setup to run. I was rather confused last night when I was "hacking" away.

    Thanks a lot, now time to upload and test zenphoto out, it does look good and fast already.
Sign In or Register to comment.