Pages (5): 1 2 3 4 5   
Member
Member
Light Peak   29-09-2011, 17:07
#1

Hello,

Just to verify before installation, is it possible for me to configure like a public gallery sharing site instead of personal gallery?

For an example like Photobucket, whereby users can register and upload their photos to their own albums and users can share them by providing links to their friends and it'll not be publicly shown on the main page of ZenPhoto?

Also, does this work for bulk upload (eg. using flash and select all then upload, not select one by one and then "bulk upload")?

Administrator
Administrator
acrylian   29-09-2011, 19:19
#2

Yes to all. See the user guide for the rights management article.

Member
Member
Light Peak   30-09-2011, 13:59
#3

alright, how bout if i'd like to run ZenPhoto on full SSL (with no http but https protocol only)?

Administrator
Administrator
acrylian   30-09-2011, 14:28
#4

There is an option for that.

Member
Member
Light Peak   30-09-2011, 15:35
#5

Alright.
So i've renamed "upload" to "gallery" and attempt to install ZP by navigating my browser to my site (http:///gallery as my gateway doesn't support NAT loopback).

But on 2nd step, i encountered many issues:

  1. "Change the filesystem to UTF-8" and upon clicking "apply" the page reloaded but it still remains to ISO-8859-1 and no matter how many times i select UTF-8 and apply, it'll revert back to ISO-8859-1.

Screenshot: https://tmpdmp.com/41671b4696a6d632/b5b916b386fcaebe

  1. For .htaccess, i tried clicking "Make setup create the file" but the same error unknown error occured, which is: the page loads but i get back the same warning that .htaccess is required for mod_rewrite, and no, i don't wanna ignore that because i wanna use mod_rewrite.

  2. Another warning: "Setup could not create a robots.txt file."

P.S. The permission of ZenPhoto folder (gallery) is on 755 permission.
I've tried giving the folder 777 permissions but it's still the same.
I've cms and forums on main my main site, but with its folders and sub-folders 775 permissions and it's working fine.

Screenshot: https://tmpdmp.com/1b4f582cca5dd940/9d464b3f0912b92a

Administrator
Administrator
acrylian   30-09-2011, 15:41
#6
  1. Your server probably does not use utf-8. Ask your provider.
  2. Without the error all is guessing. Probably a permissions issue. Copy the template file manually from within /zp-core
  3. See 2.. But that is really not important as you can easily create your own, the included one is quite strict and just a suggestion.
Member
Member
Light Peak   30-09-2011, 16:04
#7

Hello,
I'm hosting my own server and therefore it's a dedicated server.

I've created a "charset.tést" file as suggested by setup and upon refreshing the page, i get the following error:
"The Zenphoto filesystem character define is ISO‑8859‑1 [which seems wrong]

Screenshot:
https://tmpdmp.com/740741c0ae48f1a6/c8a2f7ab29f68e77

[Cont.] 4. Under "For File/Folder Permissions [are strict(0755)] Notice! click for details",
When I select strict+ (0750) and click apply, the page reloaded but, ""For File/Folder Permissions [are strict(0755)] Notice! click for details" was shown instead of "For File/Folder Permissions [are strict+(0750)] Notice! click for details"

Screenshot:
https://tmpdmp.com/65db881c48b766d3/47af6a1f28926077

after clicking apply:
https://tmpdmp.com/8c0010e28b98469b/3f1839f2a22241a0

Also, for albums, cache, uploaded, zp-data, cache_html, plugins folders, i get similar errors of:

"Error!

Change the permissions on the folder to be writable by the server (chmod 777 zp-data)"

I've tried chmod-ing them to 777 manually via CLI, then I've got the following error:
"albums/cache/uploaded/zp-data/cache_html folder [permission failure]"

"Warning!

Setup could not change the folder permissions from loose (0777) to strict (0755). You will have to set the permissions manually. See the Troubleshooting guide for details on Zenphoto permissions requirements."

So what permissions do i exactly do i have to set since setting manually casues permissions errors eg: "permission failure".

Administrator
Administrator
acrylian   30-09-2011, 16:24
#8
  1. It is no "error" but a warning. As said your filesystem seems not to use UTF-8 but ISO‑8859‑1.
  2. On some servers Zenphoto is not able (=allowed) to change permissions. You need to do that via FTP manually. [i]See the Troubleshooting guide for details on Zenphoto permissions requirements."[/i]
Member
Member
sbillard   30-09-2011, 16:59
#9

Filesystem: Zenphoto does NOT change the filesystem to anything. That is not possible as the filesystem mode is purely defined by the OS. What Zenphoto needs is to know what the file system character set is. The warning you got has instructions on how to aid Zenphoto in discovering that. Or, if you know the answer just set it so.

Quote:Another warning: "Setup could not create a robots.txt file."
It would appear that the server permissions configured do not allow Zenphoto to create files in the root. This would also impact its ability to create the .htaccess file.

From the errors and warnings you are getting it would seem that your server is setup to be overly conservitave with respect to WEB applications ability to do file management. This means that you either have to live with the restrictions or make the needed changes manually.

Member
Member
Light Peak   01-10-2011, 04:07
#10

hello,

But i've changed the permission of ZenPhoto album (in this case: "gallery") to 755 (sudo chmod 755) but i'm still getting the error that ZP doesn't have "permissions" to create robots.txt, or rather, any files/folders.

Administrator
Administrator
acrylian   01-10-2011, 08:10
#11

Then the permissions are not set correctly for the subfolders/files or the server is maybe not configured correctly.

Member
Member
Light Peak   09-10-2011, 08:19
#12

okay, so what are the "correct" permissions for the folders inside "gallery" (ZP folder) or rather, what would be the "optimal" permissions for folders inside ZP folder?

Administrator
Administrator
Member
Member
Light Peak   11-10-2011, 08:06
#15

Okay, i guess I'll have to manually chmod to 755 (750 will result in 403 Forbidden).
After installation, i was prompted to remove setup files. then i clicked "Delete setup files" which lets ZP remove setup files for me.

but when i clicked that, i was given "Deleting files failed!".

So how do i manually remove setup files (by deleting setup.php?)?

Member
Member
Light Peak   11-10-2011, 08:18
#16

Also, I've got another issue in which:
I've browsed to /gallery (eg. 10.10.10.1/gallery) but I was redirected to the setup page.
going to 10.10.10.1/gallery/admin will also direct me to the setup page.

is there any way to fix this?

Administrator
Administrator
acrylian   11-10-2011, 08:39
#17

Setup will run automatically on fresh installs or if you just upgraded. Just complete setup and it is done.

Also you can install Zenphoto only under one domain (use htaccess redirects for use several ones which is also recommended for SEO). So if it is installed on www.domain.com that is actually internally /gallery Zenphoto would consider the direct access as a new different installation.

You remove files manually by removing them manually via FTP as you uploaded them (within zp-core setup.php and a folder named setup).

Member
Member
Light Peak   11-10-2011, 08:52
#18

it's on subdomain (https://gallery.on-sugar.com) but however my ISP's Residential Gateway (RG) which act like a router (even though I have my own infrastructure eg. switches, and firewall, etc) that doesn't allow NAT loopback therefore i had to directly type in the IP address with alias (which in this case: /gallery).

So i've directed my browser to https://10.10.10.10/gallery but i was redirected to setup page. is there a way to solve this?

Also, i've tried removing files manually by deleting setup.php and the entire folder of "setup" but i was thrown a blank page (when using chrome, i was given 500 internal error).

Administrator
Administrator
acrylian   11-10-2011, 10:21
#19

As I already explained above "gallery.on-sugar.com" is not the same url as "10.10.10.10/gallery" (same would be with on-sugar-com/gallery). If you use the latter it is not a subdomain url.

If you use htaccess/modrewrite you need to decide what to use as otherwise Zenphoto does not know the rewrite base (on the first just / on the other /gallery) and tries to change it each time you use one of the urls. So you could try to disable modrewrite on the Zenphoto options.

Member
Member
Light Peak   11-10-2011, 10:35
#20

and how'd i disable modrewrite since i've already activated modrewrite (i've tried deleting .htaccess but i'm redirected to upgrade page)

Pages (5): 1 2 3 4 5   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.