![]() |
|
Installation mysteries - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Installation mysteries (/thread-12494.html) |
Installation mysteries - cjm51213 - 2016-04-12 Hi Folks, I have just installed Zenphoto version 1.4.12 [c1d7e8900b] (Official build). I have at least one mystery. phpinfo() reports: Loaded Modules ... mod_rewrite and srvr-info reports likewise, however, ZenPhoto under Options > General "Setup did not detect a working mod_rewrite facility." How do I diagnose this? Thanks for the help, Chris. Installation mysteries - fretzl - 2016-04-13 Check if a `.htaccess` file is present in the root of your installation. If so, delete it and run setup. Setup will ask if you want a `.htaccess` file to be created. Installation mysteries - cjm51213 - 2016-04-14 Hi Fretzl, I followed your instructions. I discovered and removed .htaccess. I browsed to http://zen.tryx.org/zp-core/setup.php and the page displays: Quote:Click to restore the setup scripts and run setup.If I click this link, nothing happens. I'm stuck... Thanks for the help, Chris. Installation mysteries - cjm51213 - 2016-04-14 Hi Fretzl, I noticed that the files is .../setup had been renamed to *.xxx and when I removed that superfluous extension, everything worked correctly. Thanks for the help, Chris. Installation mysteries - cjm51213 - 2016-04-14 Hi Fretzl, Spoke too soon... Quote:About to update tables...gives me a red circle with an embedded "X". It might be helpful to know that my server is running SELinux, so I have to set context appropriately to pass R/W setup checks, but .htaccess was produced successfully. Something else is happening. Thanks for the help, Chris. Installation mysteries - acrylian - 2016-04-14 Sorry I have no idea why the mod_rewrite check may fail on your server. I have no experience with server configuration itself. If you didn't setup the server yourself maybe ask your host/server admin. Maybe he can tell more. [i]I noticed that the files is .../setup had been renamed to *.xxx and when I [/i] Yes, that is correct, that is protection of the setup files. Please see also: http://www.zenphoto.org/news/installation-and-upgrading/#re-running-and-re-uploading-setup-files Installation mysteries - cjm51213 - 2016-04-15 Hi Acrylian, I also have no idea why mod-rewrite check fails. I set up the server, and I am reasonably knowledgeable. I have tried dropping SELinux, and that has had no effect, meaning I still have an indication that mod_rewrite is not passing some test. Are there logs that might explain this? Thanks for the help, Chris. Installation mysteries - acrylian - 2016-04-16 Sorry, I have no idea. Using ZP on several different shared hosts and it was always reliable so far for me at least. Generally the check in setup tries to get a page by a rewritten url. If that fails it assumes mod rewrite is not available. Is your server running Apache with SELinux at all? Did you try `print_r(apache_get_modules())` if mod_rewrite is properly installed? On Nginx for example the check will always fail it does not use htaccess. Installation mysteries - cjm51213 - 2016-04-20 Hi Acrylian, > Is your server running Apache with SELinux at all? Yes. I have dropped SELinux and run setup to see if SELinux was the problem, but I have no change in behavior, meaning ZenPhoto still reports lack of working mod_rewrite facility. > "Did you try print_r(apache_get_modules()) if mod_rewrite is properly installed?" No. I used the native apache facility, mod_info, which indicated that mod_rewrite was configured. Thanks for the help, Chris. Installation mysteries - fretzl - 2016-04-21 Are the permissions for the .htaccess file correct? Maybe try different permissions. Installation mysteries - cjm51213 - 2016-04-28 Hi Fretzl, I think file permissions are correct: # ls .htaccess -lZ -r--r--r--. apache apache system_u:object_r:httpd_sys_rw_content_t 0 .htaccessThanks for the help, Chris. |