-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to update your /.htaccess file automatically. #641
Comments
@BreursICT Could you show us a copy of your |
Ensures that we only add/remove from the htaccess file when there's an option enabled that has associated htaccess rules, or when the htaccess file contains rules that should be removed because we've disabled all options that require htaccess rules. See wpsharks/comet-cache#641
After some research, I discovered a few issues with the htaccess utilities in ZenCache Pro v151220:
As a result of all this unnecessary work, I believe we're increasing the chances that the site owner might see an error message when the error message isn't even applicable (i.e., ZenCache has no reason to add/remove anything from the htaccess file). I've submitted a PR (wpsharks/comet-cache-pro#204) that resolves these issues. |
Also reported here (internal ticket): https://websharks.zendesk.com/agent/tickets/10212 |
Hi Raam, Thank you for your support! So If I understand correct the error messages are not applicable, and for now I can just ignore them. With kind regards, Wesley de Graaf Email: mailto:wesley@breursict.com wesley@breursict.com Website: http://www.breursict.com http://www.breursict.com BreursICT | Kvk 63788004 | Bunschoten | Nederland Van: Raam Dev [mailto:notifications@github.com] Also reported here (internal ticket): https://websharks.zendesk.com/agent/tickets/10212 — |
@BreursICT That is correct. If you don't have Static CDN Filters enabled (ZenCache → Plugin Options → Static CDN Filters), then any messages about being unable to write to the |
Next Pro Release Changelog:
|
ZenCache Pro v160103 has been released and includes changes from this GitHub Issue. See the v160103 announcement for further details. This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#641). |
When i try to safe the settings i get the following error "Failed to update your /.htaccess file automatically. Most likely a permissions error. Please make sure it has permissions 644 or higher (perhaps 666). Once you've done this, please try saving the ZenCache options again."
I allready checked my htaccess but nothing strange. Also checked the permissions on the htaccess file but that fine aswell.
Do you have any suggestion ?
The text was updated successfully, but these errors were encountered: