![]() |
|
Mod_Rewrite check, Setting theme default options, and Plugin setup. - 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: Mod_Rewrite check, Setting theme default options, and Plugin setup. (/thread-13596.html) |
Mod_Rewrite check, Setting theme default options, and Plugin setup. - cjm51213 - 2021-06-15 Hi Folks, I've just installed 1.5.8 and I have three problem on the final page of "Run Setup". All of these problems are indicated with the red "X" highlighting each element of their respective categories; Mod-Rewrite, Theme Default Options, and Plugin setup. I suspect that they are related to the messages in "debug.log":
These following errors might be related, but I can't tell. First: This doesn't tell me much about what is wrong or how to fix it. Second: I have four themes, "basic", "garland", "zenpage", and "zpmobile" and they all appear with the red "X" in a list. I don't know what is wrong, so I'm hard pressed to fix it. Third: This is a very long list of 84 elements (See the addendum) and they all appear with the red "X" in a list. I don't know what is wrong, so I'm hard pressed to fix it. Thanks for the help, Chris. ADDENDUM: Plugins with red "X" admin-approval Mod_Rewrite check, Setting theme default options, and Plugin setup. - acrylian - 2021-06-16
2/3) The red X probably indicates file/folder permission issues. Somehow your upload messed these up, either they are set to strict for the server to work with (you have to try the level as each sever is different) or they have the wrong owner. This also may be related to the missing config file if it is present within zp-data. (You didn't tell if this was an upgrade or fresh install). Please see: https://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/ Mod_Rewrite check, Setting theme default options, and Plugin setup. - cjm51213 - 2021-06-18 Hi Acrylian, I think I have determined that all three symptoms are the result of failing the cURL test. I notice that setup::defaultOptionsRequest() switches on three cases: Mod-Rewrite, Themes, and Plugins -- exactly the three categories I have above. Ultimately, I suspect that curlRequest is failing, but the log entry doesn't give me much to go on. debug.log gives me 90 entries of:
... which turns out to be 1 + 4 + 85 = 90. Can you explain a bit about this to me so I can understand what I see in the code? Maybe a code fragment that I can execute on my server to see what is happening? Thanks for the help, Chris. Mod_Rewrite check, Setting theme default options, and Plugin setup. - acrylian - 2021-06-18 There should be an actual curl error message as well. No idea why that is missing. DId setup report that cURL is available? The curl check is done using the method So far I have not encounter any issue with is on several hosts I upgrade sites to 1.5.8. I would still assume permission issues as these lead to all sorts of these issues. Mod_Rewrite check, Setting theme default options, and Plugin setup. - cjm51213 - 2021-06-19 Hi Acrylian, Well, it turns out that you were half-right. It was permissions, but not filesystem permissions; it was selinux -- httpd_can_network_connect. I don't know how that escaped me! Here I was digging around in code, where I had no business being, and the /var/log/message log told me explicitly what I needed to fix, and I spent a lot of time there! I wanted to post a picture of the final page with all green dots. I find no way to post images to the forum, but you've seen that page hundreds of times, so it is not such a rewarding image to you as it is to me. I still have a few items from the first page of "setup" which rightly belong in the other thread. Good job; well done. Give yourself a raise. Thanks for the help, Chris. Mod_Rewrite check, Setting theme default options, and Plugin setup. - acrylian - 2021-06-19 Great you figured it out! That's why we often say "sadly not every server behaves the same". Not easy to find instantly. Regarding images on the forum: Uploading is indeed disabled for several reasons. Please link to external sources instead. |