Skip to content
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

2 issues on cPanel based hosting #7056

Closed
respencer opened this issue May 26, 2024 · 5 comments · Fixed by #7059
Closed

2 issues on cPanel based hosting #7056

respencer opened this issue May 26, 2024 · 5 comments · Fixed by #7059
Assignees
Labels

Comments

@respencer
Copy link
Contributor

image

I have a similar issue but with version 5.8.0
It detects two problems at initial run:

  1. ChurchCRM File Integrity Check
  2. Mod Rewrite or Equivalent
    My host is hostpinnacle.co.ke and I am using cPanel
    I have tried to ignore the errors as someone here suggested but then it just gives me a blank page.
    Can someone help?
    Thank you.

Originally posted by @Sans-cod in #1871 (comment)

@respencer
Copy link
Contributor Author

@Sans-cod:

  1. That is because cPanel modifies .htaccess, and unfortunately ChurchCRM is currently coded to flag such changes.
  2. On some cPanel setups the combination of Apache and PHP circumvents all the current mod_rewrite checks.

Both of these tests are false flags in this case.

I have the same issue on my hosting, and I had to switch off the integrity test.

The blank page is a separate issue. Is there anything in your log files?

@respencer respencer self-assigned this May 26, 2024
@respencer respencer added the bug label May 26, 2024
@Sans-cod
Copy link

@respencer, there is nothing in my log files. Is there any fix for this issue that you can suggest?

@respencer
Copy link
Contributor Author

Not right now. I'll prioritize the issues we have in common, and then we can see if the other one still pops up for you.

respencer added a commit to respencer/ChurchCRM that referenced this issue May 28, 2024
respencer added a commit to respencer/ChurchCRM that referenced this issue Jun 12, 2024
respencer added a commit to respencer/ChurchCRM that referenced this issue Jun 12, 2024
respencer added a commit to respencer/ChurchCRM that referenced this issue Jun 12, 2024
DAcodedBEAT added a commit that referenced this issue Jun 12, 2024
# Description & Issue number it closes 
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. -->

- Fix mod_rewrite detection on shared hosting
- Fix formatting of `apache_get_modules` notice
- Make said notice easier to translate
- Add more gettext fields
- Clean up
- Attempt to exclude `.htaccess` from change validation (it frequently
needs to be changed on shared hosting)

Resolves #7056

## Screenshots (if appropriate)
<!-- Before and after --> 

## How to test the changes?

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

<!-- Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce. Please also list any relevant
details for your test configuration -->

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
@Sans-cod
Copy link

Sans-cod commented Jun 13, 2024 via email

@respencer
Copy link
Contributor Author

The changes will only go out with our next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants