New Install - Gallery Doesn't Display

Hello, again. I fear that I might be completely screwed. I installed zenphoto (after much wrangling with our tech guys). The admin section works just fine. I can make albums and add photos. But when I try to view the gallery I get the following screen:

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

Any thoughts would be appreciated.

Comments

  • acrylian Administrator, Developer
    The error you get is if you try to visit a folder on your webspace via the browser directly. That is forbidden and should be that way.

    Probably you have enabled modrewrite but no correct htaccess file or enabled but no modrewrite support on the server. Both we cannot answer.

    In any case you should look into your server error log for other errors.
  • Oh. Well I won't give up quite yet then. The debug.log (which I'm hoping equates to the server error log) says the following:

    {10524:Fri, 14 Mar 2014 08:44:58 GMT}
    NOTICE: Undefined variable: obj in D:\Sites\mysite\htdocs\Galleries\metallography\zp-core\zp-extensions\tiny_mce\plugins\tinyzenpage\zoom.php on line 78
  • OK, so I think I finally understand what's happening. Basically, I -screwed- because there's no modrewrite support on the server. It either needs to be installed or nothing will function, right?
  • acrylian Administrator, Developer
    ZP works without as well but you need to disable the option on the backend. It should not be on if you don't have it but if it is for some reason it will screw things.
  • Could you tell me how I go about doing this? Or what file I should look in?
  • acrylian Administrator, Developer
    Config file: zp-data/zenphoto.cfg.php
    Config template: zp-core/zenphoto.cfg.txt

    Duplicated and rename the 2nd, fill in the credentials and replace the first, re-run setup.
  • Nothing seems to have changed. When I run install, I have these three warnings, though:

    Warn: PHP Sessions [problems with save_save_path]. The configured PHP session path could not be used. Zenphoto has set the path to the zp-data folder.

    Warn: PHP gettext() support [is not present] Localization of Zenphoto requires native PHP gettext() support

    Warn: PHP mbstring package [is not present] Strings generated internally by PHP may not display correctly. (e.g. dates)

    Would any of these cause this problem?
  • acrylian Administrator, Developer
    Well, actually what they tell. Regarding the first please see this recent topic, too:
    http://www.zenphoto.org/support/topic.php?id=933706#post-1332330
    Basically best ask your host.

    The 2nd is important if you intend to use the site in any other language than the native (US) English or in multilingual mode.

    The 3rd is related as it takes care of internal conversions of accented chars, other special chars or even non LAtin characters (Asian or Arabian ones for example).

    These are also related to the display of dates. Some date formats use the month or day names. These are generated from PHP internally for various languages and won't work correctly. too.

    If you don't need that it is no issue for you. (Warnings, not errors ;-))
Sign In or Register to comment.