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")?
Comments
So i've renamed "upload" to "gallery" and attempt to install ZP by navigating my browser to my site (http://<local IP>/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
2. 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.
3. 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
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.
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 <albums, cache, etc> 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".
2. On some servers Zenphoto is not able (=allowed) to change permissions. You need to do that via FTP manually. See the Troubleshooting guide for details on Zenphoto permissions requirements."
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.
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.
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?)?
I've browsed to <internal web address IP>/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?
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 <internalpath>/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).
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).
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.
if it's /gallery/zp-core/setup.php, then it's showing "zenphoto upgrade" instead of administration site as going into <ip>/gallery will redirect me to /gallery/zp-core/setup.php
under Path Overrides?
You can try to use the path overrides especially the full serverpath one as that seems to be your problem. (I never needed to use these anywhere though. )
But still the two urls are different, you should decide which you use.
Bottom line: Things like the document root and the server administrator must be the same no matter how you access the site.
define('WEBPATH', '/gallery');
define('SERVERPATH', '<path>/public_html/gallery');
but i'm still redirected to the upgrade page after logging on as administrator.
but using Chrome, i get the following error:
You are not authorized to access the webpage at https://<int. IP>/gallery/. You may need to sign in.
HTTP Error 403 (Forbidden): The server refused to fulfill the request."
MSIE 9:
HTTP 403 Forbidden
The website declined to show this webpage
HTTP 403
Most likely causes:
•This website requires you to log in.
any idea? i even uploaded nightly build (http://www.zenphoto.org/pages/nightly-builds?download=3890)
but still, i'm getting blank load-out.