Member
Member
VioletStarr   14-03-2014, 14:29
#1

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.

Administrator
Administrator
acrylian   14-03-2014, 14:40
#2

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.

Member
Member
VioletStarr   14-03-2014, 14:48
#3

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

Member
Member
VioletStarr   14-03-2014, 15:28
#4

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?

Administrator
Administrator
acrylian   14-03-2014, 17:07
#5

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.

Member
Member
VioletStarr   14-03-2014, 17:33
#6

Could you tell me how I go about doing this? Or what file I should look in?

Administrator
Administrator
acrylian   14-03-2014, 17:55
#7

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.

Member
Member
VioletStarr   14-03-2014, 19:36
#8

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?

Administrator
Administrator
acrylian   14-03-2014, 19:45
#9

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 ;-))

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.